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.

Issue with video stream with v. 9.1.0 and above

See original GitHub issue

After upgrading from release 8.5.0 to 9.x I don’t seem to be able to receive video in an Electron app.

The peer.on(‘stream’) handler is not invoked. Without diving further into it, I suspect it might be related to an on-addStream event not being fired.

Everything works before this commit: https://github.com/feross/simple-peer/commit/747ed8f111344c28a51a0e7f653d3ed024b999fe

Steps to reproduce: Use the code in the readme (https://github.com/feross/simple-peer#videovoice) but pass in a stream from electron by using navigator.mediaDevices.getUserMedia.

Happens with both Electron v. 1.7.12 and v. 1.8.6.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
fippocommented, May 23, 2018

MDN is wrong, native addTrack only came to Chrome in M64, not M56. adapter provides a shim so including it once before simple-peer might work

3reactions
ferosscommented, Apr 30, 2018

@thbaja Please update us if you hear anything from the Electron maintainers about what’s going on. This is quite odd, IMO.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SHIELD Experience Upgrade 9.1 Known Issues - Reddit
Here are some of the known issues being worked on in the 9.1 release. ... Streaming apps fail to work on setups with...
Read more >
[Update: Dec. 28] NVIDIA Shield TV bugs & issues tracker
Your one-stop source for almost every known NVIDIA Shield TV bugs and issues along with their status and workarounds/fixes, if any.
Read more >
Problem when resuming a video with DTS-HD audio - Emby
The audio continues normally but the image is jerky. I attach a video of the problem and have sent the log from my...
Read more >
PAN-OS 9.1.9 Addressed Issues - Palo Alto Networks
Fixed an issue where the time-to-live (TTL) value received from the DNS server reset to 0 on DNS secure TCP transactions when anti-spyware...
Read more >
Re: How to fix screen mirroring not working with my Roku device
If you ever have trouble connecting after that, simply disabling/enabling Wifi on the mirroring device fixes connection problems 98% of the time.
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