Fixing issue when both mic and cam are stopped

This commit is contained in:
David Négrier 2020-08-31 15:21:05 +02:00
parent c739037bc4
commit 634eecd42a
4 changed files with 34 additions and 20 deletions

View file

@ -85,7 +85,7 @@ export class VideoPeer extends Peer {
* Sends received stream to screen.
*/
private stream(stream?: MediaStream) {
console.log(`VideoPeer::stream => ${this.userId}`, stream);
//console.log(`VideoPeer::stream => ${this.userId}`, stream);
if(!stream){
mediaManager.disabledVideoByUserId(this.userId);
mediaManager.disabledMicrophoneByUserId(this.userId);