Skip to content

Commit

Permalink
Prevent exception when muting (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr authored Sep 13, 2022
1 parent 41cee6f commit c605310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webrtc/groupCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export class GroupCall extends TypedEventEmitter<
}

for (const call of this.calls) {
call.localUsermediaFeed.setAudioVideoMuted(muted, null);
call.localUsermediaFeed?.setAudioVideoMuted(muted, null);
}

if (sendUpdatesBefore) {
Expand Down

0 comments on commit c605310

Please sign in to comment.