Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue on Safari (MacOs), simple-peer version ? #1594
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
The solution was to get the latest version of webtorrent from the npm folder of the CDN :
and not the one provided on webtorrent.io... |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the issue. I just updated the docs on the site so they use the correct URL: #1682 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of WebTorrent?
Latest from CDN (https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js)
What operating system and Node.js version?
macOS Mojave
What browser and version? (if using WebTorrent in the browser)
Safari 12.0.3
What did you expect to happen?
I expected a video file to play flawlessly like on the other browsers.
What actually happened?
I often get the black player with the error :
Unhandled Promise Rejection: TypeError: Argument 1 ('options') to RTCPeerConnection.createOffer must be a dictionary
I saw (#1550) that it could come from simple-peer, which has been updated since then I think. But still I get the same error.
Everything works fine on Chrome & Firefox (no error at all).
I am using webtorrent from the CND (jsdelivr.net) and I use webtorrent Desktop on Windows server 2016 to seed the files. Does it matter ?
Thank you.