mediasfu-angular 2.1.6 → 2.2.1
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 +1560 -31
- package/dist/README.md +1560 -31
- package/dist/fesm2022/mediasfu-angular.mjs +1971 -1079
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/@types/custom-component.types.d.ts +130 -0
- package/dist/lib/@types/types.d.ts +5 -0
- package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +99 -17
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +99 -17
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +121 -21
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +121 -21
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +121 -21
- package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
- package/dist/lib/consumers/prepopulate-user-media.service.d.ts +3 -0
- package/dist/lib/methods/utils/create-room-on-media-sfu.service.d.ts +10 -8
- package/dist/lib/services/custom-component-injection.service.d.ts +86 -0
- package/dist/public-api.d.ts +1 -0
- package/package.json +15 -15
|
@@ -183,6 +183,10 @@ export type MediasfuConferenceOptions = {
|
|
|
183
183
|
* @input {CreateMediaSFURoomOptions | JoinMediaSFURoomOptions} noUIPreJoinOptions - Options for the prejoin page without UI.
|
|
184
184
|
* @input {JoinRoomOnMediaSFUType} joinMediaSFURoom - Function to join a room on MediaSFU.
|
|
185
185
|
* @input {CreateRoomOnMediaSFUType} createMediaSFURoom - Function to create a room on MediaSFU.
|
|
186
|
+
* @input {any} customVideoCard - Custom component to replace the default VideoCard component.
|
|
187
|
+
* @input {any} customAudioCard - Custom component to replace the default AudioCard component.
|
|
188
|
+
* @input {any} customMiniCard - Custom component to replace the default MiniCard component.
|
|
189
|
+
* @input {any} customMainComponent - Custom component that provides complete control over the main UI, bypassing default MediaSFU styling.
|
|
186
190
|
*
|
|
187
191
|
* @property {string} title - The title of the component, defaults to "MediaSFU-Conference".
|
|
188
192
|
*
|
|
@@ -208,13 +212,17 @@ export type MediasfuConferenceOptions = {
|
|
|
208
212
|
* [useLocalUIMode]="true"
|
|
209
213
|
* [seedData]="seedDataObject"
|
|
210
214
|
* [useSeed]="true"
|
|
211
|
-
* [imgSrc]="https://example.com/logo.png"
|
|
215
|
+
* [imgSrc]="'https://example.com/logo.png'"
|
|
212
216
|
* [sourceParameters]="{ source: 'camera', width: 640, height: 480 }"
|
|
213
217
|
* [updateSourceParameters]="updateSourceParameters"
|
|
214
218
|
* [returnUI]="true"
|
|
215
219
|
* [noUIPreJoinOptions]="{ roomName: 'room1', userName: 'user1' }"
|
|
216
220
|
* [joinMediaSFURoom]="joinMediaSFURoom"
|
|
217
|
-
* [createMediaSFURoom]="createMediaSFURoom"
|
|
221
|
+
* [createMediaSFURoom]="createMediaSFURoom"
|
|
222
|
+
* [customVideoCard]="CustomVideoCardComponent"
|
|
223
|
+
* [customAudioCard]="CustomAudioCardComponent"
|
|
224
|
+
* [customMiniCard]="CustomMiniCardComponent"
|
|
225
|
+
* [customMainComponent]="CustomMainComponent">
|
|
218
226
|
* </app-mediasfu-conference>
|
|
219
227
|
* ```
|
|
220
228
|
*/
|
|
@@ -359,6 +367,10 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
359
367
|
noUIPreJoinOptions?: CreateMediaSFURoomOptions | JoinMediaSFURoomOptions;
|
|
360
368
|
joinMediaSFURoom?: JoinRoomOnMediaSFUType;
|
|
361
369
|
createMediaSFURoom?: CreateRoomOnMediaSFUType;
|
|
370
|
+
customVideoCard: any;
|
|
371
|
+
customAudioCard: any;
|
|
372
|
+
customMiniCard: any;
|
|
373
|
+
customMainComponent: any;
|
|
362
374
|
title: string;
|
|
363
375
|
private mainHeightWidthSubscription;
|
|
364
376
|
private validatedSubscription;
|
|
@@ -369,6 +381,22 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
369
381
|
private recordingSubscription;
|
|
370
382
|
constructor(cdr: ChangeDetectorRef, injector: Injector, updateMiniCardsGrid: UpdateMiniCardsGrid, mixStreams: MixStreams, dispStreams: DispStreams, stopShareScreen: StopShareScreen, checkScreenShare: CheckScreenShare, startShareScreen: StartShareScreen, requestScreenShare: RequestScreenShare, reorderStreams: ReorderStreams, prepopulateUserMedia: PrepopulateUserMedia, getVideos: GetVideos, rePort: RePort, trigger: Trigger, consumerResume: ConsumerResume, connectSendTransport: ConnectSendTransport, connectSendTransportAudio: ConnectSendTransportAudio, connectSendTransportVideo: ConnectSendTransportVideo, connectSendTransportScreen: ConnectSendTransportScreen, processConsumerTransports: ProcessConsumerTransports, resumePauseStreams: ResumePauseStreams, readjust: Readjust, checkGrid: CheckGrid, getEstimate: GetEstimate, calculateRowsAndColumns: CalculateRowsAndColumns, addVideosGrid: AddVideosGrid, onScreenChanges: OnScreenChanges, changeVids: ChangeVids, compareActiveNames: CompareActiveNames, compareScreenStates: CompareScreenStates, createSendTransport: CreateSendTransport, resumeSendTransportAudio: ResumeSendTransportAudio, receiveAllPipedTransports: ReceiveAllPipedTransports, disconnectSendTransportVideo: DisconnectSendTransportVideo, disconnectSendTransportAudio: DisconnectSendTransportAudio, disconnectSendTransportScreen: DisconnectSendTransportScreen, getPipedProducersAlt: GetPipedProducersAlt, signalNewConsumerTransport: SignalNewConsumerTransport, connectRecvTransport: ConnectRecvTransport, reUpdateInter: ReUpdateInter, updateParticipantAudioDecibels: UpdateParticipantAudioDecibels, closeAndResize: CloseAndResize, autoAdjust: AutoAdjust, switchUserVideoAlt: SwitchUserVideoAlt, switchUserVideo: SwitchUserVideo, switchUserAudio: SwitchUserAudio, getDomains: GetDomains, formatNumber: FormatNumber, connectIps: ConnectIps, connectLocalIps: ConnectLocalIps, createDeviceClient: CreateDeviceClient, handleCreatePoll: HandleCreatePoll, handleEndPoll: HandleEndPoll, handleVotePoll: HandleVotePoll, captureCanvasStream: CaptureCanvasStream, resumePauseAudioStreams: ResumePauseAudioStreams, processConsumerTransportsAudio: ProcessConsumerTransportsAudio, launchMenuModal: LaunchMenuModal, launchRecording: LaunchRecording, startRecording: StartRecording, confirmRecording: ConfirmRecording, launchWaiting: LaunchWaiting, launchCoHost: launchCoHost, launchMediaSettings: LaunchMediaSettings, launchDisplaySettings: LaunchDisplaySettings, launchSettings: LaunchSettings, launchRequests: LaunchRequests, launchParticipants: LaunchParticipants, launchMessages: LaunchMessages, launchConfirmExit: LaunchConfirmExit, launchPoll: LaunchPoll, launchBreakoutRooms: LaunchBreakoutRooms, launchConfigureWhiteboard: LaunchConfigureWhiteboard, startMeetingProgressTimer: StartMeetingProgressTimer, updateRecording: UpdateRecording, stopRecording: StopRecording, userWaiting: UserWaiting, personJoined: PersonJoined, allWaitingRoomMembers: AllWaitingRoomMembers, roomRecordParams: RoomRecordParams, banParticipant: BanParticipant, updatedCoHost: UpdatedCoHost, participantRequested: ParticipantRequested, screenProducerId: ScreenProducerId, updateMediaSettings: UpdateMediaSettings, producerMediaPaused: ProducerMediaPaused, producerMediaResumed: ProducerMediaResumed, producerMediaClosed: ProducerMediaClosed, controlMediaHost: ControlMediaHost, meetingEnded: MeetingEnded, disconnectUserSelf: DisconnectUserSelf, receiveMessage: ReceiveMessage, meetingTimeRemaining: MeetingTimeRemaining, meetingStillThere: MeetingStillThere, startRecords: StartRecords, reInitiateRecording: ReInitiateRecording, recordingNotice: RecordingNotice, timeLeftRecording: TimeLeftRecording, stoppedRecording: StoppedRecording, hostRequestResponse: HostRequestResponse, allMembers: AllMembers, allMembersRest: AllMembersRest, disconnect: Disconnect, pollUpdated: PollUpdated, breakoutRoomUpdated: BreakoutRoomUpdated, socketManager: SocketManager, joinRoomClient: JoinRoomClient, joinLocalRoom: JoinLocalRoom, updateRoomParametersClient: UpdateRoomParametersClient, clickVideo: ClickVideo, clickAudio: ClickAudio, clickScreenShare: ClickScreenShare, streamSuccessVideo: StreamSuccessVideo, streamSuccessAudio: StreamSuccessAudio, streamSuccessScreen: StreamSuccessScreen, streamSuccessAudioSwitch: StreamSuccessAudioSwitch, checkPermission: CheckPermission, updateConsumingDomains: UpdateConsumingDomains, receiveRoomMessages: ReceiveRoomMessages);
|
|
371
383
|
createInjector(inputs: any): Injector;
|
|
384
|
+
/**
|
|
385
|
+
* Gets a list of media devices filtered by the specified kind.
|
|
386
|
+
* @param kind - The kind of media device to filter by ('videoinput' or 'audioinput')
|
|
387
|
+
* @returns A promise that resolves to an array of MediaDeviceInfo objects
|
|
388
|
+
*/
|
|
389
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
390
|
+
/**
|
|
391
|
+
* Gets the media stream for a participant by their ID or name.
|
|
392
|
+
* @param options - Object containing id, name, and kind parameters
|
|
393
|
+
* @returns A promise that resolves to the participant's MediaStream or null if not found
|
|
394
|
+
*/
|
|
395
|
+
getParticipantMedia: (options: {
|
|
396
|
+
id?: string;
|
|
397
|
+
name?: string;
|
|
398
|
+
kind: "video" | "audio";
|
|
399
|
+
}) => Promise<MediaStream | null>;
|
|
372
400
|
mediaSFUFunctions: () => {
|
|
373
401
|
updateMiniCardsGrid: ({ rows, cols, defal, actualRows, parameters, }: import("../../consumers/update-mini-cards-grid.service").UpdateMiniCardsGridOptions) => Promise<void>;
|
|
374
402
|
mixStreams: ({ alVideoStreams, non_alVideoStreams, ref_participants, }: import("../../consumers/mix-streams.service").MixStreamsOptions) => Promise<(Stream | Participant)[]>;
|
|
@@ -443,6 +471,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
443
471
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
444
472
|
requestPermissionCamera: () => Promise<string>;
|
|
445
473
|
requestPermissionAudio: () => Promise<string>;
|
|
474
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
475
|
+
getParticipantMedia: (options: {
|
|
476
|
+
id?: string;
|
|
477
|
+
name?: string;
|
|
478
|
+
kind: "video" | "audio";
|
|
479
|
+
}) => Promise<MediaStream | null>;
|
|
446
480
|
};
|
|
447
481
|
validated: BehaviorSubject<boolean>;
|
|
448
482
|
localUIMode: BehaviorSubject<boolean>;
|
|
@@ -893,7 +927,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
893
927
|
recordingVideoOptions: BehaviorSubject<string>;
|
|
894
928
|
recordingVideoType: BehaviorSubject<string>;
|
|
895
929
|
recordingVideoOptimized: BehaviorSubject<boolean>;
|
|
896
|
-
recordingDisplayType: BehaviorSubject<"video" | "
|
|
930
|
+
recordingDisplayType: BehaviorSubject<"video" | "media" | "all">;
|
|
897
931
|
recordingAddHLS: BehaviorSubject<boolean>;
|
|
898
932
|
recordingNameTags: BehaviorSubject<boolean>;
|
|
899
933
|
recordingBackgroundColor: BehaviorSubject<string>;
|
|
@@ -1121,7 +1155,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
1121
1155
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
1122
1156
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
1123
1157
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
1124
|
-
checkOrientation: () => "
|
|
1158
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
1125
1159
|
showAlert: ({ message, type, duration, }: {
|
|
1126
1160
|
message: string;
|
|
1127
1161
|
type: "success" | "danger";
|
|
@@ -1364,7 +1398,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
1364
1398
|
recordingVideoOptions: string;
|
|
1365
1399
|
recordingVideoType: string;
|
|
1366
1400
|
recordingVideoOptimized: boolean;
|
|
1367
|
-
recordingDisplayType: "video" | "
|
|
1401
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
1368
1402
|
recordingAddHLS: boolean;
|
|
1369
1403
|
recordingAddText: boolean;
|
|
1370
1404
|
recordingCustomText: string;
|
|
@@ -1765,11 +1799,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
1765
1799
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
1766
1800
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
1767
1801
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
1768
|
-
checkOrientation: () => "
|
|
1802
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
1769
1803
|
updateDevice: (value: Device | null) => void;
|
|
1770
1804
|
updateSocket: (value: Socket) => void;
|
|
1771
1805
|
updateLocalSocket: (value: Socket | null) => void;
|
|
1772
1806
|
updateValidated: (value: boolean) => void;
|
|
1807
|
+
customVideoCard: any;
|
|
1808
|
+
customAudioCard: any;
|
|
1809
|
+
customMiniCard: any;
|
|
1773
1810
|
showAlert: ({ message, type, duration, }: {
|
|
1774
1811
|
message: string;
|
|
1775
1812
|
type: "success" | "danger";
|
|
@@ -1849,6 +1886,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
1849
1886
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
1850
1887
|
requestPermissionCamera: () => Promise<string>;
|
|
1851
1888
|
requestPermissionAudio: () => Promise<string>;
|
|
1889
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
1890
|
+
getParticipantMedia: (options: {
|
|
1891
|
+
id?: string;
|
|
1892
|
+
name?: string;
|
|
1893
|
+
kind: "video" | "audio";
|
|
1894
|
+
}) => Promise<MediaStream | null>;
|
|
1852
1895
|
localUIMode: boolean;
|
|
1853
1896
|
roomName: string;
|
|
1854
1897
|
member: string;
|
|
@@ -2085,7 +2128,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
2085
2128
|
recordingVideoOptions: string;
|
|
2086
2129
|
recordingVideoType: string;
|
|
2087
2130
|
recordingVideoOptimized: boolean;
|
|
2088
|
-
recordingDisplayType: "video" | "
|
|
2131
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
2089
2132
|
recordingAddHLS: boolean;
|
|
2090
2133
|
recordingAddText: boolean;
|
|
2091
2134
|
recordingCustomText: string;
|
|
@@ -2486,11 +2529,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
2486
2529
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
2487
2530
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
2488
2531
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
2489
|
-
checkOrientation: () => "
|
|
2532
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
2490
2533
|
updateDevice: (value: Device | null) => void;
|
|
2491
2534
|
updateSocket: (value: Socket) => void;
|
|
2492
2535
|
updateLocalSocket: (value: Socket | null) => void;
|
|
2493
2536
|
updateValidated: (value: boolean) => void;
|
|
2537
|
+
customVideoCard: any;
|
|
2538
|
+
customAudioCard: any;
|
|
2539
|
+
customMiniCard: any;
|
|
2494
2540
|
showAlert: ({ message, type, duration, }: {
|
|
2495
2541
|
message: string;
|
|
2496
2542
|
type: "success" | "danger";
|
|
@@ -2573,6 +2619,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
2573
2619
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
2574
2620
|
requestPermissionCamera: () => Promise<string>;
|
|
2575
2621
|
requestPermissionAudio: () => Promise<string>;
|
|
2622
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
2623
|
+
getParticipantMedia: (options: {
|
|
2624
|
+
id?: string;
|
|
2625
|
+
name?: string;
|
|
2626
|
+
kind: "video" | "audio";
|
|
2627
|
+
}) => Promise<MediaStream | null>;
|
|
2576
2628
|
localUIMode: boolean;
|
|
2577
2629
|
roomName: string;
|
|
2578
2630
|
member: string;
|
|
@@ -2809,7 +2861,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
2809
2861
|
recordingVideoOptions: string;
|
|
2810
2862
|
recordingVideoType: string;
|
|
2811
2863
|
recordingVideoOptimized: boolean;
|
|
2812
|
-
recordingDisplayType: "video" | "
|
|
2864
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
2813
2865
|
recordingAddHLS: boolean;
|
|
2814
2866
|
recordingAddText: boolean;
|
|
2815
2867
|
recordingCustomText: string;
|
|
@@ -3210,11 +3262,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
3210
3262
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
3211
3263
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
3212
3264
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
3213
|
-
checkOrientation: () => "
|
|
3265
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
3214
3266
|
updateDevice: (value: Device | null) => void;
|
|
3215
3267
|
updateSocket: (value: Socket) => void;
|
|
3216
3268
|
updateLocalSocket: (value: Socket | null) => void;
|
|
3217
3269
|
updateValidated: (value: boolean) => void;
|
|
3270
|
+
customVideoCard: any;
|
|
3271
|
+
customAudioCard: any;
|
|
3272
|
+
customMiniCard: any;
|
|
3218
3273
|
showAlert: ({ message, type, duration, }: {
|
|
3219
3274
|
message: string;
|
|
3220
3275
|
type: "success" | "danger";
|
|
@@ -3294,6 +3349,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
3294
3349
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
3295
3350
|
requestPermissionCamera: () => Promise<string>;
|
|
3296
3351
|
requestPermissionAudio: () => Promise<string>;
|
|
3352
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
3353
|
+
getParticipantMedia: (options: {
|
|
3354
|
+
id?: string;
|
|
3355
|
+
name?: string;
|
|
3356
|
+
kind: "video" | "audio";
|
|
3357
|
+
}) => Promise<MediaStream | null>;
|
|
3297
3358
|
localUIMode: boolean;
|
|
3298
3359
|
roomName: string;
|
|
3299
3360
|
member: string;
|
|
@@ -3530,7 +3591,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
3530
3591
|
recordingVideoOptions: string;
|
|
3531
3592
|
recordingVideoType: string;
|
|
3532
3593
|
recordingVideoOptimized: boolean;
|
|
3533
|
-
recordingDisplayType: "video" | "
|
|
3594
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
3534
3595
|
recordingAddHLS: boolean;
|
|
3535
3596
|
recordingAddText: boolean;
|
|
3536
3597
|
recordingCustomText: string;
|
|
@@ -3931,11 +3992,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
3931
3992
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
3932
3993
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
3933
3994
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
3934
|
-
checkOrientation: () => "
|
|
3995
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
3935
3996
|
updateDevice: (value: Device | null) => void;
|
|
3936
3997
|
updateSocket: (value: Socket) => void;
|
|
3937
3998
|
updateLocalSocket: (value: Socket | null) => void;
|
|
3938
3999
|
updateValidated: (value: boolean) => void;
|
|
4000
|
+
customVideoCard: any;
|
|
4001
|
+
customAudioCard: any;
|
|
4002
|
+
customMiniCard: any;
|
|
3939
4003
|
showAlert: ({ message, type, duration, }: {
|
|
3940
4004
|
message: string;
|
|
3941
4005
|
type: "success" | "danger";
|
|
@@ -4018,6 +4082,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
4018
4082
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
4019
4083
|
requestPermissionCamera: () => Promise<string>;
|
|
4020
4084
|
requestPermissionAudio: () => Promise<string>;
|
|
4085
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
4086
|
+
getParticipantMedia: (options: {
|
|
4087
|
+
id?: string;
|
|
4088
|
+
name?: string;
|
|
4089
|
+
kind: "video" | "audio";
|
|
4090
|
+
}) => Promise<MediaStream | null>;
|
|
4021
4091
|
localUIMode: boolean;
|
|
4022
4092
|
roomName: string;
|
|
4023
4093
|
member: string;
|
|
@@ -4254,7 +4324,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
4254
4324
|
recordingVideoOptions: string;
|
|
4255
4325
|
recordingVideoType: string;
|
|
4256
4326
|
recordingVideoOptimized: boolean;
|
|
4257
|
-
recordingDisplayType: "video" | "
|
|
4327
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
4258
4328
|
recordingAddHLS: boolean;
|
|
4259
4329
|
recordingAddText: boolean;
|
|
4260
4330
|
recordingCustomText: string;
|
|
@@ -4655,11 +4725,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
4655
4725
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
4656
4726
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
4657
4727
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
4658
|
-
checkOrientation: () => "
|
|
4728
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
4659
4729
|
updateDevice: (value: Device | null) => void;
|
|
4660
4730
|
updateSocket: (value: Socket) => void;
|
|
4661
4731
|
updateLocalSocket: (value: Socket | null) => void;
|
|
4662
4732
|
updateValidated: (value: boolean) => void;
|
|
4733
|
+
customVideoCard: any;
|
|
4734
|
+
customAudioCard: any;
|
|
4735
|
+
customMiniCard: any;
|
|
4663
4736
|
showAlert: ({ message, type, duration, }: {
|
|
4664
4737
|
message: string;
|
|
4665
4738
|
type: "success" | "danger";
|
|
@@ -4739,6 +4812,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
4739
4812
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
4740
4813
|
requestPermissionCamera: () => Promise<string>;
|
|
4741
4814
|
requestPermissionAudio: () => Promise<string>;
|
|
4815
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
4816
|
+
getParticipantMedia: (options: {
|
|
4817
|
+
id?: string;
|
|
4818
|
+
name?: string;
|
|
4819
|
+
kind: "video" | "audio";
|
|
4820
|
+
}) => Promise<MediaStream | null>;
|
|
4742
4821
|
localUIMode: boolean;
|
|
4743
4822
|
roomName: string;
|
|
4744
4823
|
member: string;
|
|
@@ -4975,7 +5054,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
4975
5054
|
recordingVideoOptions: string;
|
|
4976
5055
|
recordingVideoType: string;
|
|
4977
5056
|
recordingVideoOptimized: boolean;
|
|
4978
|
-
recordingDisplayType: "video" | "
|
|
5057
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
4979
5058
|
recordingAddHLS: boolean;
|
|
4980
5059
|
recordingAddText: boolean;
|
|
4981
5060
|
recordingCustomText: string;
|
|
@@ -5376,11 +5455,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
5376
5455
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
5377
5456
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
5378
5457
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
5379
|
-
checkOrientation: () => "
|
|
5458
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
5380
5459
|
updateDevice: (value: Device | null) => void;
|
|
5381
5460
|
updateSocket: (value: Socket) => void;
|
|
5382
5461
|
updateLocalSocket: (value: Socket | null) => void;
|
|
5383
5462
|
updateValidated: (value: boolean) => void;
|
|
5463
|
+
customVideoCard: any;
|
|
5464
|
+
customAudioCard: any;
|
|
5465
|
+
customMiniCard: any;
|
|
5384
5466
|
showAlert: ({ message, type, duration, }: {
|
|
5385
5467
|
message: string;
|
|
5386
5468
|
type: "success" | "danger";
|
|
@@ -5554,6 +5636,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
5554
5636
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
5555
5637
|
requestPermissionCamera: () => Promise<string>;
|
|
5556
5638
|
requestPermissionAudio: () => Promise<string>;
|
|
5639
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
5640
|
+
getParticipantMedia: (options: {
|
|
5641
|
+
id?: string;
|
|
5642
|
+
name?: string;
|
|
5643
|
+
kind: "video" | "audio";
|
|
5644
|
+
}) => Promise<MediaStream | null>;
|
|
5557
5645
|
localUIMode: boolean;
|
|
5558
5646
|
roomName: string;
|
|
5559
5647
|
member: string;
|
|
@@ -5790,7 +5878,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
5790
5878
|
recordingVideoOptions: string;
|
|
5791
5879
|
recordingVideoType: string;
|
|
5792
5880
|
recordingVideoOptimized: boolean;
|
|
5793
|
-
recordingDisplayType: "video" | "
|
|
5881
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
5794
5882
|
recordingAddHLS: boolean;
|
|
5795
5883
|
recordingAddText: boolean;
|
|
5796
5884
|
recordingCustomText: string;
|
|
@@ -6191,11 +6279,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
6191
6279
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
6192
6280
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
6193
6281
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
6194
|
-
checkOrientation: () => "
|
|
6282
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
6195
6283
|
updateDevice: (value: Device | null) => void;
|
|
6196
6284
|
updateSocket: (value: Socket) => void;
|
|
6197
6285
|
updateLocalSocket: (value: Socket | null) => void;
|
|
6198
6286
|
updateValidated: (value: boolean) => void;
|
|
6287
|
+
customVideoCard: any;
|
|
6288
|
+
customAudioCard: any;
|
|
6289
|
+
customMiniCard: any;
|
|
6199
6290
|
showAlert: ({ message, type, duration, }: {
|
|
6200
6291
|
message: string;
|
|
6201
6292
|
type: "success" | "danger";
|
|
@@ -6275,6 +6366,12 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
6275
6366
|
clickScreenShare: ({ parameters }: import("../../@types/types").ClickScreenShareOptions) => Promise<void>;
|
|
6276
6367
|
requestPermissionCamera: () => Promise<string>;
|
|
6277
6368
|
requestPermissionAudio: () => Promise<string>;
|
|
6369
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
6370
|
+
getParticipantMedia: (options: {
|
|
6371
|
+
id?: string;
|
|
6372
|
+
name?: string;
|
|
6373
|
+
kind: "video" | "audio";
|
|
6374
|
+
}) => Promise<MediaStream | null>;
|
|
6278
6375
|
localUIMode: boolean;
|
|
6279
6376
|
roomName: string;
|
|
6280
6377
|
member: string;
|
|
@@ -6511,7 +6608,7 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
6511
6608
|
recordingVideoOptions: string;
|
|
6512
6609
|
recordingVideoType: string;
|
|
6513
6610
|
recordingVideoOptimized: boolean;
|
|
6514
|
-
recordingDisplayType: "video" | "
|
|
6611
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
6515
6612
|
recordingAddHLS: boolean;
|
|
6516
6613
|
recordingAddText: boolean;
|
|
6517
6614
|
recordingCustomText: string;
|
|
@@ -6912,11 +7009,14 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
6912
7009
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
6913
7010
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
6914
7011
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
6915
|
-
checkOrientation: () => "
|
|
7012
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
6916
7013
|
updateDevice: (value: Device | null) => void;
|
|
6917
7014
|
updateSocket: (value: Socket) => void;
|
|
6918
7015
|
updateLocalSocket: (value: Socket | null) => void;
|
|
6919
7016
|
updateValidated: (value: boolean) => void;
|
|
7017
|
+
customVideoCard: any;
|
|
7018
|
+
customAudioCard: any;
|
|
7019
|
+
customMiniCard: any;
|
|
6920
7020
|
showAlert: ({ message, type, duration, }: {
|
|
6921
7021
|
message: string;
|
|
6922
7022
|
type: "success" | "danger";
|
|
@@ -7021,5 +7121,5 @@ export declare class MediasfuConference implements OnInit, OnDestroy {
|
|
|
7021
7121
|
})[];
|
|
7022
7122
|
connect_Socket(apiUserName: string, token: string, skipSockets?: boolean): Promise<Socket | null>;
|
|
7023
7123
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediasfuConference, never>;
|
|
7024
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuConference, "app-mediasfu-conference", never, { "PrejoinPage": { "alias": "PrejoinPage"; "required": false; }; "localLink": { "alias": "localLink"; "required": false; }; "connectMediaSFU": { "alias": "connectMediaSFU"; "required": false; }; "credentials": { "alias": "credentials"; "required": false; }; "useLocalUIMode": { "alias": "useLocalUIMode"; "required": false; }; "seedData": { "alias": "seedData"; "required": false; }; "useSeed": { "alias": "useSeed"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "sourceParameters": { "alias": "sourceParameters"; "required": false; }; "updateSourceParameters": { "alias": "updateSourceParameters"; "required": false; }; "returnUI": { "alias": "returnUI"; "required": false; }; "noUIPreJoinOptions": { "alias": "noUIPreJoinOptions"; "required": false; }; "joinMediaSFURoom": { "alias": "joinMediaSFURoom"; "required": false; }; "createMediaSFURoom": { "alias": "createMediaSFURoom"; "required": false; }; }, {}, never, never, true, never>;
|
|
7124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuConference, "app-mediasfu-conference", never, { "PrejoinPage": { "alias": "PrejoinPage"; "required": false; }; "localLink": { "alias": "localLink"; "required": false; }; "connectMediaSFU": { "alias": "connectMediaSFU"; "required": false; }; "credentials": { "alias": "credentials"; "required": false; }; "useLocalUIMode": { "alias": "useLocalUIMode"; "required": false; }; "seedData": { "alias": "seedData"; "required": false; }; "useSeed": { "alias": "useSeed"; "required": false; }; "imgSrc": { "alias": "imgSrc"; "required": false; }; "sourceParameters": { "alias": "sourceParameters"; "required": false; }; "updateSourceParameters": { "alias": "updateSourceParameters"; "required": false; }; "returnUI": { "alias": "returnUI"; "required": false; }; "noUIPreJoinOptions": { "alias": "noUIPreJoinOptions"; "required": false; }; "joinMediaSFURoom": { "alias": "joinMediaSFURoom"; "required": false; }; "createMediaSFURoom": { "alias": "createMediaSFURoom"; "required": false; }; "customVideoCard": { "alias": "customVideoCard"; "required": false; }; "customAudioCard": { "alias": "customAudioCard"; "required": false; }; "customMiniCard": { "alias": "customMiniCard"; "required": false; }; "customMainComponent": { "alias": "customMainComponent"; "required": false; }; }, {}, never, never, true, never>;
|
|
7025
7125
|
}
|