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

@ -2236,6 +2236,11 @@ SrsRtcUdpNetwork* SrsRtcConnection::udp()
return networks_->udp();
}
SrsRtcTcpNetwork* SrsRtcConnection::tcp()
{
return networks_->tcp();
}
srs_error_t SrsRtcConnection::send_rtcp(char *data, int nb_data)
{
srs_error_t err = srs_success;