Skip to content

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

@winlinvip

Description

@winlinvip
Member

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

Activity

added this to the 5.0 milestone on Jan 6, 2022
added
EnhancementImprovement or enhancement.
FeatureIt's a new feature.
WebRTCWebRTC, RTC2RTMP or RTMP2RTC.
on Jan 6, 2022
xianchuhan

xianchuhan commented on Jan 9, 2022

@xianchuhan

This is essentially ice supporting TCP, which Janus also supports. I encountered this at my previous company, where some clients had strict restrictions on UDP in their networks and only allowed TCP by default.

TRANS_BY_GPT3

changed the title [-]WebRTC: 支持TCP直连的方式,非TURN而是TCP直连[/-] [+]WebRTC: WebRTC over TCP directly, not TURN, 支持TCP直连的方式,非TURN而是TCP直连[/+] on Sep 2, 2022
changed the title [-]WebRTC: WebRTC over TCP directly, not TURN, 支持TCP直连的方式,非TURN而是TCP直连[/-] [+]WebRTC: WebRTC over TCP directly, not TURN, 支持TCP直连的方式(非TURN)[/+] on Sep 2, 2022
changed the title [-]WebRTC: WebRTC over TCP directly, not TURN, 支持TCP直连的方式(非TURN)[/-] [+]WebRTC: WebRTC over TCP directly, not TURN, TCP直连传输(非TURN)[/+] on Sep 2, 2022
changed the title [-]WebRTC: WebRTC over TCP directly, not TURN, TCP直连传输(非TURN)[/-] [+]WebRTC: WebRTC over TCP directly, not TURN, TCP传输(非TURN)[/+] on Sep 2, 2022

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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

Relationships

None yet

    Development

    Participants

    @winlinvip@xialixin@lipeng19811218@xianchuhan

    Issue actions

      WebRTC: WebRTC over TCP directly, not TURN, TCP transmission (non-TURN) · Issue #2852 · ossrs/srs