Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix bug for Scalable-Broadcast #816

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Conversation

Periodic1911
Copy link
Contributor

When running the current Scalable-Broadcast demo (https://rtcmulticonnection.herokuapp.com/demos/Scalable-Broadcast.html) watchers on at least chrome and firefox cannot open a stream. This is because the browser tries to set the local answer sdp in a stable state. The solution is to not negotiate a new state when the state is stable.

When running the current Scalable-Broadcast demo (https://rtcmulticonnection.herokuapp.com/demos/Scalable-Broadcast.html) watchers on at least chrome and firefox cannot open a stream. This is because the browser tries to set the local answer sdp in a stable state. The solution is to not negotiate a new state when the state is stable.
@rajgoel
Copy link

rajgoel commented Apr 2, 2020

@Periodic1911 👍 Thanks a lot for the fix. I can confirm that the fix allows streams to be hosted on Firefox (v74/Linux). I also tested on Chromium (v80.0.3987.87/Linux) and Chrome (Version 80.0.3987.149/Linux). These worked before (for me) and still do after the fix.

@muaz-khan Is there any reason not to merge the PR?

@rajgoel
Copy link

rajgoel commented Apr 2, 2020

Strange :-/ It worked once, but now it doesn't (with FF host).
(Might have been a problem with my wifi, sorry)

rajgoel added a commit to rajgoel/reveal.js-plugins that referenced this pull request Apr 2, 2020
@theryan722-epistem
Copy link
Contributor

theryan722-epistem commented Apr 22, 2020

Bumping this issue. Would be great to have this merged in. @muaz-khan

@muaz-khan muaz-khan merged commit 97f1a10 into muaz-khan:master Apr 22, 2020
@vermie
Copy link

vermie commented Aug 25, 2020

@muaz-khan This change has some issues:

  • self.signalingState is always undefined (it should be peer.signalingState
  • the change was only made to dist/RTCMultiConnection.js
  • iceConnectionStates, including closed and failed, are no longer handled
    nor are they raised to the application via connection.onPeerStateChange

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants