mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
WebRTC: Support TCP network.
This commit is contained in:
parent
625069af7f
commit
07339e1417
5 changed files with 565 additions and 4 deletions
|
@ -55,6 +55,7 @@ class SrsEphemeralDelta;
|
|||
class SrsRtcNetworks;
|
||||
class SrsRtcUdpNetwork;
|
||||
class ISrsRtcNetwork;
|
||||
class SrsRtcTcpNetwork;
|
||||
|
||||
const uint8_t kSR = 200;
|
||||
const uint8_t kRR = 201;
|
||||
|
@ -518,6 +519,7 @@ public:
|
|||
void alive();
|
||||
public:
|
||||
SrsRtcUdpNetwork* udp();
|
||||
SrsRtcTcpNetwork* tcp();
|
||||
public:
|
||||
// send rtcp
|
||||
srs_error_t send_rtcp(char *data, int nb_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue