Skip to content

Commit 53ec8e0

Browse files
author
Enrico Schwendig
committed
groupCall: remove not needed flag
1 parent c57aadb commit 53ec8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webrtc/groupCall.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ export class GroupCall extends TypedEventEmitter<
619619
public async setLocalVideoMuted(muted: boolean): Promise<boolean> {
620620
// Because we need a Local Call Feed to establish a call connection, we avoid muting video in case of empty
621621
// video track. In this way we go sure if a client implements muting we don't raise an error.
622-
if (this.initCallWithoutVideoAndAudio && this.localCallFeed?.stream.getVideoTracks().length === 0) {
622+
if (this.localCallFeed?.stream.getVideoTracks().length === 0) {
623623
return false;
624624
}
625625
// hasAudioDevice can block indefinitely if the window has lost focus,

0 commit comments

Comments
 (0)