mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support gb28181 sip over udp, ps steam over rtp
This commit is contained in:
parent
d6e11706ec
commit
cbe9c1dabc
14 changed files with 2771 additions and 5 deletions
|
@ -69,6 +69,8 @@ enum SrsListenerType
|
|||
SrsListenerRtsp = 4,
|
||||
// TCP stream, FLV stream over HTTP.
|
||||
SrsListenerFlv = 5,
|
||||
// UDP stream, gb28181 stream
|
||||
SrsListenerGb28181 = 6,
|
||||
};
|
||||
|
||||
// A common tcp listener, for RTMP/HTTP server.
|
||||
|
@ -156,6 +158,14 @@ public:
|
|||
virtual ~SrsUdpCasterListener();
|
||||
};
|
||||
|
||||
// A UDP sip listener, for sip server.
|
||||
class SrsGb28181Listener : public SrsUdpStreamListener
|
||||
{
|
||||
public:
|
||||
SrsGb28181Listener(SrsServer* svr, SrsListenerType t, SrsConfDirective* c);
|
||||
virtual ~SrsGb28181Listener();
|
||||
};
|
||||
|
||||
// Convert signal to io,
|
||||
// @see: st-1.9/docs/notes.html
|
||||
class SrsSignalManager : public ISrsCoroutineHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue