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

Chrome error getting Offer #34

Open
david4096 opened this issue Jun 8, 2018 · 4 comments
Open

Chrome error getting Offer #34

david4096 opened this issue Jun 8, 2018 · 4 comments

Comments

@david4096
Copy link

https://www.reddit.com/r/ipfs/comments/8pi62d/ipfs_webrtc_chat/

From u/rictic

In Chrome 68 I get this stack trace in the console, and the offer never shows up when I click Create:

Uncaught RangeError: Maximum call stack size exceeded.
    at HTMLDivElement.trigger (jquery-2.0.0.js:4773)
    at Object.trigger (jquery-2.0.0.js:4502)
    at HTMLDivElement.<anonymous> (jquery-2.0.0.js:5055)
    at Function.each (jquery-2.0.0.js:590)
    at init.each (jquery-2.0.0.js:237)
    at init.trigger (jquery-2.0.0.js:5054)
    at init.jQuery.fn.(anonymous function) [as focus] (https://ipfs.io/ipfs/QmSJpwAeKraihyxpSHqAurautEbCU277UyBHUdaapbZX7F/apps/serverless-webrtc/js/jquery-2.0.0.js:6657:9)
    at HTMLDocument.<anonymous> (bootstrap.js:910)
    at HTMLDocument.dispatch (jquery-2.0.0.js:4618)
    at HTMLDocument.elemData.handle (jquery-2.0.0.js:4302)

@monkybrain
Copy link

@cjb I'm getting the same error. Any idea how to fix it? I'm very interested in exploring your solution to this problem.

@xak2000
Copy link

xak2000 commented Mar 25, 2019

The firefox doesn't work also:

TypeError: Argument 1 is not valid for any of the 1-argument overloads of URL.createObjectURL. serverless-webrtc.js:163:17
    createLocalOffer http://127.0.0.1:8080/js/serverless-webrtc.js:163

@ogewan
Copy link

ogewan commented Aug 24, 2019

navigator.getUserMedia is deprecated, so I would guess that this project is pretty outdated.

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia

@sandeepkambham08
Copy link

https://www.reddit.com/r/ipfs/comments/8pi62d/ipfs_webrtc_chat/

From u/rictic

In Chrome 68 I get this stack trace in the console, and the offer never shows up when I click Create:

Uncaught RangeError: Maximum call stack size exceeded.
    at HTMLDivElement.trigger (jquery-2.0.0.js:4773)
    at Object.trigger (jquery-2.0.0.js:4502)
    at HTMLDivElement.<anonymous> (jquery-2.0.0.js:5055)
    at Function.each (jquery-2.0.0.js:590)
    at init.each (jquery-2.0.0.js:237)
    at init.trigger (jquery-2.0.0.js:5054)
    at init.jQuery.fn.(anonymous function) [as focus] (https://ipfs.io/ipfs/QmSJpwAeKraihyxpSHqAurautEbCU277UyBHUdaapbZX7F/apps/serverless-webrtc/js/jquery-2.0.0.js:6657:9)
    at HTMLDocument.<anonymous> (bootstrap.js:910)
    at HTMLDocument.dispatch (jquery-2.0.0.js:4618)
    at HTMLDocument.elemData.handle (jquery-2.0.0.js:4302)

I felt the same but it works fine even with that error. Wait for ~30sec after clicking 'CREATE' button. The offer will be populated then.

However, one update to make now is -
Navigate to serverless-webrtc-master>js>serverless-webrtc.js file

On line 163 :
Change - video.src = window.URL.createObjectURL(stream)
To - video.srcObject = stream;

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

5 participants