Raise hand over network - still no state on server (new participants don't get the raised hand state of others until the others change their raised hand state)
This commit is contained in:
+6
-3
@@ -264,14 +264,17 @@ class Room extends EventEmitter
|
||||
{
|
||||
accept();
|
||||
|
||||
const { raiseHandMessage } = request.data;
|
||||
const { raiseHandState } = request.data;
|
||||
const { mediaPeer } = protooPeer.data;
|
||||
|
||||
mediaPeer.appData.raiseHand = request.data.raiseHandState;
|
||||
|
||||
// Spread to others via protoo.
|
||||
this._protooRoom.spread(
|
||||
'raisehand-message-receive',
|
||||
'raisehand-message',
|
||||
{
|
||||
peerName : protooPeer.id,
|
||||
raiseHandMessage : raiseHandMessage
|
||||
raiseHandState : raiseHandState
|
||||
},
|
||||
[ protooPeer ]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user