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.
@@ -184,6 +184,10 @@ export type MediasfuGenericOptions = {
184
184
  * @input {CreateMediaSFURoomOptions | JoinMediaSFURoomOptions} noUIPreJoinOptions - Options for the prejoin page without UI.
185
185
  * @input {JoinRoomOnMediaSFUType} joinMediaSFURoom - Function to join a room on MediaSFU.
186
186
  * @input {CreateRoomOnMediaSFUType} createMediaSFURoom - Function to create a room on MediaSFU.
187
+ * @input {any} customVideoCard - Custom component to replace the default VideoCard component.
188
+ * @input {any} customAudioCard - Custom component to replace the default AudioCard component.
189
+ * @input {any} customMiniCard - Custom component to replace the default MiniCard component.
190
+ * @input {any} customMainComponent - Custom component that provides complete control over the main UI, bypassing default MediaSFU styling.
187
191
  *
188
192
  * @property {string} title - The title of the component, defaults to "MediaSFU-Generic".
189
193
  *
@@ -209,13 +213,17 @@ export type MediasfuGenericOptions = {
209
213
  * [useLocalUIMode]="true"
210
214
  * [seedData]="seedDataObject"
211
215
  * [useSeed]="true"
212
- * [imgSrc]="https://example.com/logo.png">
216
+ * [imgSrc]="'https://example.com/logo.png'"
213
217
  * [sourceParameters]="{ source: 'camera', width: 640, height: 480 }"
214
218
  * [updateSourceParameters]="updateSourceParameters"
215
219
  * [returnUI]="true"
216
220
  * [noUIPreJoinOptions]="{ roomName: 'room1', userName: 'user1' }"
217
221
  * [joinMediaSFURoom]="joinMediaSFURoom"
218
- * [createMediaSFURoom]="createMediaSFURoom">
222
+ * [createMediaSFURoom]="createMediaSFURoom"
223
+ * [customVideoCard]="CustomVideoCardComponent"
224
+ * [customAudioCard]="CustomAudioCardComponent"
225
+ * [customMiniCard]="CustomMiniCardComponent"
226
+ * [customMainComponent]="CustomMainComponent">
219
227
  * </app-mediasfu-generic>
220
228
  * ```
221
229
  */
@@ -361,6 +369,10 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
361
369
  noUIPreJoinOptions?: CreateMediaSFURoomOptions | JoinMediaSFURoomOptions;
362
370
  joinMediaSFURoom?: JoinRoomOnMediaSFUType;
363
371
  createMediaSFURoom?: CreateRoomOnMediaSFUType;
372
+ customVideoCard?: any;
373
+ customAudioCard?: any;
374
+ customMiniCard?: any;
375
+ customMainComponent?: any;
364
376
  title: string;
365
377
  private mainHeightWidthSubscription;
366
378
  private validatedSubscription;
@@ -371,6 +383,22 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
371
383
  private recordingSubscription;
372
384
  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, switchVideoAlt: SwitchVideoAlt, streamSuccessVideo: StreamSuccessVideo, streamSuccessAudio: StreamSuccessAudio, streamSuccessScreen: StreamSuccessScreen, streamSuccessAudioSwitch: StreamSuccessAudioSwitch, checkPermission: CheckPermission, updateConsumingDomains: UpdateConsumingDomains, receiveRoomMessages: ReceiveRoomMessages);
373
385
  createInjector(inputs: any): Injector;
386
+ /**
387
+ * Gets a list of media devices filtered by the specified kind.
388
+ * @param kind - The kind of media device to filter by ('videoinput' or 'audioinput')
389
+ * @returns A promise that resolves to an array of MediaDeviceInfo objects
390
+ */
391
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
392
+ /**
393
+ * Gets the media stream for a participant by their ID or name.
394
+ * @param options - Object containing id, name, and kind parameters
395
+ * @returns A promise that resolves to the participant's MediaStream or null if not found
396
+ */
397
+ getParticipantMedia: (options: {
398
+ id?: string;
399
+ name?: string;
400
+ kind: "video" | "audio";
401
+ }) => Promise<MediaStream | null>;
374
402
  mediaSFUFunctions: () => {
375
403
  updateMiniCardsGrid: ({ rows, cols, defal, actualRows, parameters, }: import("../../consumers/update-mini-cards-grid.service").UpdateMiniCardsGridOptions) => Promise<void>;
376
404
  mixStreams: ({ alVideoStreams, non_alVideoStreams, ref_participants, }: import("../../consumers/mix-streams.service").MixStreamsOptions) => Promise<(Stream | Participant)[]>;
@@ -446,6 +474,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
446
474
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
447
475
  requestPermissionCamera: () => Promise<string>;
448
476
  requestPermissionAudio: () => Promise<string>;
477
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
478
+ getParticipantMedia: (options: {
479
+ id?: string;
480
+ name?: string;
481
+ kind: "video" | "audio";
482
+ }) => Promise<MediaStream | null>;
449
483
  };
450
484
  validated: BehaviorSubject<boolean>;
451
485
  localUIMode: BehaviorSubject<boolean>;
@@ -896,7 +930,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
896
930
  recordingVideoOptions: BehaviorSubject<string>;
897
931
  recordingVideoType: BehaviorSubject<string>;
898
932
  recordingVideoOptimized: BehaviorSubject<boolean>;
899
- recordingDisplayType: BehaviorSubject<"video" | "all" | "media">;
933
+ recordingDisplayType: BehaviorSubject<"video" | "media" | "all">;
900
934
  recordingAddHLS: BehaviorSubject<boolean>;
901
935
  recordingNameTags: BehaviorSubject<boolean>;
902
936
  recordingBackgroundColor: BehaviorSubject<string>;
@@ -1124,7 +1158,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
1124
1158
  updateAnnotateScreenStream: (value: boolean) => void;
1125
1159
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
1126
1160
  updateIsScreenboardModalVisible: (value: boolean) => void;
1127
- checkOrientation: () => "landscape" | "portrait";
1161
+ checkOrientation: () => "portrait" | "landscape";
1128
1162
  showAlert: ({ message, type, duration, }: {
1129
1163
  message: string;
1130
1164
  type: "success" | "danger";
@@ -1367,7 +1401,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
1367
1401
  recordingVideoOptions: string;
1368
1402
  recordingVideoType: string;
1369
1403
  recordingVideoOptimized: boolean;
1370
- recordingDisplayType: "video" | "all" | "media";
1404
+ recordingDisplayType: "video" | "media" | "all";
1371
1405
  recordingAddHLS: boolean;
1372
1406
  recordingAddText: boolean;
1373
1407
  recordingCustomText: string;
@@ -1768,11 +1802,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
1768
1802
  updateAnnotateScreenStream: (value: boolean) => void;
1769
1803
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
1770
1804
  updateIsScreenboardModalVisible: (value: boolean) => void;
1771
- checkOrientation: () => "landscape" | "portrait";
1805
+ checkOrientation: () => "portrait" | "landscape";
1772
1806
  updateDevice: (value: Device | null) => void;
1773
1807
  updateSocket: (value: Socket) => void;
1774
1808
  updateLocalSocket: (value: Socket | null) => void;
1775
1809
  updateValidated: (value: boolean) => void;
1810
+ customVideoCard: any;
1811
+ customAudioCard: any;
1812
+ customMiniCard: any;
1776
1813
  showAlert: ({ message, type, duration, }: {
1777
1814
  message: string;
1778
1815
  type: "success" | "danger";
@@ -1853,6 +1890,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
1853
1890
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
1854
1891
  requestPermissionCamera: () => Promise<string>;
1855
1892
  requestPermissionAudio: () => Promise<string>;
1893
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
1894
+ getParticipantMedia: (options: {
1895
+ id?: string;
1896
+ name?: string;
1897
+ kind: "video" | "audio";
1898
+ }) => Promise<MediaStream | null>;
1856
1899
  localUIMode: boolean;
1857
1900
  roomName: string;
1858
1901
  member: string;
@@ -2089,7 +2132,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
2089
2132
  recordingVideoOptions: string;
2090
2133
  recordingVideoType: string;
2091
2134
  recordingVideoOptimized: boolean;
2092
- recordingDisplayType: "video" | "all" | "media";
2135
+ recordingDisplayType: "video" | "media" | "all";
2093
2136
  recordingAddHLS: boolean;
2094
2137
  recordingAddText: boolean;
2095
2138
  recordingCustomText: string;
@@ -2490,11 +2533,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
2490
2533
  updateAnnotateScreenStream: (value: boolean) => void;
2491
2534
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
2492
2535
  updateIsScreenboardModalVisible: (value: boolean) => void;
2493
- checkOrientation: () => "landscape" | "portrait";
2536
+ checkOrientation: () => "portrait" | "landscape";
2494
2537
  updateDevice: (value: Device | null) => void;
2495
2538
  updateSocket: (value: Socket) => void;
2496
2539
  updateLocalSocket: (value: Socket | null) => void;
2497
2540
  updateValidated: (value: boolean) => void;
2541
+ customVideoCard: any;
2542
+ customAudioCard: any;
2543
+ customMiniCard: any;
2498
2544
  showAlert: ({ message, type, duration, }: {
2499
2545
  message: string;
2500
2546
  type: "success" | "danger";
@@ -2578,6 +2624,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
2578
2624
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
2579
2625
  requestPermissionCamera: () => Promise<string>;
2580
2626
  requestPermissionAudio: () => Promise<string>;
2627
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
2628
+ getParticipantMedia: (options: {
2629
+ id?: string;
2630
+ name?: string;
2631
+ kind: "video" | "audio";
2632
+ }) => Promise<MediaStream | null>;
2581
2633
  localUIMode: boolean;
2582
2634
  roomName: string;
2583
2635
  member: string;
@@ -2814,7 +2866,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
2814
2866
  recordingVideoOptions: string;
2815
2867
  recordingVideoType: string;
2816
2868
  recordingVideoOptimized: boolean;
2817
- recordingDisplayType: "video" | "all" | "media";
2869
+ recordingDisplayType: "video" | "media" | "all";
2818
2870
  recordingAddHLS: boolean;
2819
2871
  recordingAddText: boolean;
2820
2872
  recordingCustomText: string;
@@ -3215,11 +3267,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
3215
3267
  updateAnnotateScreenStream: (value: boolean) => void;
3216
3268
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
3217
3269
  updateIsScreenboardModalVisible: (value: boolean) => void;
3218
- checkOrientation: () => "landscape" | "portrait";
3270
+ checkOrientation: () => "portrait" | "landscape";
3219
3271
  updateDevice: (value: Device | null) => void;
3220
3272
  updateSocket: (value: Socket) => void;
3221
3273
  updateLocalSocket: (value: Socket | null) => void;
3222
3274
  updateValidated: (value: boolean) => void;
3275
+ customVideoCard: any;
3276
+ customAudioCard: any;
3277
+ customMiniCard: any;
3223
3278
  showAlert: ({ message, type, duration, }: {
3224
3279
  message: string;
3225
3280
  type: "success" | "danger";
@@ -3300,6 +3355,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
3300
3355
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
3301
3356
  requestPermissionCamera: () => Promise<string>;
3302
3357
  requestPermissionAudio: () => Promise<string>;
3358
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
3359
+ getParticipantMedia: (options: {
3360
+ id?: string;
3361
+ name?: string;
3362
+ kind: "video" | "audio";
3363
+ }) => Promise<MediaStream | null>;
3303
3364
  localUIMode: boolean;
3304
3365
  roomName: string;
3305
3366
  member: string;
@@ -3536,7 +3597,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
3536
3597
  recordingVideoOptions: string;
3537
3598
  recordingVideoType: string;
3538
3599
  recordingVideoOptimized: boolean;
3539
- recordingDisplayType: "video" | "all" | "media";
3600
+ recordingDisplayType: "video" | "media" | "all";
3540
3601
  recordingAddHLS: boolean;
3541
3602
  recordingAddText: boolean;
3542
3603
  recordingCustomText: string;
@@ -3937,11 +3998,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
3937
3998
  updateAnnotateScreenStream: (value: boolean) => void;
3938
3999
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
3939
4000
  updateIsScreenboardModalVisible: (value: boolean) => void;
3940
- checkOrientation: () => "landscape" | "portrait";
4001
+ checkOrientation: () => "portrait" | "landscape";
3941
4002
  updateDevice: (value: Device | null) => void;
3942
4003
  updateSocket: (value: Socket) => void;
3943
4004
  updateLocalSocket: (value: Socket | null) => void;
3944
4005
  updateValidated: (value: boolean) => void;
4006
+ customVideoCard: any;
4007
+ customAudioCard: any;
4008
+ customMiniCard: any;
3945
4009
  showAlert: ({ message, type, duration, }: {
3946
4010
  message: string;
3947
4011
  type: "success" | "danger";
@@ -4025,6 +4089,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
4025
4089
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
4026
4090
  requestPermissionCamera: () => Promise<string>;
4027
4091
  requestPermissionAudio: () => Promise<string>;
4092
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
4093
+ getParticipantMedia: (options: {
4094
+ id?: string;
4095
+ name?: string;
4096
+ kind: "video" | "audio";
4097
+ }) => Promise<MediaStream | null>;
4028
4098
  localUIMode: boolean;
4029
4099
  roomName: string;
4030
4100
  member: string;
@@ -4261,7 +4331,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
4261
4331
  recordingVideoOptions: string;
4262
4332
  recordingVideoType: string;
4263
4333
  recordingVideoOptimized: boolean;
4264
- recordingDisplayType: "video" | "all" | "media";
4334
+ recordingDisplayType: "video" | "media" | "all";
4265
4335
  recordingAddHLS: boolean;
4266
4336
  recordingAddText: boolean;
4267
4337
  recordingCustomText: string;
@@ -4662,11 +4732,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
4662
4732
  updateAnnotateScreenStream: (value: boolean) => void;
4663
4733
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
4664
4734
  updateIsScreenboardModalVisible: (value: boolean) => void;
4665
- checkOrientation: () => "landscape" | "portrait";
4735
+ checkOrientation: () => "portrait" | "landscape";
4666
4736
  updateDevice: (value: Device | null) => void;
4667
4737
  updateSocket: (value: Socket) => void;
4668
4738
  updateLocalSocket: (value: Socket | null) => void;
4669
4739
  updateValidated: (value: boolean) => void;
4740
+ customVideoCard: any;
4741
+ customAudioCard: any;
4742
+ customMiniCard: any;
4670
4743
  showAlert: ({ message, type, duration, }: {
4671
4744
  message: string;
4672
4745
  type: "success" | "danger";
@@ -4747,6 +4820,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
4747
4820
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
4748
4821
  requestPermissionCamera: () => Promise<string>;
4749
4822
  requestPermissionAudio: () => Promise<string>;
4823
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
4824
+ getParticipantMedia: (options: {
4825
+ id?: string;
4826
+ name?: string;
4827
+ kind: "video" | "audio";
4828
+ }) => Promise<MediaStream | null>;
4750
4829
  localUIMode: boolean;
4751
4830
  roomName: string;
4752
4831
  member: string;
@@ -4983,7 +5062,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
4983
5062
  recordingVideoOptions: string;
4984
5063
  recordingVideoType: string;
4985
5064
  recordingVideoOptimized: boolean;
4986
- recordingDisplayType: "video" | "all" | "media";
5065
+ recordingDisplayType: "video" | "media" | "all";
4987
5066
  recordingAddHLS: boolean;
4988
5067
  recordingAddText: boolean;
4989
5068
  recordingCustomText: string;
@@ -5384,11 +5463,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
5384
5463
  updateAnnotateScreenStream: (value: boolean) => void;
5385
5464
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
5386
5465
  updateIsScreenboardModalVisible: (value: boolean) => void;
5387
- checkOrientation: () => "landscape" | "portrait";
5466
+ checkOrientation: () => "portrait" | "landscape";
5388
5467
  updateDevice: (value: Device | null) => void;
5389
5468
  updateSocket: (value: Socket) => void;
5390
5469
  updateLocalSocket: (value: Socket | null) => void;
5391
5470
  updateValidated: (value: boolean) => void;
5471
+ customVideoCard: any;
5472
+ customAudioCard: any;
5473
+ customMiniCard: any;
5392
5474
  showAlert: ({ message, type, duration, }: {
5393
5475
  message: string;
5394
5476
  type: "success" | "danger";
@@ -5565,6 +5647,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
5565
5647
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
5566
5648
  requestPermissionCamera: () => Promise<string>;
5567
5649
  requestPermissionAudio: () => Promise<string>;
5650
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
5651
+ getParticipantMedia: (options: {
5652
+ id?: string;
5653
+ name?: string;
5654
+ kind: "video" | "audio";
5655
+ }) => Promise<MediaStream | null>;
5568
5656
  localUIMode: boolean;
5569
5657
  roomName: string;
5570
5658
  member: string;
@@ -5801,7 +5889,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
5801
5889
  recordingVideoOptions: string;
5802
5890
  recordingVideoType: string;
5803
5891
  recordingVideoOptimized: boolean;
5804
- recordingDisplayType: "video" | "all" | "media";
5892
+ recordingDisplayType: "video" | "media" | "all";
5805
5893
  recordingAddHLS: boolean;
5806
5894
  recordingAddText: boolean;
5807
5895
  recordingCustomText: string;
@@ -6202,11 +6290,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
6202
6290
  updateAnnotateScreenStream: (value: boolean) => void;
6203
6291
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
6204
6292
  updateIsScreenboardModalVisible: (value: boolean) => void;
6205
- checkOrientation: () => "landscape" | "portrait";
6293
+ checkOrientation: () => "portrait" | "landscape";
6206
6294
  updateDevice: (value: Device | null) => void;
6207
6295
  updateSocket: (value: Socket) => void;
6208
6296
  updateLocalSocket: (value: Socket | null) => void;
6209
6297
  updateValidated: (value: boolean) => void;
6298
+ customVideoCard: any;
6299
+ customAudioCard: any;
6300
+ customMiniCard: any;
6210
6301
  showAlert: ({ message, type, duration, }: {
6211
6302
  message: string;
6212
6303
  type: "success" | "danger";
@@ -6287,6 +6378,12 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
6287
6378
  switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
6288
6379
  requestPermissionCamera: () => Promise<string>;
6289
6380
  requestPermissionAudio: () => Promise<string>;
6381
+ getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
6382
+ getParticipantMedia: (options: {
6383
+ id?: string;
6384
+ name?: string;
6385
+ kind: "video" | "audio";
6386
+ }) => Promise<MediaStream | null>;
6290
6387
  localUIMode: boolean;
6291
6388
  roomName: string;
6292
6389
  member: string;
@@ -6523,7 +6620,7 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
6523
6620
  recordingVideoOptions: string;
6524
6621
  recordingVideoType: string;
6525
6622
  recordingVideoOptimized: boolean;
6526
- recordingDisplayType: "video" | "all" | "media";
6623
+ recordingDisplayType: "video" | "media" | "all";
6527
6624
  recordingAddHLS: boolean;
6528
6625
  recordingAddText: boolean;
6529
6626
  recordingCustomText: string;
@@ -6924,11 +7021,14 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
6924
7021
  updateAnnotateScreenStream: (value: boolean) => void;
6925
7022
  updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
6926
7023
  updateIsScreenboardModalVisible: (value: boolean) => void;
6927
- checkOrientation: () => "landscape" | "portrait";
7024
+ checkOrientation: () => "portrait" | "landscape";
6928
7025
  updateDevice: (value: Device | null) => void;
6929
7026
  updateSocket: (value: Socket) => void;
6930
7027
  updateLocalSocket: (value: Socket | null) => void;
6931
7028
  updateValidated: (value: boolean) => void;
7029
+ customVideoCard: any;
7030
+ customAudioCard: any;
7031
+ customMiniCard: any;
6932
7032
  showAlert: ({ message, type, duration, }: {
6933
7033
  message: string;
6934
7034
  type: "success" | "danger";
@@ -7047,5 +7147,5 @@ export declare class MediasfuGeneric implements OnInit, OnDestroy {
7047
7147
  })[];
7048
7148
  connect_Socket(apiUserName: string, token: string, skipSockets?: boolean): Promise<Socket | null>;
7049
7149
  static ɵfac: i0.ɵɵFactoryDeclaration<MediasfuGeneric, never>;
7050
- static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuGeneric, "app-mediasfu-generic", 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>;
7150
+ static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuGeneric, "app-mediasfu-generic", 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>;
7051
7151
  }