-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
WebRTC: Support listen at multiple UDP ports. #2848
Copy link
Copy link
Closed
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.EnhancementImprovement or enhancement.Improvement or enhancement.FeatureIt's a new feature.It's a new feature.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.WebRTC, RTC2RTMP or RTMP2RTC.
Milestone
Metadata
Metadata
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.EnhancementImprovement or enhancement.Improvement or enhancement.FeatureIt's a new feature.It's a new feature.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.WebRTC, RTC2RTMP or RTMP2RTC.
Sometimes UDP8000 is not accessible, so supporting multiple UDP ports would be more appropriate.
IP:
Ports:
Protocols:
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.