mediasfu-angular 2.2.1 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +970 -40
- package/USAGE_COOKBOOK.md +202 -0
- package/dist/LICENSE +21 -0
- package/dist/README.md +970 -40
- package/dist/fesm2022/mediasfu-angular.mjs +30595 -16317
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/@types/types.d.ts +28 -2
- package/dist/lib/@types/ui-overrides.types.d.ts +314 -0
- package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1053 -5
- package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +2126 -51
- package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1587 -45
- package/dist/lib/components/breakout-components/room-list/room-list.component.d.ts +5 -1
- package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +1067 -56
- package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +98 -28
- package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +17 -7
- package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +591 -11
- package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +3 -0
- package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +1 -1
- package/dist/lib/components/display-components/control-buttons-component/control-buttons-component.component.d.ts +34 -2
- package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +19 -0
- package/dist/lib/components/display-components/control-widgets/control-icon-badge-widget.component.d.ts +13 -0
- package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +1 -0
- package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +2 -2
- package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +2 -2
- package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +2 -0
- package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +5 -3
- package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +617 -26
- package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +41 -1
- package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +2024 -10
- package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +6 -2
- package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +6 -2
- package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +507 -8
- package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +508 -7
- package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +18 -11
- package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +11 -3
- package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +1026 -999
- package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +9 -3
- package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +517 -1
- package/dist/lib/components/display-components/pagination/pagination.component.d.ts +34 -1
- package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +513 -2
- package/dist/lib/components/display-components/subtitle-overlay/subtitle-overlay.component.d.ts +6 -0
- package/dist/lib/components/display-components/video-card/video-card.component.d.ts +10 -6
- package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1108 -27
- package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +1134 -49
- package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +94 -32
- package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +1123 -47
- package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +2622 -4793
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +602 -4140
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +864 -5707
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +2087 -6304
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +650 -5707
- package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +26 -4
- package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +80 -1
- package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +46 -1
- package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +706 -15
- package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +49 -2
- package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +79 -16
- package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1113 -17
- package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +4 -0
- package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +1114 -29
- package/dist/lib/components/panelists-components/panelists-modal/panelists-modal.component.d.ts +73 -0
- package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1084 -6
- package/dist/lib/components/permissions-components/permissions-modal/permissions-modal.component.d.ts +89 -0
- package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +1060 -21
- package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +1055 -35
- package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +1117 -45
- package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +1059 -47
- package/dist/lib/components/translation-components/translation-settings-modal/translation-settings-modal.component.d.ts +124 -0
- package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +1119 -46
- package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +2117 -22
- package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +3 -15
- package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
- package/dist/lib/consumers/auto-adjust.service.d.ts +0 -11
- package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +0 -7
- package/dist/lib/consumers/change-vids.service.d.ts +1 -1
- package/dist/lib/consumers/check-permission.service.d.ts +4 -1
- package/dist/lib/consumers/check-screen-share.service.d.ts +0 -18
- package/dist/lib/consumers/compare-active-names.service.d.ts +0 -16
- package/dist/lib/consumers/compare-screen-states.service.d.ts +0 -18
- package/dist/lib/consumers/connect-ips.service.d.ts +5 -26
- package/dist/lib/consumers/connect-local-ips.service.d.ts +1 -28
- package/dist/lib/consumers/connect-recv-transport.service.d.ts +4 -1
- package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +5 -1
- package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +6 -1
- package/dist/lib/consumers/connect-send-transport-video.service.d.ts +6 -1
- package/dist/lib/consumers/connect-send-transport.service.d.ts +3 -1
- package/dist/lib/consumers/consumer-resume.service.d.ts +2 -1
- package/dist/lib/consumers/create-send-transport.service.d.ts +4 -1
- package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +3 -1
- package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +3 -1
- package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +3 -1
- package/dist/lib/consumers/disp-streams.service.d.ts +1 -110
- package/dist/lib/consumers/generate-page-content.service.d.ts +0 -17
- package/dist/lib/consumers/get-estimate.service.d.ts +0 -21
- package/dist/lib/consumers/mix-streams.service.d.ts +0 -19
- package/dist/lib/consumers/on-screen-changes.service.d.ts +1 -21
- package/dist/lib/consumers/prepopulate-user-media.service.d.ts +3 -0
- package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +1 -14
- package/dist/lib/consumers/process-consumer-transports.service.d.ts +3 -57
- package/dist/lib/consumers/re-update-inter.service.d.ts +1 -39
- package/dist/lib/consumers/reorder-streams.service.d.ts +1 -35
- package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +3 -1
- package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +3 -1
- package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +5 -14
- package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +4 -14
- package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +1 -8
- package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +5 -1
- package/dist/lib/consumers/stream-success-audio.service.d.ts +3 -1
- package/dist/lib/consumers/stream-success-video.service.d.ts +5 -1
- package/dist/lib/consumers/translation-consumer-switch.service.d.ts +68 -0
- package/dist/lib/consumers/trigger.service.d.ts +0 -79
- package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +0 -24
- package/dist/lib/directives/with-override.directive.d.ts +76 -0
- package/dist/lib/methods/background-methods/launch-background.service.d.ts +2 -5
- package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +2 -5
- package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +2 -5
- package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +1 -1
- package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +2 -5
- package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +2 -0
- package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +2 -5
- package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +2 -5
- package/dist/lib/methods/message-methods/launch-messages.service.d.ts +2 -5
- package/dist/lib/methods/panelists-methods/add-panelist.service.d.ts +19 -0
- package/dist/lib/methods/panelists-methods/focus-panelists.service.d.ts +19 -0
- package/dist/lib/methods/panelists-methods/remove-panelist.service.d.ts +17 -0
- package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +2 -5
- package/dist/lib/methods/permissions-methods/bulk-update-participant-permissions.service.d.ts +20 -0
- package/dist/lib/methods/permissions-methods/update-participant-permission.service.d.ts +19 -0
- package/dist/lib/methods/permissions-methods/update-permission-config.service.d.ts +29 -0
- package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +1 -1
- package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +1 -12
- package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +1 -11
- package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +0 -94
- package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +1 -20
- package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +1 -12
- package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +0 -66
- package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +1 -33
- package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +1 -17
- package/dist/lib/methods/recording-methods/start-recording.service.d.ts +1 -92
- package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +1 -42
- package/dist/lib/methods/recording-methods/update-recording.service.d.ts +1 -94
- package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +2 -5
- package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +2 -5
- package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +1 -1
- package/dist/lib/methods/stream-methods/click-chat.service.d.ts +1 -1
- package/dist/lib/methods/utils/get-modal-position.util.d.ts +0 -3
- package/dist/lib/methods/utils/initial-values.util.d.ts +25 -3
- package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +11 -1
- package/dist/lib/methods/utils/producer/a-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/h-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/screen-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/v-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/sound-player.service.d.ts +1 -1
- package/dist/lib/methods/utils/translation-languages.util.d.ts +341 -0
- package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +2 -5
- package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +3 -1
- package/dist/lib/modern/display-components/modern-alert.component.d.ts +40 -0
- package/dist/lib/modern/display-components/modern-loading-modal.component.d.ts +37 -0
- package/dist/lib/modern/display-components/modern-meeting-progress-timer.component.d.ts +40 -0
- package/dist/lib/modern/display-components/modern-mini-card.component.d.ts +1064 -0
- package/dist/lib/modern/display-components/modern-pagination.component.d.ts +91 -0
- package/dist/lib/modern/display-components/modern-participants-counter-badge.component.d.ts +16 -0
- package/dist/lib/modern/modal-components/modern-co-host-modal.component.d.ts +63 -0
- package/dist/lib/modern/modal-components/modern-confirm-exit-modal.component.d.ts +42 -0
- package/dist/lib/modern/modal-components/modern-confirm-here-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-display-settings-modal.component.d.ts +59 -0
- package/dist/lib/modern/modal-components/modern-event-settings-modal.component.d.ts +80 -0
- package/dist/lib/modern/modal-components/modern-media-settings-modal.component.d.ts +72 -0
- package/dist/lib/modern/modal-components/modern-menu-modal.component.d.ts +48 -0
- package/dist/lib/modern/modal-components/modern-messages-modal.component.d.ts +58 -0
- package/dist/lib/modern/modal-components/modern-participants-modal.component.d.ts +49 -0
- package/dist/lib/modern/modal-components/modern-poll-modal.component.d.ts +54 -0
- package/dist/lib/modern/modal-components/modern-recording-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-requests-modal.component.d.ts +61 -0
- package/dist/lib/modern/modal-components/modern-share-event-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-waiting-room-modal.component.d.ts +55 -0
- package/dist/lib/modern/primitives/modern-button.component.d.ts +10 -0
- package/dist/lib/modern/primitives/modern-entry-shell.component.d.ts +6 -0
- package/dist/lib/modern/primitives/modern-field.component.d.ts +32 -0
- package/dist/lib/modern/primitives/modern-sidebar-panel.component.d.ts +24 -0
- package/dist/lib/modern/primitives/modern-surface.component.d.ts +7 -0
- package/dist/lib/modern/utils/render-mode.utils.d.ts +3 -0
- package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +4 -10
- package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +0 -19
- package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +8 -63
- package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +3 -19
- package/dist/lib/producers/producer-emits/join-local-room.service.d.ts +3 -106
- package/dist/lib/producers/producer-emits/join-room.service.d.ts +0 -18
- package/dist/lib/producers/socket-receive-methods/added-as-panelist.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +1 -90
- package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +1 -88
- package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +1 -66
- package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +3 -1
- package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/panelist-focus-changed.service.d.ts +25 -0
- package/dist/lib/producers/socket-receive-methods/panelists-updated.service.d.ts +19 -0
- package/dist/lib/producers/socket-receive-methods/permission-config-updated.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/permission-updated.service.d.ts +17 -0
- package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +0 -80
- package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/receive-control-media.service.d.ts +21 -0
- package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +1 -5
- package/dist/lib/producers/socket-receive-methods/removed-from-panelists.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/translation-receive-methods.service.d.ts +20 -0
- package/dist/lib/services/live-subtitle.service.d.ts +15 -0
- package/dist/lib/services/ui-override-resolver.service.d.ts +91 -0
- package/dist/lib/sockets/socket-manager.service.d.ts +1 -2
- package/dist/public-api.d.ts +46 -1
- package/package.json +106 -95
- package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +0 -177
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ViewContainerRef, OnDestroy, Type, Injector, TemplateRef, OnChanges, SimpleChanges, DoCheck } from '@angular/core';
|
|
2
|
+
import { UIOverrideResolverService } from '../services/ui-override-resolver.service';
|
|
3
|
+
import { MediasfuUICustomOverrides } from '../@types/ui-overrides.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Directive: appWithOverride
|
|
7
|
+
*
|
|
8
|
+
* Apply UI overrides to components dynamically.
|
|
9
|
+
* This directive checks for overrides and either:
|
|
10
|
+
* 1. Renders the custom component if an override exists
|
|
11
|
+
* 2. Renders the default component if no override exists
|
|
12
|
+
*
|
|
13
|
+
* Usage:
|
|
14
|
+
* ```html
|
|
15
|
+
* <ng-container
|
|
16
|
+
* *appWithOverride="'mainContainer';
|
|
17
|
+
* default: defaultMainContainer;
|
|
18
|
+
* props: componentProps">
|
|
19
|
+
* </ng-container>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class WithOverrideDirective implements OnChanges, OnDestroy, DoCheck {
|
|
23
|
+
private templateRef;
|
|
24
|
+
private viewContainerRef;
|
|
25
|
+
private uiOverrideResolver;
|
|
26
|
+
private injector;
|
|
27
|
+
appWithOverride: keyof MediasfuUICustomOverrides;
|
|
28
|
+
default: Type<any>;
|
|
29
|
+
props?: Record<string, any> | (() => Record<string, any>);
|
|
30
|
+
customInjector?: Injector;
|
|
31
|
+
get appWithOverrideDefault(): Type<any>;
|
|
32
|
+
get appWithOverrideProps(): Record<string, any> | (() => Record<string, any>);
|
|
33
|
+
get appWithOverrideInjector(): Injector;
|
|
34
|
+
private componentRef?;
|
|
35
|
+
private embeddedDefaultView?;
|
|
36
|
+
private renderedDefaultView?;
|
|
37
|
+
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, uiOverrideResolver: UIOverrideResolverService, injector: Injector);
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
ngDoCheck(): void;
|
|
41
|
+
private destroyRenderedViews;
|
|
42
|
+
private render;
|
|
43
|
+
private resolveProps;
|
|
44
|
+
private updateComponentInstanceProps;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WithOverrideDirective, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WithOverrideDirective, "[appWithOverride]", never, { "appWithOverride": { "alias": "appWithOverride"; "required": false; }; "default": { "alias": "appWithOverrideDefault"; "required": false; }; "props": { "alias": "appWithOverrideProps"; "required": false; }; "customInjector": { "alias": "appWithOverrideInjector"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Directive: appWithFunctionOverride
|
|
50
|
+
*
|
|
51
|
+
* Apply function overrides to method calls.
|
|
52
|
+
* This directive wraps a function with override logic.
|
|
53
|
+
*
|
|
54
|
+
* Usage in TypeScript:
|
|
55
|
+
* ```typescript
|
|
56
|
+
* @ViewChild(WithFunctionOverrideDirective) functionOverride!: WithFunctionOverrideDirective;
|
|
57
|
+
*
|
|
58
|
+
* const wrappedFunction = this.functionOverride.applyOverride(
|
|
59
|
+
* 'consumerResume',
|
|
60
|
+
* this.originalConsumerResume
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare class WithFunctionOverrideDirective {
|
|
65
|
+
private uiOverrideResolver;
|
|
66
|
+
constructor(uiOverrideResolver: UIOverrideResolverService);
|
|
67
|
+
/**
|
|
68
|
+
* Apply function override
|
|
69
|
+
* @param key - The function key
|
|
70
|
+
* @param originalFunction - The original function
|
|
71
|
+
* @returns The wrapped or replaced function
|
|
72
|
+
*/
|
|
73
|
+
applyOverride<T extends (...args: any[]) => any>(key: keyof MediasfuUICustomOverrides, originalFunction: T): T;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WithFunctionOverrideDirective, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WithFunctionOverrideDirective, "[appWithFunctionOverride]", never, {}, {}, never, never, false, never>;
|
|
76
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchBackgroundOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsBackgroundModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isBackgroundModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchBackgroundType = (options: LaunchBackgroundOptions) => void;
|
|
3
|
+
export type { LaunchBackgroundOptions, LaunchBackgroundType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the background modal.
|
|
9
6
|
*
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchBreakoutRoomsOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsBreakoutRoomsModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isBreakoutRoomsModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchBreakoutRoomsType = (options: LaunchBreakoutRoomsOptions) => void;
|
|
3
|
+
export type { LaunchBreakoutRoomsOptions, LaunchBreakoutRoomsType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Launches the breakout rooms by toggling the visibility of the breakout rooms modal.
|
|
9
6
|
*
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchCoHostOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsCoHostModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isCoHostModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchCoHostType = (options: LaunchCoHostOptions) => void;
|
|
3
|
+
export type { LaunchCoHostOptions, LaunchCoHostType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the co-host modal.
|
|
9
6
|
*
|
|
@@ -80,7 +80,7 @@ export declare class ModifyCoHostSettings {
|
|
|
80
80
|
* - A socket event is emitted to update the co-host information.
|
|
81
81
|
* - The co-host modal is closed after updating the settings.
|
|
82
82
|
*/
|
|
83
|
-
modifyCoHostSettings({ roomName,
|
|
83
|
+
modifyCoHostSettings({ roomName, selectedParticipant, coHost, coHostResponsibility, updateIsCoHostModalVisible, updateCoHostResponsibility, updateCoHost, socket, }: ModifyCoHostSettingsOptions): Promise<void>;
|
|
84
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModifyCoHostSettings, never>;
|
|
85
85
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModifyCoHostSettings>;
|
|
86
86
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchDisplaySettingsOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsDisplaySettingsModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isDisplaySettingsModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchDisplaySettingsType = (options: LaunchDisplaySettingsOptions) => void;
|
|
3
|
+
export type { LaunchDisplaySettingsOptions, LaunchDisplaySettingsType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the display settings modal.
|
|
9
6
|
*
|
|
@@ -5,6 +5,7 @@ export interface ModifyDisplaySettingsParameters extends OnScreenChangesParamete
|
|
|
5
5
|
meetingDisplayType: string;
|
|
6
6
|
autoWave: boolean;
|
|
7
7
|
forceFullDisplay: boolean;
|
|
8
|
+
showSubtitlesOnCards?: boolean;
|
|
8
9
|
meetingVideoOptimized: boolean;
|
|
9
10
|
islevel: string;
|
|
10
11
|
recordStarted: boolean;
|
|
@@ -18,6 +19,7 @@ export interface ModifyDisplaySettingsParameters extends OnScreenChangesParamete
|
|
|
18
19
|
updateMeetingDisplayType: (displayType: string) => void;
|
|
19
20
|
updateAutoWave: (autoWave: boolean) => void;
|
|
20
21
|
updateForceFullDisplay: (forceFullDisplay: boolean) => void;
|
|
22
|
+
updateShowSubtitlesOnCards?: (showSubtitlesOnCards: boolean) => void;
|
|
21
23
|
updateMeetingVideoOptimized: (optimized: boolean) => void;
|
|
22
24
|
updatePrevForceFullDisplay: (forceFullDisplay: boolean) => void;
|
|
23
25
|
updatePrevMeetingDisplayType: (displayType: string) => void;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchConfirmExitOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsConfirmExitModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isConfirmExitModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchConfirmExitType = (options: LaunchConfirmExitOptions) => void;
|
|
3
|
+
export type { LaunchConfirmExitOptions, LaunchConfirmExitType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the confirmation exit modal.
|
|
9
6
|
*
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchMenuModalOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsMenuModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isMenuModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchMenuModalType = (options: LaunchMenuModalOptions) => void;
|
|
3
|
+
export type { LaunchMenuModalOptions, LaunchMenuModalType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the menu modal.
|
|
9
6
|
*
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchMessagesOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsMessagesModalVisible: (visible: boolean) => void;
|
|
4
|
-
isMessagesModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchMessagesType = (options: LaunchMessagesOptions) => void;
|
|
3
|
+
export type { LaunchMessagesOptions, LaunchMessagesType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility state of the messages modal.
|
|
9
6
|
*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { Participant, ShowAlert } from '../../@types/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface AddPanelistOptions {
|
|
5
|
+
socket: Socket;
|
|
6
|
+
participant: Participant;
|
|
7
|
+
currentPanelists: Participant[];
|
|
8
|
+
maxPanelists: number;
|
|
9
|
+
roomName: string;
|
|
10
|
+
member: string;
|
|
11
|
+
islevel: string;
|
|
12
|
+
showAlert?: ShowAlert;
|
|
13
|
+
}
|
|
14
|
+
export type AddPanelistType = (options: AddPanelistOptions) => Promise<boolean>;
|
|
15
|
+
export declare class AddPanelist {
|
|
16
|
+
addPanelist(options: AddPanelistOptions): Promise<boolean>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddPanelist, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AddPanelist>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { ShowAlert } from '../../@types/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface FocusPanelistsOptions {
|
|
5
|
+
socket: Socket;
|
|
6
|
+
roomName: string;
|
|
7
|
+
member: string;
|
|
8
|
+
islevel: string;
|
|
9
|
+
focusEnabled: boolean;
|
|
10
|
+
muteOthersMic?: boolean;
|
|
11
|
+
muteOthersCamera?: boolean;
|
|
12
|
+
showAlert?: ShowAlert;
|
|
13
|
+
}
|
|
14
|
+
export type FocusPanelistsType = (options: FocusPanelistsOptions) => Promise<void>;
|
|
15
|
+
export declare class FocusPanelists {
|
|
16
|
+
focusPanelists(options: FocusPanelistsOptions): Promise<void>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusPanelists, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FocusPanelists>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { Participant, ShowAlert } from '../../@types/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface RemovePanelistOptions {
|
|
5
|
+
socket: Socket;
|
|
6
|
+
participant: Participant;
|
|
7
|
+
roomName: string;
|
|
8
|
+
member: string;
|
|
9
|
+
islevel: string;
|
|
10
|
+
showAlert?: ShowAlert;
|
|
11
|
+
}
|
|
12
|
+
export type RemovePanelistType = (options: RemovePanelistOptions) => Promise<void>;
|
|
13
|
+
export declare class RemovePanelist {
|
|
14
|
+
removePanelist(options: RemovePanelistOptions): Promise<void>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemovePanelist, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RemovePanelist>;
|
|
17
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import type { LaunchParticipantsOptions } from 'mediasfu-shared';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
updateIsParticipantsModalVisible: (isVisible: boolean) => void;
|
|
4
|
-
isParticipantsModalVisible: boolean;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchParticipantsType = (options: LaunchParticipantsOptions) => void;
|
|
3
|
+
export type { LaunchParticipantsOptions, LaunchParticipantsType } from 'mediasfu-shared';
|
|
7
4
|
/**
|
|
8
5
|
* Toggles the visibility of the participants modal.
|
|
9
6
|
*
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { Participant, ShowAlert } from '../../@types/types';
|
|
3
|
+
import { PermissionLevel } from './update-participant-permission.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface BulkUpdateParticipantPermissionsOptions {
|
|
6
|
+
socket: Socket;
|
|
7
|
+
participants: Participant[];
|
|
8
|
+
newLevel: PermissionLevel;
|
|
9
|
+
member: string;
|
|
10
|
+
islevel: string;
|
|
11
|
+
roomName: string;
|
|
12
|
+
showAlert?: ShowAlert;
|
|
13
|
+
maxBatchSize?: number;
|
|
14
|
+
}
|
|
15
|
+
export type BulkUpdateParticipantPermissionsType = (options: BulkUpdateParticipantPermissionsOptions) => Promise<void>;
|
|
16
|
+
export declare class BulkUpdateParticipantPermissions {
|
|
17
|
+
bulkUpdateParticipantPermissions(options: BulkUpdateParticipantPermissionsOptions): Promise<void>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkUpdateParticipantPermissions, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BulkUpdateParticipantPermissions>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { Participant, ShowAlert } from '../../@types/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type PermissionLevel = '0' | '1' | '2';
|
|
5
|
+
export interface UpdateParticipantPermissionOptions {
|
|
6
|
+
socket: Socket;
|
|
7
|
+
participant: Participant;
|
|
8
|
+
newLevel: PermissionLevel;
|
|
9
|
+
member: string;
|
|
10
|
+
islevel: string;
|
|
11
|
+
roomName: string;
|
|
12
|
+
showAlert?: ShowAlert;
|
|
13
|
+
}
|
|
14
|
+
export type UpdateParticipantPermissionType = (options: UpdateParticipantPermissionOptions) => Promise<void>;
|
|
15
|
+
export declare class UpdateParticipantPermission {
|
|
16
|
+
updateParticipantPermission(options: UpdateParticipantPermissionOptions): Promise<void>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateParticipantPermission, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateParticipantPermission>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Socket } from 'socket.io-client';
|
|
2
|
+
import { ShowAlert } from '../../@types/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface PermissionCapabilities {
|
|
5
|
+
useMic: 'allow' | 'approval' | 'disallow';
|
|
6
|
+
useCamera: 'allow' | 'approval' | 'disallow';
|
|
7
|
+
useScreen: 'allow' | 'approval' | 'disallow';
|
|
8
|
+
useChat: 'allow' | 'disallow';
|
|
9
|
+
}
|
|
10
|
+
export interface PermissionConfig {
|
|
11
|
+
level0: PermissionCapabilities;
|
|
12
|
+
level1: PermissionCapabilities;
|
|
13
|
+
}
|
|
14
|
+
export interface UpdatePermissionConfigOptions {
|
|
15
|
+
socket: Socket;
|
|
16
|
+
config: PermissionConfig;
|
|
17
|
+
member: string;
|
|
18
|
+
islevel: string;
|
|
19
|
+
roomName: string;
|
|
20
|
+
showAlert?: ShowAlert;
|
|
21
|
+
}
|
|
22
|
+
export type UpdatePermissionConfigType = (options: UpdatePermissionConfigOptions) => Promise<void>;
|
|
23
|
+
export declare class UpdatePermissionConfig {
|
|
24
|
+
getDefaultPermissionConfig(): PermissionConfig;
|
|
25
|
+
getPermissionConfigFromEventSettings(audioSetting?: string, videoSetting?: string, screenshareSetting?: string, chatSetting?: string): PermissionConfig;
|
|
26
|
+
updatePermissionConfig({ socket, config, member, islevel, roomName, showAlert, }: UpdatePermissionConfigOptions): Promise<void>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePermissionConfig, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdatePermissionConfig>;
|
|
29
|
+
}
|
|
@@ -56,7 +56,7 @@ export declare class HandleCreatePoll {
|
|
|
56
56
|
* @param {Object} options.parameters - Additional parameters for creating the poll.
|
|
57
57
|
* @returns {Promise<void>} - A promise that resolves when the poll is created successfully.
|
|
58
58
|
*/
|
|
59
|
-
handleCreatePoll(
|
|
59
|
+
handleCreatePoll(options: HandleCreatePollOptions): Promise<void>;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<HandleCreatePoll, never>;
|
|
61
61
|
static ɵprov: i0.ɵɵInjectableDeclaration<HandleCreatePoll>;
|
|
62
62
|
}
|
|
@@ -53,7 +53,7 @@ export declare class HandleEndPoll {
|
|
|
53
53
|
* @param {string} options.roomName - The name of the room where the poll is being conducted.
|
|
54
54
|
* @returns {Promise<void>} A promise that resolves when the poll end operation is complete.
|
|
55
55
|
*/
|
|
56
|
-
handleEndPoll(
|
|
56
|
+
handleEndPoll(options: HandleEndPollOptions): Promise<void>;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<HandleEndPoll, never>;
|
|
58
58
|
static ɵprov: i0.ɵɵInjectableDeclaration<HandleEndPoll>;
|
|
59
59
|
}
|
|
@@ -61,7 +61,7 @@ export declare class HandleVotePoll {
|
|
|
61
61
|
*
|
|
62
62
|
* @throws Will log an error message if there is an issue submitting the vote.
|
|
63
63
|
*/
|
|
64
|
-
handleVotePoll(
|
|
64
|
+
handleVotePoll(options: HandleVotePollOptions): Promise<void>;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<HandleVotePoll, never>;
|
|
66
66
|
static ɵprov: i0.ɵɵInjectableDeclaration<HandleVotePoll>;
|
|
67
67
|
}
|
|
@@ -59,7 +59,7 @@ export declare class PollUpdated {
|
|
|
59
59
|
* @param {Function} options.updateIsPollModalVisible - Function to update the visibility of the poll modal.
|
|
60
60
|
* @returns {Promise<void>} A promise that resolves when the poll update is complete.
|
|
61
61
|
*/
|
|
62
|
-
pollUpdated(
|
|
62
|
+
pollUpdated(options: PollUpdatedOptions): Promise<void>;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<PollUpdated, never>;
|
|
64
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<PollUpdated>;
|
|
65
65
|
}
|
|
@@ -33,18 +33,7 @@ export type CheckPauseStateType = (options: CheckPauseStateOptions) => Promise<b
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
export declare class CheckPauseState {
|
|
36
|
-
|
|
37
|
-
* Checks if the recording can be paused based on the current pause count and the allowed pause limits.
|
|
38
|
-
*
|
|
39
|
-
* @param {Object} options - The options for checking the pause state.
|
|
40
|
-
* @param {string} options.recordingMediaOptions - The type of media being recorded ("video" or "audio").
|
|
41
|
-
* @param {number} options.recordingVideoPausesLimit - The maximum number of pauses allowed for video recordings.
|
|
42
|
-
* @param {number} options.recordingAudioPausesLimit - The maximum number of pauses allowed for audio recordings.
|
|
43
|
-
* @param {number} options.pauseRecordCount - The current count of pauses that have been made.
|
|
44
|
-
* @param {Function} options.showAlert - A function to show an alert message if the pause limit is reached.
|
|
45
|
-
* @returns {Promise<boolean>} - A promise that resolves to `true` if the recording can be paused, otherwise `false`.
|
|
46
|
-
*/
|
|
47
|
-
checkPauseState: ({ recordingMediaOptions, recordingVideoPausesLimit, recordingAudioPausesLimit, pauseRecordCount, showAlert, }: CheckPauseStateOptions) => Promise<boolean>;
|
|
36
|
+
checkPauseState: (options: CheckPauseStateOptions) => Promise<boolean>;
|
|
48
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckPauseState, never>;
|
|
49
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<CheckPauseState>;
|
|
50
39
|
}
|
|
@@ -29,17 +29,7 @@ export type CheckResumeStateType = (options: CheckResumeStateOptions) => Promise
|
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
export declare class CheckResumeState {
|
|
32
|
-
|
|
33
|
-
* Checks if the recording can be resumed based on the media type and pause limits.
|
|
34
|
-
*
|
|
35
|
-
* @param {Object} options - The options for checking resume state.
|
|
36
|
-
* @param {string} options.recordingMediaOptions - The type of media being recorded ("video" or "audio").
|
|
37
|
-
* @param {number} options.recordingVideoPausesLimit - The maximum number of pauses allowed for video recording.
|
|
38
|
-
* @param {number} options.recordingAudioPausesLimit - The maximum number of pauses allowed for audio recording.
|
|
39
|
-
* @param {number} options.pauseRecordCount - The current number of pauses that have occurred.
|
|
40
|
-
* @returns {Promise<boolean>} - A promise that resolves to a boolean indicating whether the recording can be resumed.
|
|
41
|
-
*/
|
|
42
|
-
checkResumeState: ({ recordingMediaOptions, recordingVideoPausesLimit, recordingAudioPausesLimit, pauseRecordCount, }: CheckResumeStateOptions) => Promise<boolean>;
|
|
32
|
+
checkResumeState: (options: CheckResumeStateOptions) => Promise<boolean>;
|
|
43
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckResumeState, never>;
|
|
44
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<CheckResumeState>;
|
|
45
35
|
}
|
|
@@ -40,101 +40,7 @@ export interface ConfirmRecordingOptions {
|
|
|
40
40
|
parameters: ConfirmRecordingParameters;
|
|
41
41
|
}
|
|
42
42
|
export type ConfirmRecordingType = (options: ConfirmRecordingOptions) => Promise<void>;
|
|
43
|
-
/**
|
|
44
|
-
* Confirms the recording settings based on the provided parameters and updates the recording state.
|
|
45
|
-
*
|
|
46
|
-
* @param {ConfirmRecordingOptions} options - The options for confirming the recording.
|
|
47
|
-
* @param {ConfirmRecordingParameters} options.parameters - The parameters for the recording, including:
|
|
48
|
-
* - {ShowAlert} [options.parameters.showAlert] - Optional function to show alert messages.
|
|
49
|
-
* - {string} options.parameters.recordingMediaOptions - Type of media being recorded ("video" or "audio").
|
|
50
|
-
* - {string} options.parameters.recordingAudioOptions - Audio recording options.
|
|
51
|
-
* - {string} options.parameters.recordingVideoOptions - Video recording options.
|
|
52
|
-
* - {string} options.parameters.recordingVideoType - Type of video recording.
|
|
53
|
-
* - {'video' | 'media' | 'all'} options.parameters.recordingDisplayType - The display type for the recording.
|
|
54
|
-
* - {boolean} options.parameters.recordingNameTags - Flag for including name tags in the recording.
|
|
55
|
-
* - {string} options.parameters.recordingBackgroundColor - Background color for the recording.
|
|
56
|
-
* - {string} options.parameters.recordingNameTagsColor - Color for the name tags.
|
|
57
|
-
* - {string} options.parameters.recordingOrientationVideo - Orientation for video recording.
|
|
58
|
-
* - {boolean} options.parameters.recordingAddHLS - Flag for adding HLS support.
|
|
59
|
-
* - {boolean} options.parameters.recordingAddText - Flag for adding custom text.
|
|
60
|
-
* - {string} options.parameters.recordingCustomText - Custom text for the recording.
|
|
61
|
-
* - {string} options.parameters.recordingCustomTextPosition - Position of the custom text.
|
|
62
|
-
* - {string} options.parameters.recordingCustomTextColor - Color of the custom text.
|
|
63
|
-
* - {string} options.parameters.meetingDisplayType - Current display type of the meeting.
|
|
64
|
-
* - {boolean} options.parameters.recordingVideoParticipantsFullRoomSupport - Support for video participants in full room.
|
|
65
|
-
* - {boolean} options.parameters.recordingAllParticipantsSupport - Support for recording all participants.
|
|
66
|
-
* - {boolean} options.parameters.recordingVideoParticipantsSupport - Support for video participants.
|
|
67
|
-
* - {boolean} options.parameters.recordingSupportForOtherOrientation - Support for other orientations.
|
|
68
|
-
* - {string} options.parameters.recordingPreferredOrientation - Preferred orientation for recording.
|
|
69
|
-
* - {boolean} options.parameters.recordingMultiFormatsSupport - Support for multiple formats.
|
|
70
|
-
* - {boolean} options.parameters.recordingVideoOptimized - Flag for video optimization.
|
|
71
|
-
* - {boolean} options.parameters.recordingAllParticipantsFullRoomSupport - Support for recording all participants in full room.
|
|
72
|
-
* - {boolean} options.parameters.meetingVideoOptimized - Flag for meeting video optimization.
|
|
73
|
-
* - {EventType} options.parameters.eventType - Type of the event.
|
|
74
|
-
* - {boolean} options.parameters.breakOutRoomStarted - Indicates if a breakout room has started.
|
|
75
|
-
* - {boolean} options.parameters.breakOutRoomEnded - Indicates if a breakout room has ended.
|
|
76
|
-
* - {Function} options.parameters.updateRecordingDisplayType - Function to update the recording display type.
|
|
77
|
-
* - {Function} options.parameters.updateRecordingVideoOptimized - Function to update video optimization status.
|
|
78
|
-
* - {Function} options.parameters.updateUserRecordingParams - Function to update user recording parameters.
|
|
79
|
-
* - {Function} options.parameters.updateConfirmedToRecord - Function to confirm the recording.
|
|
80
|
-
*
|
|
81
|
-
* @returns {Promise<void>} A promise that resolves when the recording settings have been confirmed.
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
* This function performs several checks to ensure that the recording settings are valid based on the provided parameters.
|
|
85
|
-
* If any of the checks fail, an alert is shown and the function returns early without updating the recording state.
|
|
86
|
-
*
|
|
87
|
-
* The function checks for the following conditions:
|
|
88
|
-
* - Whether recording videos of all participants is allowed.
|
|
89
|
-
* - Whether recording all participants is allowed.
|
|
90
|
-
* - Whether recording other video participants is allowed.
|
|
91
|
-
* - Whether recording all orientations is allowed.
|
|
92
|
-
* - Whether recording the preferred orientation is allowed.
|
|
93
|
-
* - Whether recording all formats is allowed.
|
|
94
|
-
* - Whether the recording display type is valid based on the meeting display type.
|
|
95
|
-
* - Whether recording all participants with media is allowed.
|
|
96
|
-
*
|
|
97
|
-
* If all checks pass, the function constructs the `mainSpecs`, `dispSpecs`, and `textSpecs` objects based on the state variables,
|
|
98
|
-
* updates the user recording parameters, and confirms the recording.
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* ```typescript
|
|
102
|
-
* const options: ConfirmRecordingOptions = { parameters: someParameters };
|
|
103
|
-
* await confirmRecording(options);
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
43
|
export declare class ConfirmRecording {
|
|
107
|
-
/**
|
|
108
|
-
* Confirms the recording settings based on the provided parameters and updates the recording state.
|
|
109
|
-
*
|
|
110
|
-
* @param {ConfirmRecordingOptions} options - The options for confirming the recording.
|
|
111
|
-
* @param {Parameters} options.parameters - The parameters for the recording.
|
|
112
|
-
*
|
|
113
|
-
* @returns {Promise<void>} A promise that resolves when the recording settings have been confirmed.
|
|
114
|
-
*
|
|
115
|
-
* @remarks
|
|
116
|
-
* This function performs several checks to ensure that the recording settings are valid based on the provided parameters.
|
|
117
|
-
* If any of the checks fail, an alert is shown and the function returns early without updating the recording state.
|
|
118
|
-
*
|
|
119
|
-
* The function checks for the following conditions:
|
|
120
|
-
* - Whether recording videos of all participants is allowed.
|
|
121
|
-
* - Whether recording all participants is allowed.
|
|
122
|
-
* - Whether recording other video participants is allowed.
|
|
123
|
-
* - Whether recording all orientations is allowed.
|
|
124
|
-
* - Whether recording the preferred orientation is allowed.
|
|
125
|
-
* - Whether recording all formats is allowed.
|
|
126
|
-
* - Whether the recording display type is valid based on the meeting display type.
|
|
127
|
-
* - Whether recording all participants with media is allowed.
|
|
128
|
-
*
|
|
129
|
-
* If all checks pass, the function constructs the `mainSpecs`, `dispSpecs`, and `textSpecs` objects based on the state variables,
|
|
130
|
-
* updates the user recording parameters, and confirms the recording.
|
|
131
|
-
*
|
|
132
|
-
* @example
|
|
133
|
-
* ```typescript
|
|
134
|
-
* const options: ConfirmRecordingOptions = { parameters: someParameters };
|
|
135
|
-
* await confirmRecording(options);
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
44
|
confirmRecording: ({ parameters }: ConfirmRecordingOptions) => Promise<void>;
|
|
139
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmRecording, never>;
|
|
140
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmRecording>;
|
|
@@ -60,26 +60,7 @@ export type LaunchRecordingType = (options: LaunchRecordingOptions) => void;
|
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
62
|
export declare class LaunchRecording {
|
|
63
|
-
|
|
64
|
-
* Launches the recording process based on various conditions and updates the UI accordingly.
|
|
65
|
-
*
|
|
66
|
-
* @param {Object} options - The options for launching the recording.
|
|
67
|
-
* @param {Function} options.updateIsRecordingModalVisible - Function to update the visibility of the recording modal.
|
|
68
|
-
* @param {boolean} options.isRecordingModalVisible - Indicates if the recording modal is currently visible.
|
|
69
|
-
* @param {Function} options.showAlert - Function to show an alert message.
|
|
70
|
-
* @param {boolean} options.stopLaunchRecord - Indicates if the recording launch should be stopped.
|
|
71
|
-
* @param {boolean} options.canLaunchRecord - Indicates if the recording can be launched.
|
|
72
|
-
* @param {boolean} options.recordingAudioSupport - Indicates if audio recording is supported.
|
|
73
|
-
* @param {boolean} options.recordingVideoSupport - Indicates if video recording is supported.
|
|
74
|
-
* @param {Function} options.updateCanRecord - Function to update the recording capability.
|
|
75
|
-
* @param {Function} options.updateClearedToRecord - Function to update the cleared-to-record status.
|
|
76
|
-
* @param {boolean} options.recordStarted - Indicates if the recording has started.
|
|
77
|
-
* @param {boolean} options.recordPaused - Indicates if the recording is paused.
|
|
78
|
-
* @param {boolean} options.localUIMode - Indicates if the local UI mode is active.
|
|
79
|
-
*
|
|
80
|
-
* @returns {void}
|
|
81
|
-
*/
|
|
82
|
-
launchRecording({ updateIsRecordingModalVisible, isRecordingModalVisible, showAlert, stopLaunchRecord, canLaunchRecord, recordingAudioSupport, recordingVideoSupport, updateCanRecord, updateClearedToRecord, recordStarted, recordPaused, localUIMode, }: LaunchRecordingOptions): void;
|
|
63
|
+
launchRecording(options: LaunchRecordingOptions): void;
|
|
83
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<LaunchRecording, never>;
|
|
84
65
|
static ɵprov: i0.ɵɵInjectableDeclaration<LaunchRecording>;
|
|
85
66
|
}
|
|
@@ -35,18 +35,7 @@ export type RecordPauseTimerType = (options: RecordPauseTimerOptions) => boolean
|
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
export declare class RecordPauseTimer {
|
|
38
|
-
|
|
39
|
-
* Controls the pause and resume functionality of a recording timer.
|
|
40
|
-
*
|
|
41
|
-
* @param {Object} options - The options for controlling the timer.
|
|
42
|
-
* @param {boolean} [options.stop=false] - Indicates whether to stop the timer.
|
|
43
|
-
* @param {Object} options.parameters - The parameters for the timer control.
|
|
44
|
-
* @param {boolean} options.parameters.isTimerRunning - Indicates if the timer is currently running.
|
|
45
|
-
* @param {boolean} options.parameters.canPauseResume - Indicates if the timer can be paused or resumed.
|
|
46
|
-
* @param {Function} [options.parameters.showAlert] - Optional function to show an alert message.
|
|
47
|
-
* @returns {boolean} - Returns true if the timer can be paused or resumed, otherwise false.
|
|
48
|
-
*/
|
|
49
|
-
recordPauseTimer: ({ stop, isTimerRunning, canPauseResume, showAlert, }: RecordPauseTimerOptions) => boolean;
|
|
38
|
+
recordPauseTimer: (options: RecordPauseTimerOptions) => boolean;
|
|
50
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecordPauseTimer, never>;
|
|
51
40
|
static ɵprov: i0.ɵɵInjectableDeclaration<RecordPauseTimer>;
|
|
52
41
|
}
|