question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when connecting through Firefox

See original GitHub issue

Thanks for this amazing library. I was just trying to connect two peers and send some data.On chrome It works just fine but on firefox 59.0.2 It breaks with the following error,

TypeError: Argument 1 of RTCPeerConnection.getStats does not implement interface MediaStreamTrack

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
scriptonistcommented, Apr 26, 2018

Thanks @nazar-pc I guess including https://github.com/webrtc/adapter was the problem. I got it working now I’m not sure what went wrong.

0reactions
yaniv-finkcommented, Dec 21, 2018

It seems that @nazar-pc is right, I also use simple-peer, and when I tried to include adpater.js, the connected event was not fired in firefox. after I removed adapter.js, things are working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox can't load websites but other browsers can
Firefox connection settings · In the Menu bar at the top of the screen, click Firefox and select Preferences. · In the General...
Read more >
Unblock Firefox from connecting to the Internet - Mozilla Support
A "Server not found" error can be caused by Windows Firewall blocking Firefox from accessing the Internet. Learn how to configure it to...
Read more >
Websites don't load - troubleshoot and fix error messages
In the Menu bar at the top of the screen, click Firefox and select Preferences.Click the menu button · In the General panel,...
Read more >
Server Not Found - Troubleshoot connection problems
In the Menu bar at the top of the screen, click Firefox and select Preferences.Click the menu button · Select the General panel....
Read more >
Secure connection failed and Firefox did not connect
Websites that don't support TLS version 1.2 or higher will display a Secure Connection Failed error page with Error code: SSL_ERROR_UNSUPPORTED_VERSION and a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found