Skip to content

Commit

Permalink
fix: toggle enabled state after unmount
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Feb 6, 2025
1 parent db2ddcb commit 74ca521
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export class HMSLocalAudioTrack extends HMSAudioTrack {
}),
);
try {
await this.setEnabled(false);
await this.setEnabled(this.enabled);
// whatsapp call doesn't seem to send video unmute natively, so use audio unmute to play video
this.eventBus.localAudioUnmutedNatively.publish();
Expand Down

0 comments on commit 74ca521

Please sign in to comment.