open-webrtc-toolkit / owt-server

General server (streaming/conference/transcoding/anayltics) for OWT. (A.k.a. MediaServer)
https://01.org/open-webrtc-toolkit
Apache License 2.0
1.13k stars 369 forks source link

为何stunserver设置没有生效 #655

Open richard1219 opened 3 years ago

richard1219 commented 3 years ago

webrtc_agent/agent.toml:

stunport = 19302 #default: 0 stunserver = "stun.l.google.com" #default: ""

为何answer sdp candidate里没有srflx?

beijing-penguin commented 3 years ago

I think client need the same config and make true use stun to connection.

richard1219 commented 3 years ago

I think client need the same config and make true use stun to connection.

no, it should be configured @ server side

richard1219 commented 3 years ago

webrtc_agent/agent.toml:

stunport = 19302 #default: 0 stunserver = "stun.l.google.com" #default: ""

为何answer sdp candidate里没有srflx?

srflx是个很重要的candidate, 这个没有实现是不完整的

taste1981 commented 3 years ago

You need to make sure server can actually connect to this stun server, otherwise srflx candidates will not be gathered by MCU.