mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: Log MediaStream ID instead of whole object
Log the MediaStream ID, which is a string, instead of the mediaStream object, which showed up as "[object MediaStream]" in the logs.pull/704/head
parent
6d018de09d
commit
1173f04abc
|
@ -277,7 +277,7 @@ export class Stream {
|
|||
|
||||
this.ee.on('mediastream-updated', () => {
|
||||
this.streamManager.updateMediaStream(this.mediaStream!);
|
||||
logger.debug('Video srcObject [' + this.mediaStream + '] updated in stream [' + this.streamId + ']');
|
||||
logger.debug('Video srcObject [' + this.mediaStream?.id + '] updated in stream [' + this.streamId + ']');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue