mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Fix issue on audio calls
This commit is contained in:
parent
e27797cdcd
commit
bc3bdeec05
@ -254,11 +254,12 @@ class CallWindow extends CustomEvents {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Video button
|
// Video button
|
||||||
setButtonSelected(
|
if(this.allowVideo)
|
||||||
bottomArea.querySelector("[data-label=\"camera\"]"),
|
setButtonSelected(
|
||||||
this.mainStream && this.mainStream.getVideoTracks().length > 0 &&
|
bottomArea.querySelector("[data-label=\"camera\"]"),
|
||||||
this.mainStream.getVideoTracks()[0].enabled
|
this.mainStream && this.mainStream.getVideoTracks().length > 0 &&
|
||||||
)
|
this.mainStream.getVideoTracks()[0].enabled
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.on("localVideo", () => {
|
this.on("localVideo", () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user