## RFC * SDP and ICE: [TCP Candidates with Interactive Connectivity Establishment (ICE)](https://www.rfc-editor.org/rfc/rfc6544) * RTP over TCP: [Framing RTP and RTCP Packets over Connection-Oriented Transport](https://www.rfc-editor.org/rfc/rfc4571) ## Usage Please see [doc](https://ossrs.io/lts/en-us/docs/v5/doc/webrtc#webrtc-over-tcp) or [中文文档](https://ossrs.net/lts/zh-cn/docs/v5/doc/webrtc#webrtc-over-tcp). ## Example Thank you @xialixin. H5 also supports direct TCP connection. SDP Offer: [offer.txt](https://github.com/ossrs/srs/files/7820005/offer.txt), SDP Answer: [answer.txt](https://github.com/ossrs/srs/files/7820008/answer.txt) Here is the additional SDP for UDP: [udp-answer.txt](https://github.com/ossrs/srs/files/9481460/udp-answer.txt) [udp-offer.txt](https://github.com/ossrs/srs/files/9481461/udp-offer.txt). The difference lies in the Answer. ``` a=candidate:0 1 udp 2130706431 192.168.3.82 8000 typ host generation 0 a=candidate:2 1 TCP 2124414975 10.0.1.1 8998 typ host tcptype passive a=candidate:tcpcandidate 1 tcp 1076302079 39.100.155.146 40390 typ host tcptype passive ``` ICE screenshot:  > Wireshark: Filter by `tcp.stream eq 7` [webrtc-tcp.pcapng.zip](https://github.com/ossrs/srs/files/7819997/webrtc-tcp.pcapng.zip) > The whole capture by `ip host 39.100.155.146` `TRANS_BY_GPT3`
RFC
Usage
Please see doc or 中文文档.
Example
Thank you @xialixin. H5 also supports direct TCP connection. SDP Offer: offer.txt, SDP Answer: answer.txt
Here is the additional SDP for UDP: udp-answer.txt udp-offer.txt. The difference lies in the Answer.
ICE screenshot:
TRANS_BY_GPT3