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

Not work when there is no Internet access - Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': #182

Open
mateok0 opened this issue Jul 22, 2022 · 3 comments

Comments

@mateok0
Copy link

mateok0 commented Jul 22, 2022

Hello,

I have a problem - the library works fine when there is Internet access. However, when this access is not available (i.e. there is no physical connection to the Internet, but the cameras are available via IP), it throws an error in the browser:
Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. Expect line: v=
Url: http://nnn:8083/stream/receiver/nn then it returns nothing and throws an error. How can this problem be fixed to make the library work even when the Internet is offline?

@Cacsjep
Copy link

Cacsjep commented Aug 26, 2022

Did u try to remove the ICE Servers from config File and js file?

@sasanqc
Copy link

sasanqc commented May 13, 2023

removing the ice servers from config file did not solve the problem

@MI-Class
Copy link

Modify line 212 of a file deepch/vdk/format/webrtcv3/adapter.go that he references the library,
case <-waitT. C:
return "", errors.New("gatherCompletePromise wait")
The above two lines are commented out, and then a line is added after the end of the select block.
time.Sleep(time.Millisecond * 1)
Then try compiling the program again.

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

4 participants