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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue