Skip to content

WebRTC: Support listen at multiple UDP ports. #2848

@winlinvip

Description

@winlinvip

Sometimes UDP8000 is not accessible, so supporting multiple UDP ports would be more appropriate.

IP:

  1. Internal IP
  2. API's IP
  3. Configuring CANDIDATE

Ports:

  1. 8000
  2. 180000

Protocols:

  1. UDP
  2. TCP

This way, there will be 6 candidates, and the connectivity will be excellent.

Choose one of the two protocols, UDP or TCP, to avoid priority routing and switching issues; mainly use TCP when UDP is completely unusable.

PS: There is also a TURN/TCP method, which actually uses TURN to convert TCP to UDP, without requiring additional work from the server. However, it requires users to deploy a TURN server separately, making it very inconvenient to use.

Metadata

Metadata

Labels

EnglishNativeThis issue is conveyed exclusively in English.EnhancementImprovement or enhancement.FeatureIt's a new feature.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions