add more logging around attaching videos to thumbnails
This commit is contained in:
parent
b8aa74f212
commit
8c0f942ae1
|
@ -486,6 +486,8 @@ RemoteVideo.prototype.hasVideoStarted = function() {
|
|||
|
||||
RemoteVideo.prototype.addRemoteStreamElement = function(stream) {
|
||||
if (!this.container) {
|
||||
logger.debug('Not attaching remote stream due to no container');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -498,6 +500,8 @@ RemoteVideo.prototype.addRemoteStreamElement = function(stream) {
|
|||
}
|
||||
|
||||
if (!stream.getOriginalStream()) {
|
||||
logger.debug('Remote video stream has no original stream');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,11 @@ const VideoLayout = {
|
|||
const id = stream.getParticipantId();
|
||||
const remoteVideo = remoteVideos[id];
|
||||
|
||||
logger.debug(`Received a new ${stream.getType()} stream for ${id}`);
|
||||
|
||||
if (!remoteVideo) {
|
||||
logger.debug('No remote video element to add stream');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue