WebRTC: WebRTC over TCP directly, not TURN, TCP transmission (non-TURN) #2852
Closed
Description
RFC
- SDP and ICE: TCP Candidates with Interactive Connectivity Establishment (ICE)
- RTP over TCP: Framing RTP and RTCP Packets over Connection-Oriented Transport
Usage
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.
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
The whole capture by
ip host 39.100.155.146
TRANS_BY_GPT3