Fix issue on audio calls

This commit is contained in:
Pierre HUBERT 2020-04-13 18:49:02 +02:00
parent e27797cdcd
commit bc3bdeec05

View File

@ -254,6 +254,7 @@ class CallWindow extends CustomEvents {
) )
// Video button // Video button
if(this.allowVideo)
setButtonSelected( setButtonSelected(
bottomArea.querySelector("[data-label=\"camera\"]"), bottomArea.querySelector("[data-label=\"camera\"]"),
this.mainStream && this.mainStream.getVideoTracks().length > 0 && this.mainStream && this.mainStream.getVideoTracks().length > 0 &&