Skip to content

Commit

Permalink
fix: vb disappears after returning from bg in mweb (#2929)
Browse files Browse the repository at this point in the history
* fix: vb disappears after returning from bg in mweb

* fix: vb disappears after returning from bg in mweb
  • Loading branch information
KaustubhKumar05 authored May 23, 2024
1 parent f3222f5 commit 79722c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ export class HMSLocalVideoTrack extends HMSVideoTrack {
this.replaceSenderTrack(this.nativeTrack);
} else {
this.nativeTrack.enabled = this.enabledStateBeforeBackground;
this.replaceSenderTrack(this.nativeTrack);
this.replaceSenderTrack(this.processedTrack || this.nativeTrack);
}
this.eventBus.localVideoEnabled.publish({ enabled: this.nativeTrack.enabled, track: this });
};
Expand Down

0 comments on commit 79722c7

Please sign in to comment.