Fix webrct finish event delay
This commit is contained in:
parent
336742b8b3
commit
173f7a5061
3 changed files with 58 additions and 15 deletions
|
@ -455,8 +455,7 @@ export class MediaManager {
|
|||
addStreamRemoteVideo(userId: string, stream : MediaStream){
|
||||
const remoteVideo = this.remoteVideo.get(userId);
|
||||
if (remoteVideo === undefined) {
|
||||
console.error('Unable to find video for ', userId);
|
||||
return;
|
||||
throw `Unable to find video for ${userId}`;
|
||||
}
|
||||
remoteVideo.srcObject = stream;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue