Fix to add special screen sharing
This commit is contained in:
parent
209057e3fc
commit
3e2c5049f2
2 changed files with 8 additions and 18 deletions
|
@ -298,7 +298,11 @@ export class MediaManager {
|
|||
<video id="${userId}" autoplay></video>
|
||||
</div>
|
||||
`);
|
||||
this.remoteVideo.set(userId, document.getElementById(userId));
|
||||
let activeHTMLVideoElement : HTMLElement|null = document.getElementById(userId);
|
||||
if(!activeHTMLVideoElement){
|
||||
return;
|
||||
}
|
||||
this.remoteVideo.set(userId, (activeHTMLVideoElement as HTMLVideoElement));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue