Skip to content

Startup delay with proxy #338

Open
Open

Description

@stardast

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!

Activity

  1. stardast commented on May 31, 2023

    @stardast
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions