RTSPtoWeb icon indicating copy to clipboard operation
RTSPtoWeb copied to clipboard

Startup delay with proxy

Open stardast opened this issue 1 year ago • 1 comments

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!

stardast avatar May 30 '23 22:05 stardast

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

stardast avatar May 31 '23 20:05 stardast