Skip to content

fix a bug in webrtc stream signaling stack to improve stability#319

Merged
engelgabriel merged 1 commit intoRocketChat:masterfrom
Sing-Li:webrtc-stream-stack-stability
Jul 20, 2015
Merged

fix a bug in webrtc stream signaling stack to improve stability#319
engelgabriel merged 1 commit intoRocketChat:masterfrom
Sing-Li:webrtc-stream-stack-stability

Conversation

@Sing-Li
Copy link
Member

@Sing-Li Sing-Li commented Jul 19, 2015

Description of bug condition:

  • caller clicks Video button: webrtc.to is set in Video onclick, stack starts and stream.emit() issued to callee
  • callee receives message and displays dialog: for convenience, callee uses the from field of message as the caller's name to be displayed in dialog; callee needs to respond immediately; since Video button was not clicked on callee - webrtc.to is not set, callee ends up calling stream.emit() with destination undefined (most of the time, unless callee's video button was clicked in a previous test, and the browser has not been reloaded - and there were no intervening code hot-deploys)

This bug was discovered while experimenting with the in-band stack. The fix should greatly improve usability of the default stream stack.

@Sing-Li Sing-Li changed the title fix a bug in stream signaling stack to improve stability fix a bug in webrtc stream signaling stack to improve stability Jul 19, 2015
engelgabriel added a commit that referenced this pull request Jul 20, 2015
fix a bug in webrtc stream signaling stack to improve stability
@engelgabriel engelgabriel merged commit 7df7f21 into RocketChat:master Jul 20, 2015
@Sing-Li Sing-Li deleted the webrtc-stream-stack-stability branch July 20, 2015 02:24
HappyTobi pushed a commit to HappyTobi/Rocket.Chat that referenced this pull request Jul 10, 2018
Install for all users or current user for Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments