diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/activities-panel.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/activities-panel.component.html index 3038ad0d..5c73cbbf 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/activities-panel.component.html +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/activities-panel.component.html @@ -15,6 +15,7 @@ (onStartRecordingClicked)="_onStartRecordingClicked()" (onStopRecordingClicked)="_onStopRecordingClicked()" (onDeleteRecordingClicked)="_onDeleteRecordingClicked($event)" + (onForceRecordingUpdate)="_onForceRecordingUpdate()" > = new EventEmitter(); + /** + * Provides event notifications that fire when a participant needs update the recordings information + * (usually when recording is stopped by the session moderator or recording panel is opened). + * The recordings should be updated using the REST API. + */ + @Output() onForceRecordingUpdate: EventEmitter = new EventEmitter(); + /** * Provides event notifications that fire when start broadcasting button has been clicked. * The broadcasting should be started using the REST API. @@ -112,6 +119,10 @@ export class ActivitiesPanelComponent implements OnInit { this.onStopBroadcastingClicked.emit(); } + _onForceRecordingUpdate() { + this.onForceRecordingUpdate.emit(); + } + private subscribeToPanelToggling() { this.panelSubscription = this.panelService.panelOpenedObs.subscribe((ev: PanelEvent) => { if (ev.type === PanelType.ACTIVITIES && !!ev.expand) { diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/recording-activity/recording-activity.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/recording-activity/recording-activity.component.html index 9b723b1d..93e7da77 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/recording-activity/recording-activity.component.html +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/recording-activity/recording-activity.component.html @@ -117,6 +117,7 @@