frontend: stop listening to commands from the webcomponent when participant left

This commit is contained in:
Carlos Santos 2025-05-12 12:12:24 +02:00
parent 41e7b645ee
commit 4a3db2a1d2

View File

@ -143,6 +143,9 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
//if (this.contextService.isEmbeddedMode()) this.sendMessageToParent(event);
this.redirectTo(redirectURL, isExternalURL);
// Stop listening to commands from the parent
this.wcManagerService.stopCommandsListener();
}
async onRecordingStartRequested(event: RecordingStartRequestedEvent) {