Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup delay with proxy #338

Open
stardast opened this issue May 30, 2023 · 1 comment
Open

Startup delay with proxy #338

stardast opened this issue May 30, 2023 · 1 comment

Comments

@stardast
Copy link

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
Copy link
Author

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:
deepch/vdk#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant