diff --git a/packages/hms-video-store/src/media/tracks/HMSLocalVideoTrack.ts b/packages/hms-video-store/src/media/tracks/HMSLocalVideoTrack.ts index 013b08236c..5e465737ef 100644 --- a/packages/hms-video-store/src/media/tracks/HMSLocalVideoTrack.ts +++ b/packages/hms-video-store/src/media/tracks/HMSLocalVideoTrack.ts @@ -493,7 +493,8 @@ export class HMSLocalVideoTrack extends HMSVideoTrack { this.replaceSenderTrack(this.nativeTrack); } else { this.nativeTrack.enabled = this.enabledStateBeforeBackground; - this.replaceSenderTrack(this.nativeTrack); + this.processPlugins(); + this.replaceSenderTrack(this.processedTrack || this.nativeTrack); } this.eventBus.localVideoEnabled.publish({ enabled: this.nativeTrack.enabled, track: this }); };