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.

stream not added if initiator set to false

See original GitHub issue

Change the video/voice example code from:

  var peer1 = new SimplePeer({ initiator: true, stream: stream })
  var peer2 = new SimplePeer({ initiator: false })

to:

  var peer1 = new SimplePeer({ initiator: false, stream: stream })
  var peer2 = new SimplePeer({ initiator: true })

the stream callback never called.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
ricardopolocommented, Mar 28, 2020

I have the experience that @toxaq describes

4reactions
toxaqcommented, Mar 20, 2020

@nazar-pc it’s a reply to @t-mullen stating that as of 9.3 “you don’t need to specify constraints” - “it just works”. That was not my experience and I’m running 9.6.

Read more comments on GitHub >

github_iconTop Results From Across the Web

addStream on non-initiator with peers mesh #370 - GitHub
Hi, I'm facing problems adding stream on non initiator side. ... these must be false if the other peer is not providing streams...
Read more >
(webrtc) setRemoteDescription not working for the initiator
When I click call, I create an offer, I set the local stream, I set local description, and send that SDP to the...
Read more >
simple-peer - npm
Create a new WebRTC peer connection. A "data channel" for text/binary communication is always established, because it's cheap and often useful.
Read more >
Use of Java GSS-API for Secure Message Exchanges Without ...
This tutorial presents two sample applications demonstrating the use of the Java GSS-API for secure exchanges of messages between communicating applications ...
Read more >
ZRTP: Media Path Key Agreement for Unicast Secure RTP
RFC 6189 ZRTP April 2011 When adding additional media streams to an existing call, only Multistream mode is used. Only one DH operation...
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