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

Cannot assign to read only property 'iceServers' of object #135

Open
WangYuLue opened this issue Jun 28, 2018 · 3 comments
Open

Cannot assign to read only property 'iceServers' of object #135

WangYuLue opened this issue Jun 28, 2018 · 3 comments

Comments

@WangYuLue
Copy link

WangYuLue commented Jun 28, 2018

run the test page and get the following error:

when I refresh the page ,the error was disappearing

Uncaught TypeError: Cannot assign to read only property 'iceServers' of object '#<Object>'
    at new window.RTCPeerConnection (simplewebrtc-with-adapter.bundle.js:17390)
    at new WrappedRTCPeerConnection (blob:http://127.0.0.1:8887/3fe08aa5-56d9-49fe-9dd1-83fd169ad2ef:300)
    at new PeerConnection (simplewebrtc-with-adapter.bundle.js:11894)
    at new Peer (simplewebrtc-with-adapter.bundle.js:20445)
    at WebRTC.createPeer (simplewebrtc-with-adapter.bundle.js:21320)
    at Socket.<anonymous> (simplewebrtc-with-adapter.bundle.js:21048)
    at Socket.onack (simplewebrtc-with-adapter.bundle.js:15228)
    at Socket.onpacket (simplewebrtc-with-adapter.bundle.js:15153)
    at Manager.<anonymous> (simplewebrtc-with-adapter.bundle.js:4357)
    at Manager.Emitter.emit (simplewebrtc-with-adapter.bundle.js:4495)
@fippo
Copy link
Contributor

fippo commented Jun 28, 2018

are you using adblock plus? https://github.com/webrtc/adapter/issues/831

@WangYuLue
Copy link
Author

WangYuLue commented Jun 28, 2018

I understand when the mistake happen.

In Chrome i open the test page and it works well , and then when i directly duplicate tab, the mistake happen in the duplicated tab.

Instead, when i open a new tab, and then copy the URL to the new tab, it works well.

Why it is happened?

@shamun
Copy link

shamun commented Jul 19, 2018

Removed AdBlock extension from Google chrome. Since then this error is not showing up. 2018/July 20 12:28AM.

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

3 participants