- handle stream stopped event by checking if stream is present
This commit is contained in:
parent
7701b70842
commit
9d4926eab8
@ -756,9 +756,11 @@ package org.bigbluebutton.modules.users.services
|
||||
logData.streamId = stream;
|
||||
LOGGER.info(JSON.stringify(logData));
|
||||
|
||||
LiveMeeting.inst().webcams.remove(stream);
|
||||
var mediaStream: MediaStream = LiveMeeting.inst().webcams.remove(stream);
|
||||
|
||||
sendStreamStoppedEvent(userId, stream);
|
||||
if (mediaStream != null) {
|
||||
sendStreamStoppedEvent(mediaStream.userId, stream);
|
||||
}
|
||||
}
|
||||
|
||||
private function sendStreamStoppedEvent(userId: String, streamId: String):void{
|
||||
|
Loading…
Reference in New Issue
Block a user