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
|
@@ -141,6 +141,10 @@ export type MediasfuChatOptions = {
|
|
|
141
141
|
* @input {CreateMediaSFURoomOptions | JoinMediaSFURoomOptions} noUIPreJoinOptions - Options for the prejoin page without UI.
|
|
142
142
|
* @input {JoinRoomOnMediaSFUType} joinMediaSFURoom - Function to join a room on MediaSFU.
|
|
143
143
|
* @input {CreateRoomOnMediaSFUType} createMediaSFURoom - Function to create a room on MediaSFU.
|
|
144
|
+
* @input {any} customVideoCard - Custom component to replace the default VideoCard component.
|
|
145
|
+
* @input {any} customAudioCard - Custom component to replace the default AudioCard component.
|
|
146
|
+
* @input {any} customMiniCard - Custom component to replace the default MiniCard component.
|
|
147
|
+
* @input {any} customMainComponent - Custom component that provides complete control over the main UI, bypassing default MediaSFU styling.
|
|
144
148
|
*
|
|
145
149
|
* @property {string} title - The title of the component, defaults to "MediaSFU-Chat".
|
|
146
150
|
*
|
|
@@ -166,13 +170,17 @@ export type MediasfuChatOptions = {
|
|
|
166
170
|
* [useLocalUIMode]="true"
|
|
167
171
|
* [seedData]="seedDataObject"
|
|
168
172
|
* [useSeed]="true"
|
|
169
|
-
* [imgSrc]="https://example.com/logo.png"
|
|
173
|
+
* [imgSrc]="'https://example.com/logo.png'"
|
|
170
174
|
* [sourceParameters]="{ source: 'camera', width: 640, height: 480 }"
|
|
171
175
|
* [updateSourceParameters]="updateSourceParameters"
|
|
172
176
|
* [returnUI]="true"
|
|
173
177
|
* [noUIPreJoinOptions]="{ roomName: 'room1', userName: 'user1' }"
|
|
174
178
|
* [joinMediaSFURoom]="joinMediaSFURoom"
|
|
175
|
-
* [createMediaSFURoom]="createMediaSFURoom"
|
|
179
|
+
* [createMediaSFURoom]="createMediaSFURoom"
|
|
180
|
+
* [customVideoCard]="CustomVideoCardComponent"
|
|
181
|
+
* [customAudioCard]="CustomAudioCardComponent"
|
|
182
|
+
* [customMiniCard]="CustomMiniCardComponent"
|
|
183
|
+
* [customMainComponent]="CustomMainComponent">
|
|
176
184
|
* </app-mediasfu-chat>
|
|
177
185
|
* ```
|
|
178
186
|
*/
|
|
@@ -281,6 +289,10 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
281
289
|
noUIPreJoinOptions?: CreateMediaSFURoomOptions | JoinMediaSFURoomOptions;
|
|
282
290
|
joinMediaSFURoom?: JoinRoomOnMediaSFUType;
|
|
283
291
|
createMediaSFURoom?: CreateRoomOnMediaSFUType;
|
|
292
|
+
customVideoCard?: any;
|
|
293
|
+
customAudioCard?: any;
|
|
294
|
+
customMiniCard?: any;
|
|
295
|
+
customMainComponent?: any;
|
|
284
296
|
title: string;
|
|
285
297
|
private mainHeightWidthSubscription;
|
|
286
298
|
private validatedSubscription;
|
|
@@ -290,6 +302,22 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
290
302
|
private recordingSubscription;
|
|
291
303
|
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, captureCanvasStream: CaptureCanvasStream, resumePauseAudioStreams: ResumePauseAudioStreams, processConsumerTransportsAudio: ProcessConsumerTransportsAudio, launchMessages: LaunchMessages, launchConfirmExit: LaunchConfirmExit, startMeetingProgressTimer: StartMeetingProgressTimer, producerMediaPaused: ProducerMediaPaused, producerMediaResumed: ProducerMediaResumed, producerMediaClosed: ProducerMediaClosed, meetingEnded: MeetingEnded, disconnectUserSelf: DisconnectUserSelf, receiveMessage: ReceiveMessage, meetingTimeRemaining: MeetingTimeRemaining, meetingStillThere: MeetingStillThere, allMembers: AllMembers, allMembersRest: AllMembersRest, disconnect: Disconnect, 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);
|
|
292
304
|
createInjector(inputs: any): Injector;
|
|
305
|
+
/**
|
|
306
|
+
* Gets a list of media devices filtered by the specified kind.
|
|
307
|
+
* @param kind - The kind of media device to filter by ('videoinput' or 'audioinput')
|
|
308
|
+
* @returns A promise that resolves to an array of MediaDeviceInfo objects
|
|
309
|
+
*/
|
|
310
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
311
|
+
/**
|
|
312
|
+
* Gets the media stream for a participant by their ID or name.
|
|
313
|
+
* @param options - Object containing id, name, and kind parameters
|
|
314
|
+
* @returns A promise that resolves to the participant's MediaStream or null if not found
|
|
315
|
+
*/
|
|
316
|
+
getParticipantMedia: (options: {
|
|
317
|
+
id?: string;
|
|
318
|
+
name?: string;
|
|
319
|
+
kind: "video" | "audio";
|
|
320
|
+
}) => Promise<MediaStream | null>;
|
|
293
321
|
mediaSFUFunctions: () => {
|
|
294
322
|
updateMiniCardsGrid: ({ rows, cols, defal, actualRows, parameters, }: import("../../consumers/update-mini-cards-grid.service").UpdateMiniCardsGridOptions) => Promise<void>;
|
|
295
323
|
mixStreams: ({ alVideoStreams, non_alVideoStreams, ref_participants, }: import("../../consumers/mix-streams.service").MixStreamsOptions) => Promise<(Stream | Participant)[]>;
|
|
@@ -362,6 +390,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
362
390
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
363
391
|
requestPermissionCamera: () => Promise<string>;
|
|
364
392
|
requestPermissionAudio: () => Promise<string>;
|
|
393
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
394
|
+
getParticipantMedia: (options: {
|
|
395
|
+
id?: string;
|
|
396
|
+
name?: string;
|
|
397
|
+
kind: "video" | "audio";
|
|
398
|
+
}) => Promise<MediaStream | null>;
|
|
365
399
|
};
|
|
366
400
|
validated: BehaviorSubject<boolean>;
|
|
367
401
|
localUIMode: BehaviorSubject<boolean>;
|
|
@@ -812,7 +846,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
812
846
|
recordingVideoOptions: BehaviorSubject<string>;
|
|
813
847
|
recordingVideoType: BehaviorSubject<string>;
|
|
814
848
|
recordingVideoOptimized: BehaviorSubject<boolean>;
|
|
815
|
-
recordingDisplayType: BehaviorSubject<"video" | "
|
|
849
|
+
recordingDisplayType: BehaviorSubject<"video" | "media" | "all">;
|
|
816
850
|
recordingAddHLS: BehaviorSubject<boolean>;
|
|
817
851
|
recordingNameTags: BehaviorSubject<boolean>;
|
|
818
852
|
recordingBackgroundColor: BehaviorSubject<string>;
|
|
@@ -1038,7 +1072,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
1038
1072
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
1039
1073
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
1040
1074
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
1041
|
-
checkOrientation: () => "
|
|
1075
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
1042
1076
|
showAlert: ({ message, type, duration, }: {
|
|
1043
1077
|
message: string;
|
|
1044
1078
|
type: "success" | "danger";
|
|
@@ -1281,7 +1315,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
1281
1315
|
recordingVideoOptions: string;
|
|
1282
1316
|
recordingVideoType: string;
|
|
1283
1317
|
recordingVideoOptimized: boolean;
|
|
1284
|
-
recordingDisplayType: "video" | "
|
|
1318
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
1285
1319
|
recordingAddHLS: boolean;
|
|
1286
1320
|
recordingAddText: boolean;
|
|
1287
1321
|
recordingCustomText: string;
|
|
@@ -1682,11 +1716,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
1682
1716
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
1683
1717
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
1684
1718
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
1685
|
-
checkOrientation: () => "
|
|
1719
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
1686
1720
|
updateDevice: (value: Device | null) => void;
|
|
1687
1721
|
updateSocket: (value: Socket) => void;
|
|
1688
1722
|
updateLocalSocket: (value: Socket | null) => void;
|
|
1689
1723
|
updateValidated: (value: boolean) => void;
|
|
1724
|
+
customVideoCard: any;
|
|
1725
|
+
customAudioCard: any;
|
|
1726
|
+
customMiniCard: any;
|
|
1690
1727
|
showAlert: ({ message, type, duration, }: {
|
|
1691
1728
|
message: string;
|
|
1692
1729
|
type: "success" | "danger";
|
|
@@ -1764,6 +1801,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
1764
1801
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
1765
1802
|
requestPermissionCamera: () => Promise<string>;
|
|
1766
1803
|
requestPermissionAudio: () => Promise<string>;
|
|
1804
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
1805
|
+
getParticipantMedia: (options: {
|
|
1806
|
+
id?: string;
|
|
1807
|
+
name?: string;
|
|
1808
|
+
kind: "video" | "audio";
|
|
1809
|
+
}) => Promise<MediaStream | null>;
|
|
1767
1810
|
localUIMode: boolean;
|
|
1768
1811
|
roomName: string;
|
|
1769
1812
|
member: string;
|
|
@@ -2000,7 +2043,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
2000
2043
|
recordingVideoOptions: string;
|
|
2001
2044
|
recordingVideoType: string;
|
|
2002
2045
|
recordingVideoOptimized: boolean;
|
|
2003
|
-
recordingDisplayType: "video" | "
|
|
2046
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
2004
2047
|
recordingAddHLS: boolean;
|
|
2005
2048
|
recordingAddText: boolean;
|
|
2006
2049
|
recordingCustomText: string;
|
|
@@ -2401,11 +2444,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
2401
2444
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
2402
2445
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
2403
2446
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
2404
|
-
checkOrientation: () => "
|
|
2447
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
2405
2448
|
updateDevice: (value: Device | null) => void;
|
|
2406
2449
|
updateSocket: (value: Socket) => void;
|
|
2407
2450
|
updateLocalSocket: (value: Socket | null) => void;
|
|
2408
2451
|
updateValidated: (value: boolean) => void;
|
|
2452
|
+
customVideoCard: any;
|
|
2453
|
+
customAudioCard: any;
|
|
2454
|
+
customMiniCard: any;
|
|
2409
2455
|
showAlert: ({ message, type, duration, }: {
|
|
2410
2456
|
message: string;
|
|
2411
2457
|
type: "success" | "danger";
|
|
@@ -2486,6 +2532,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
2486
2532
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
2487
2533
|
requestPermissionCamera: () => Promise<string>;
|
|
2488
2534
|
requestPermissionAudio: () => Promise<string>;
|
|
2535
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
2536
|
+
getParticipantMedia: (options: {
|
|
2537
|
+
id?: string;
|
|
2538
|
+
name?: string;
|
|
2539
|
+
kind: "video" | "audio";
|
|
2540
|
+
}) => Promise<MediaStream | null>;
|
|
2489
2541
|
localUIMode: boolean;
|
|
2490
2542
|
roomName: string;
|
|
2491
2543
|
member: string;
|
|
@@ -2722,7 +2774,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
2722
2774
|
recordingVideoOptions: string;
|
|
2723
2775
|
recordingVideoType: string;
|
|
2724
2776
|
recordingVideoOptimized: boolean;
|
|
2725
|
-
recordingDisplayType: "video" | "
|
|
2777
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
2726
2778
|
recordingAddHLS: boolean;
|
|
2727
2779
|
recordingAddText: boolean;
|
|
2728
2780
|
recordingCustomText: string;
|
|
@@ -3123,11 +3175,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
3123
3175
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
3124
3176
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
3125
3177
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
3126
|
-
checkOrientation: () => "
|
|
3178
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
3127
3179
|
updateDevice: (value: Device | null) => void;
|
|
3128
3180
|
updateSocket: (value: Socket) => void;
|
|
3129
3181
|
updateLocalSocket: (value: Socket | null) => void;
|
|
3130
3182
|
updateValidated: (value: boolean) => void;
|
|
3183
|
+
customVideoCard: any;
|
|
3184
|
+
customAudioCard: any;
|
|
3185
|
+
customMiniCard: any;
|
|
3131
3186
|
showAlert: ({ message, type, duration, }: {
|
|
3132
3187
|
message: string;
|
|
3133
3188
|
type: "success" | "danger";
|
|
@@ -3205,6 +3260,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
3205
3260
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
3206
3261
|
requestPermissionCamera: () => Promise<string>;
|
|
3207
3262
|
requestPermissionAudio: () => Promise<string>;
|
|
3263
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
3264
|
+
getParticipantMedia: (options: {
|
|
3265
|
+
id?: string;
|
|
3266
|
+
name?: string;
|
|
3267
|
+
kind: "video" | "audio";
|
|
3268
|
+
}) => Promise<MediaStream | null>;
|
|
3208
3269
|
localUIMode: boolean;
|
|
3209
3270
|
roomName: string;
|
|
3210
3271
|
member: string;
|
|
@@ -3441,7 +3502,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
3441
3502
|
recordingVideoOptions: string;
|
|
3442
3503
|
recordingVideoType: string;
|
|
3443
3504
|
recordingVideoOptimized: boolean;
|
|
3444
|
-
recordingDisplayType: "video" | "
|
|
3505
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
3445
3506
|
recordingAddHLS: boolean;
|
|
3446
3507
|
recordingAddText: boolean;
|
|
3447
3508
|
recordingCustomText: string;
|
|
@@ -3842,11 +3903,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
3842
3903
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
3843
3904
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
3844
3905
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
3845
|
-
checkOrientation: () => "
|
|
3906
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
3846
3907
|
updateDevice: (value: Device | null) => void;
|
|
3847
3908
|
updateSocket: (value: Socket) => void;
|
|
3848
3909
|
updateLocalSocket: (value: Socket | null) => void;
|
|
3849
3910
|
updateValidated: (value: boolean) => void;
|
|
3911
|
+
customVideoCard: any;
|
|
3912
|
+
customAudioCard: any;
|
|
3913
|
+
customMiniCard: any;
|
|
3850
3914
|
showAlert: ({ message, type, duration, }: {
|
|
3851
3915
|
message: string;
|
|
3852
3916
|
type: "success" | "danger";
|
|
@@ -3927,6 +3991,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
3927
3991
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
3928
3992
|
requestPermissionCamera: () => Promise<string>;
|
|
3929
3993
|
requestPermissionAudio: () => Promise<string>;
|
|
3994
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
3995
|
+
getParticipantMedia: (options: {
|
|
3996
|
+
id?: string;
|
|
3997
|
+
name?: string;
|
|
3998
|
+
kind: "video" | "audio";
|
|
3999
|
+
}) => Promise<MediaStream | null>;
|
|
3930
4000
|
localUIMode: boolean;
|
|
3931
4001
|
roomName: string;
|
|
3932
4002
|
member: string;
|
|
@@ -4163,7 +4233,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
4163
4233
|
recordingVideoOptions: string;
|
|
4164
4234
|
recordingVideoType: string;
|
|
4165
4235
|
recordingVideoOptimized: boolean;
|
|
4166
|
-
recordingDisplayType: "video" | "
|
|
4236
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
4167
4237
|
recordingAddHLS: boolean;
|
|
4168
4238
|
recordingAddText: boolean;
|
|
4169
4239
|
recordingCustomText: string;
|
|
@@ -4564,11 +4634,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
4564
4634
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
4565
4635
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
4566
4636
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
4567
|
-
checkOrientation: () => "
|
|
4637
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
4568
4638
|
updateDevice: (value: Device | null) => void;
|
|
4569
4639
|
updateSocket: (value: Socket) => void;
|
|
4570
4640
|
updateLocalSocket: (value: Socket | null) => void;
|
|
4571
4641
|
updateValidated: (value: boolean) => void;
|
|
4642
|
+
customVideoCard: any;
|
|
4643
|
+
customAudioCard: any;
|
|
4644
|
+
customMiniCard: any;
|
|
4572
4645
|
showAlert: ({ message, type, duration, }: {
|
|
4573
4646
|
message: string;
|
|
4574
4647
|
type: "success" | "danger";
|
|
@@ -4646,6 +4719,12 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
4646
4719
|
switchVideoAlt: ({ parameters }: import("../../@types/types").SwitchVideoAltOptions) => Promise<void>;
|
|
4647
4720
|
requestPermissionCamera: () => Promise<string>;
|
|
4648
4721
|
requestPermissionAudio: () => Promise<string>;
|
|
4722
|
+
getMediaDevicesList: (kind: "videoinput" | "audioinput") => Promise<MediaDeviceInfo[]>;
|
|
4723
|
+
getParticipantMedia: (options: {
|
|
4724
|
+
id?: string;
|
|
4725
|
+
name?: string;
|
|
4726
|
+
kind: "video" | "audio";
|
|
4727
|
+
}) => Promise<MediaStream | null>;
|
|
4649
4728
|
localUIMode: boolean;
|
|
4650
4729
|
roomName: string;
|
|
4651
4730
|
member: string;
|
|
@@ -4882,7 +4961,7 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
4882
4961
|
recordingVideoOptions: string;
|
|
4883
4962
|
recordingVideoType: string;
|
|
4884
4963
|
recordingVideoOptimized: boolean;
|
|
4885
|
-
recordingDisplayType: "video" | "
|
|
4964
|
+
recordingDisplayType: "video" | "media" | "all";
|
|
4886
4965
|
recordingAddHLS: boolean;
|
|
4887
4966
|
recordingAddText: boolean;
|
|
4888
4967
|
recordingCustomText: string;
|
|
@@ -5283,11 +5362,14 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
5283
5362
|
updateAnnotateScreenStream: (value: boolean) => void;
|
|
5284
5363
|
updateMainScreenCanvas: (value: HTMLCanvasElement | null) => void;
|
|
5285
5364
|
updateIsScreenboardModalVisible: (value: boolean) => void;
|
|
5286
|
-
checkOrientation: () => "
|
|
5365
|
+
checkOrientation: () => "portrait" | "landscape";
|
|
5287
5366
|
updateDevice: (value: Device | null) => void;
|
|
5288
5367
|
updateSocket: (value: Socket) => void;
|
|
5289
5368
|
updateLocalSocket: (value: Socket | null) => void;
|
|
5290
5369
|
updateValidated: (value: boolean) => void;
|
|
5370
|
+
customVideoCard: any;
|
|
5371
|
+
customAudioCard: any;
|
|
5372
|
+
customMiniCard: any;
|
|
5291
5373
|
showAlert: ({ message, type, duration, }: {
|
|
5292
5374
|
message: string;
|
|
5293
5375
|
type: "success" | "danger";
|
|
@@ -5375,5 +5457,5 @@ export declare class MediasfuChat implements OnInit, OnDestroy {
|
|
|
5375
5457
|
updateControlChatButtons(): void;
|
|
5376
5458
|
connect_Socket(apiUserName: string, token: string, skipSockets?: boolean): Promise<Socket | null>;
|
|
5377
5459
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediasfuChat, never>;
|
|
5378
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuChat, "app-mediasfu-chat", 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>;
|
|
5460
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MediasfuChat, "app-mediasfu-chat", 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>;
|
|
5379
5461
|
}
|