1
0
Fork 0
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:
Li Peng 2022-09-04 20:19:01 +08:00 committed by winlin
parent 625069af7f
commit 07339e1417
5 changed files with 565 additions and 4 deletions

View file

@ -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);