Skip to content

WebRTC: WebRTC over TCP directly, not TURN, TCP transmission (non-TURN) #2852

Closed
@winlinvip

Description

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.

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:

image

Wireshark: Filter by tcp.stream eq 7 webrtc-tcp.pcapng.zip

The whole capture by ip host 39.100.155.146

TRANS_BY_GPT3

Metadata

Labels

EnhancementImprovement or enhancement.FeatureIt's a new feature.KubernetesFor K8s, Prometheus, APM and Grafana.TransByAITranslated by AI/GPT.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions