mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #250, use udp packet handler.
This commit is contained in:
parent
35ab0ea627
commit
a384cc400a
3 changed files with 35 additions and 32 deletions
|
@ -45,9 +45,7 @@ class SrsIngester;
|
|||
class SrsHttpHeartbeat;
|
||||
class SrsKbps;
|
||||
class SrsConfDirective;
|
||||
#ifdef SRS_AUTO_STREAM_CASTER
|
||||
class SrsMpegtsOverUdp;
|
||||
#endif
|
||||
class ISrsUdpHandler;
|
||||
|
||||
// listener type for server to identify the connection,
|
||||
// that is, use different type to process the connection.
|
||||
|
@ -96,7 +94,7 @@ class SrsUdpListener : public SrsListener
|
|||
private:
|
||||
char* buf;
|
||||
int nb_buf;
|
||||
SrsMpegtsOverUdp* caster;
|
||||
ISrsUdpHandler* caster;
|
||||
public:
|
||||
SrsUdpListener(SrsServer* server, SrsListenerType type, SrsConfDirective* c);
|
||||
virtual ~SrsUdpListener();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue