-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix participant type change with external signaling server
The external signaling server expects to receive a "participants" message from the backend notifier when the participants in a room change. This message is in turn sent as a participants update signaling message to the clients, and the WebUI updates the list of participants whenever that message is received. However, when the type of a participant changes the backend notifier sent an "update" message instead, which is in turn sent as a room list update signaling message to the clients, but it does not trigger any update in the participants list of the WebUI. Now a "participants" message is sent too by the backend notifier when the participants in a room change, so the WebUI updates the list of participants when handling the participants update signaling message; the WebUI could have been modified to rely on the room list update signaling message instead, but using the other message seemed more appropriate. Note that the already existing "update" message sent by the backend notifier is kept for now, as removing it may break the clients in unexpected ways (although it should go away in the future). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
- Loading branch information
Showing
2 changed files
with
139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters