RTSPtoWeb
RTSPtoWeb copied to clipboard
Startup delay with proxy
The stream starts with a 5 second delay when the PC running RTSPtoWeb is connected to a network with a proxy. When the PC is connected without a proxy, the video starts immediately. How can I eliminate the 5 second delay?
Thanks!
I found the problem, it depends on this line of code: https://github.com/deepch/vdk/blob/5a989a5c40319489e063ee61afb58aac8ec5da03/format/webrtcv3/adapter.go#L70 Even if in the configuration file I set an empty ice_servers array the google server is still used. I removed the else branch and the lag is gone.
This issue was also reported here: https://github.com/deepch/vdk/issues/81