Don't send the 'media not flowing' event until we figure things out
This commit is contained in:
parent
1e514aad04
commit
ecda3f460e
@ -82,13 +82,13 @@ module.exports = class Video {
|
||||
console.log(' [video] ' + msEvent.type + '[' + msEvent.state + ']' + ' for endpoint ' + this.id);
|
||||
|
||||
if (msEvent.state === 'NOT_FLOWING') {
|
||||
this.bbbGW.publish(JSON.stringify({
|
||||
connectionId: this.sessionId,
|
||||
type: 'video',
|
||||
role: this.role,
|
||||
id : 'playStop',
|
||||
cameraId: this.id,
|
||||
}), C.FROM_VIDEO);
|
||||
// this.bbbGW.publish(JSON.stringify({
|
||||
// connectionId: this.sessionId,
|
||||
// type: 'video',
|
||||
// role: this.role,
|
||||
// id : 'playStop',
|
||||
// cameraId: this.id,
|
||||
// }), C.FROM_VIDEO);
|
||||
}
|
||||
else if (msEvent.state === 'FLOWING') {
|
||||
this.bbbGW.publish(JSON.stringify({
|
||||
|
Loading…
Reference in New Issue
Block a user