mirror of https://github.com/OpenVidu/openvidu.git
Update Session.ts
parent
91ffb266c4
commit
182422f09f
|
@ -833,7 +833,9 @@ export class Session implements EventDispatcher {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.ee.emitEvent('streamPropertyChanged', [new StreamPropertyChangedEvent(this, stream, msg.property, msg.newValue, oldValue, msg.reason)]);
|
this.ee.emitEvent('streamPropertyChanged', [new StreamPropertyChangedEvent(this, stream, msg.property, msg.newValue, oldValue, msg.reason)]);
|
||||||
|
if (!!stream.streamManager) {
|
||||||
stream.streamManager.emitEvent('streamPropertyChanged', [new StreamPropertyChangedEvent(stream.streamManager, stream, msg.property, msg.newValue, oldValue, msg.reason)]);
|
stream.streamManager.emitEvent('streamPropertyChanged', [new StreamPropertyChangedEvent(stream.streamManager, stream, msg.property, msg.newValue, oldValue, msg.reason)]);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
console.error("No stream with streamId '" + msg.streamId + "' found for connection '" + msg.connectionId + "' on 'streamPropertyChanged' event");
|
console.error("No stream with streamId '" + msg.streamId + "' found for connection '" + msg.connectionId + "' on 'streamPropertyChanged' event");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue