Fixing issue when both mic and cam are stopped
This commit is contained in:
parent
c739037bc4
commit
634eecd42a
4 changed files with 34 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue