mediasfu-angular 2.2.0 → 2.2.2
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 +2288 -375
- package/dist/README.md +2288 -375
- package/dist/fesm2022/mediasfu-angular.mjs +9519 -4188
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/@types/types.d.ts +6 -1
- package/dist/lib/@types/ui-overrides.types.d.ts +310 -0
- package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1023 -2
- package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +1069 -45
- package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1054 -42
- 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 +80 -24
- package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +83 -11
- package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +96 -33
- package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +16 -26
- 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 +7 -13
- package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +508 -7
- package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +7 -1
- package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +7 -2
- package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1107 -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 +24966 -73
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +276 -73
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +18132 -93
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +56344 -93
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +20849 -93
- package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +23 -4
- package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +78 -1
- package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +37 -1
- package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +689 -9
- package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +46 -2
- package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +76 -13
- package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1113 -17
- package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +1114 -29
- package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1084 -6
- 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 +1054 -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/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 +1049 -16
- package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
- package/dist/lib/consumers/connect-ips.service.d.ts +3 -1
- 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/prepopulate-user-media.service.d.ts +3 -0
- 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 +3 -1
- package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +3 -1
- 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/directives/with-override.directive.d.ts +76 -0
- package/dist/lib/methods/utils/initial-values.util.d.ts +7 -2
- package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +3 -1
- package/dist/lib/methods/utils/producer/a-params.service.d.ts +4 -1
- package/dist/lib/methods/utils/producer/h-params.service.d.ts +4 -1
- package/dist/lib/methods/utils/producer/screen-params.service.d.ts +4 -1
- package/dist/lib/methods/utils/producer/v-params.service.d.ts +4 -1
- package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +3 -1
- package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +4 -1
- package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +3 -1
- package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +3 -1
- package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +3 -1
- package/dist/lib/services/ui-override-resolver.service.d.ts +91 -0
- package/dist/public-api.d.ts +4 -0
- package/package.json +2 -2
|
@@ -15,6 +15,9 @@ export interface AddVideosGridParameters extends UpdateMiniCardsGridParameters,
|
|
|
15
15
|
customVideoCard?: any;
|
|
16
16
|
customAudioCard?: any;
|
|
17
17
|
customMiniCard?: any;
|
|
18
|
+
videoCardComponent?: any;
|
|
19
|
+
audioCardComponent?: any;
|
|
20
|
+
miniCardComponent?: any;
|
|
18
21
|
updateMiniCardsGrid: UpdateMiniCardsGridType;
|
|
19
22
|
getUpdatedAllParams: () => AddVideosGridParameters;
|
|
20
23
|
[key: string]: any;
|
|
@@ -2,9 +2,10 @@ import { SocketManager } from '../sockets/socket-manager.service';
|
|
|
2
2
|
import { NewPipeProducer } from './socket-receive-methods/new-pipe-producer.service';
|
|
3
3
|
import { ProducerClosed } from './socket-receive-methods/producer-closed.service';
|
|
4
4
|
import { JoinConsumeRoom } from './socket-receive-methods/join-consume-room.service';
|
|
5
|
-
import {
|
|
5
|
+
import { types } from 'mediasoup-client';
|
|
6
6
|
import { ReorderStreamsParameters, ReorderStreamsType, NewPipeProducerParameters, NewPipeProducerType, ProducerClosedType, ProducerClosedParameters, JoinConsumeRoomType, JoinConsumeRoomParameters, ConsumeSocket } from '../@types/types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
type Device = types.Device;
|
|
8
9
|
export interface ConnectIpsParameters extends ReorderStreamsParameters, JoinConsumeRoomParameters, ProducerClosedParameters, NewPipeProducerParameters {
|
|
9
10
|
device: Device | null;
|
|
10
11
|
roomRecvIPs: string[];
|
|
@@ -99,3 +100,4 @@ export declare class ConnectIps {
|
|
|
99
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectIps, never>;
|
|
100
101
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectIps>;
|
|
101
102
|
}
|
|
103
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { ConsumerResumeType, ConsumerResumeParameters, Transport as TransportType } from '../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Device = types.Device;
|
|
6
|
+
type Transport = types.Transport;
|
|
5
7
|
export interface ConnectRecvTransportParameters extends ConsumerResumeParameters {
|
|
6
8
|
device: Device | null;
|
|
7
9
|
consumerTransports: TransportType[];
|
|
@@ -89,3 +91,4 @@ export declare class ConnectRecvTransport {
|
|
|
89
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectRecvTransport, never>;
|
|
90
92
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectRecvTransport>;
|
|
91
93
|
}
|
|
94
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type Transport = types.Transport;
|
|
4
|
+
type Producer = types.Producer;
|
|
5
|
+
type ProducerOptions = types.ProducerOptions;
|
|
3
6
|
export interface ConnectSendTransportAudioParameters {
|
|
4
7
|
audioProducer: Producer | null;
|
|
5
8
|
producerTransport: Transport | null;
|
|
@@ -113,3 +116,4 @@ export declare class ConnectSendTransportAudio {
|
|
|
113
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportAudio, never>;
|
|
114
117
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportAudio>;
|
|
115
118
|
}
|
|
119
|
+
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type Transport = types.Transport;
|
|
4
|
+
type Producer = types.Producer;
|
|
5
|
+
type Device = types.Device;
|
|
6
|
+
type ProducerOptions = types.ProducerOptions;
|
|
3
7
|
export interface ConnectSendTransportScreenParameters {
|
|
4
8
|
screenProducer: Producer | null;
|
|
5
9
|
localScreenProducer?: Producer | null;
|
|
@@ -121,3 +125,4 @@ export declare class ConnectSendTransportScreen {
|
|
|
121
125
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportScreen, never>;
|
|
122
126
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportScreen>;
|
|
123
127
|
}
|
|
128
|
+
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type Device = types.Device;
|
|
4
|
+
type Producer = types.Producer;
|
|
5
|
+
type ProducerOptions = types.ProducerOptions;
|
|
6
|
+
type Transport = types.Transport;
|
|
3
7
|
export interface ConnectSendTransportVideoParameters {
|
|
4
8
|
videoProducer: Producer | null;
|
|
5
9
|
localVideoProducer?: Producer | null;
|
|
@@ -129,3 +133,4 @@ export declare class ConnectSendTransportVideo {
|
|
|
129
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportVideo, never>;
|
|
130
134
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportVideo>;
|
|
131
135
|
}
|
|
136
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { ConnectSendTransportAudioType, ConnectSendTransportVideoType, ConnectSendTransportScreenType, ConnectSendTransportAudioParameters, ConnectSendTransportVideoParameters, ConnectSendTransportScreenParameters } from '../@types/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type ProducerOptions = types.ProducerOptions;
|
|
4
5
|
export interface ConnectSendTransportParameters extends ConnectSendTransportAudioParameters, ConnectSendTransportVideoParameters, ConnectSendTransportScreenParameters {
|
|
5
6
|
audioParams: ProducerOptions;
|
|
6
7
|
videoParams: ProducerOptions;
|
|
@@ -106,3 +107,4 @@ export declare class ConnectSendTransport {
|
|
|
106
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransport, never>;
|
|
107
108
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransport>;
|
|
108
109
|
}
|
|
110
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { ReorderStreamsType, ReorderStreamsParameters, Participant, PrepopulateUserMediaType, PrepopulateUserMediaParameters, Stream, EventType } from '../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Consumer = types.Consumer;
|
|
5
6
|
export interface ConsumerResumeParameters extends ReorderStreamsParameters, PrepopulateUserMediaParameters {
|
|
6
7
|
nStream: MediaStream | null;
|
|
7
8
|
allAudioStreams: (Stream | Participant)[];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
|
-
import {
|
|
2
|
+
import { types } from 'mediasoup-client';
|
|
3
3
|
import { ConnectSendTransportParameters, ConnectSendTransportType } from '../@types/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Device = types.Device;
|
|
6
|
+
type Transport = types.Transport;
|
|
5
7
|
export interface CreateSendTransportParameters extends ConnectSendTransportParameters {
|
|
6
8
|
islevel: string;
|
|
7
9
|
member: string;
|
|
@@ -180,3 +182,4 @@ export declare class CreateSendTransport {
|
|
|
180
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateSendTransport, never>;
|
|
181
183
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateSendTransport>;
|
|
182
184
|
}
|
|
185
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { PrepopulateUserMediaType, PrepopulateUserMediaParameters } from '../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Producer = types.Producer;
|
|
5
6
|
export interface DisconnectSendTransportAudioParameters extends PrepopulateUserMediaParameters {
|
|
6
7
|
audioProducer: Producer | null;
|
|
7
8
|
localAudioProducer?: Producer | null;
|
|
@@ -134,3 +135,4 @@ export declare class DisconnectSendTransportAudio {
|
|
|
134
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportAudio, never>;
|
|
135
136
|
static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportAudio>;
|
|
136
137
|
}
|
|
138
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type Producer = types.Producer;
|
|
4
5
|
export interface DisconnectSendTransportScreenParameters {
|
|
5
6
|
screenProducer: Producer | null;
|
|
6
7
|
socket: Socket;
|
|
@@ -107,3 +108,4 @@ export declare class DisconnectSendTransportScreen {
|
|
|
107
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportScreen, never>;
|
|
108
109
|
static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportScreen>;
|
|
109
110
|
}
|
|
111
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import { ReorderStreamsType, ReorderStreamsParameters } from '../@types/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Producer = types.Producer;
|
|
5
6
|
export interface DisconnectSendTransportVideoParameters extends ReorderStreamsParameters {
|
|
6
7
|
videoProducer: Producer | null;
|
|
7
8
|
localVideoProducer?: Producer | null;
|
|
@@ -123,3 +124,4 @@ export declare class DisconnectSendTransportVideo {
|
|
|
123
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportVideo, never>;
|
|
124
125
|
static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportVideo>;
|
|
125
126
|
}
|
|
127
|
+
export {};
|
|
@@ -40,6 +40,9 @@ export interface PrepopulateUserMediaParameters extends AudioCardParameters {
|
|
|
40
40
|
customVideoCard?: any;
|
|
41
41
|
customAudioCard?: any;
|
|
42
42
|
customMiniCard?: any;
|
|
43
|
+
videoCardComponent?: any;
|
|
44
|
+
audioCardComponent?: any;
|
|
45
|
+
miniCardComponent?: any;
|
|
43
46
|
getUpdatedAllParams: () => PrepopulateUserMediaParameters;
|
|
44
47
|
[key: string]: any;
|
|
45
48
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { PrepopulateUserMediaParameters, PrepopulateUserMediaType } from '../@types/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type Producer = types.Producer;
|
|
4
5
|
export interface ResumeSendTransportAudioParameters extends PrepopulateUserMediaParameters {
|
|
5
6
|
audioProducer: Producer | null;
|
|
6
7
|
localAudioProducer?: Producer | null;
|
|
@@ -110,3 +111,4 @@ export declare class ResumeSendTransportAudio {
|
|
|
110
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResumeSendTransportAudio, never>;
|
|
111
112
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResumeSendTransportAudio>;
|
|
112
113
|
}
|
|
114
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { ReorderStreamsParameters, ReorderStreamsType, ConnectRecvTransportType, ConnectRecvTransportParameters } from '../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Device = types.Device;
|
|
5
6
|
export interface SignalNewConsumerTransportParameters extends ReorderStreamsParameters, ConnectRecvTransportParameters {
|
|
6
7
|
device: Device | null;
|
|
7
8
|
consumingTransports: string[];
|
|
@@ -61,3 +62,4 @@ export declare class SignalNewConsumerTransport {
|
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignalNewConsumerTransport, never>;
|
|
62
63
|
static ɵprov: i0.ɵɵInjectableDeclaration<SignalNewConsumerTransport>;
|
|
63
64
|
}
|
|
65
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { JoinConRoom } from '../../producers/producer-emits/join-con-room.service';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import { ReceiveAllPipedTransportsType, ReceiveAllPipedTransportsParameters, CreateDeviceClientType } from '../../@types/types';
|
|
4
|
-
import {
|
|
4
|
+
import { types } from 'mediasoup-client';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
type Device = types.Device;
|
|
7
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
6
8
|
export interface JoinConsumeRoomParameters extends ReceiveAllPipedTransportsParameters {
|
|
7
9
|
roomName: string;
|
|
8
10
|
islevel: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SignalNewConsumerTransport } from '../signal-new-consumer-transport.service';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import { ReorderStreamsParameters, ReorderStreamsType, SignalNewConsumerTransportParameters, ConnectRecvTransportParameters, ConnectRecvTransportType, ShowAlert } from '../../@types/types';
|
|
4
|
-
import {
|
|
4
|
+
import { types } from 'mediasoup-client';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
type Device = types.Device;
|
|
6
7
|
export interface NewPipeProducerParameters extends ReorderStreamsParameters, SignalNewConsumerTransportParameters, ConnectRecvTransportParameters {
|
|
7
8
|
first_round: boolean;
|
|
8
9
|
shareScreenStarted: boolean;
|
|
@@ -83,3 +84,4 @@ export declare class NewPipeProducer {
|
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewPipeProducer, never>;
|
|
84
85
|
static ɵprov: i0.ɵɵInjectableDeclaration<NewPipeProducer>;
|
|
85
86
|
}
|
|
87
|
+
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import { PrepopulateUserMediaParameters, PrepopulateUserMediaType, CreateSendTransportParameters, CreateSendTransportType, ConnectSendTransportAudioParameters, ConnectSendTransportAudioType, SleepType } from '../@types/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Producer = types.Producer;
|
|
6
|
+
type ProducerCodecOptions = types.ProducerCodecOptions;
|
|
7
|
+
type ProducerOptions = types.ProducerOptions;
|
|
5
8
|
/**
|
|
6
9
|
* Handles the success of switching audio devices in a streaming context.
|
|
7
10
|
* @async
|
|
@@ -225,3 +228,4 @@ export declare class StreamSuccessAudioSwitch {
|
|
|
225
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<StreamSuccessAudioSwitch, never>;
|
|
226
229
|
static ɵprov: i0.ɵɵInjectableDeclaration<StreamSuccessAudioSwitch>;
|
|
227
230
|
}
|
|
231
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { Participant, PrepopulateUserMediaParameters, ShowAlert, CreateSendTransportParameters, ConnectSendTransportAudioParameters, ResumeSendTransportAudioParameters, PrepopulateUserMediaType, CreateSendTransportType, ConnectSendTransportAudioType, ResumeSendTransportAudioType } from '../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type ProducerOptions = types.ProducerOptions;
|
|
5
6
|
export interface StreamSuccessAudioParameters extends CreateSendTransportParameters, ConnectSendTransportAudioParameters, ResumeSendTransportAudioParameters, PrepopulateUserMediaParameters {
|
|
6
7
|
socket: Socket;
|
|
7
8
|
participants: Participant[];
|
|
@@ -159,3 +160,4 @@ export declare class StreamSuccessAudio {
|
|
|
159
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<StreamSuccessAudio, never>;
|
|
160
161
|
static ɵprov: i0.ɵɵInjectableDeclaration<StreamSuccessAudio>;
|
|
161
162
|
}
|
|
163
|
+
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { Socket } from 'socket.io-client';
|
|
3
3
|
import { ConnectSendTransportVideoParameters, Participant, ShowAlert, CreateSendTransportParameters, ReorderStreamsParameters, SleepType, CreateSendTransportType, ConnectSendTransportVideoType, ReorderStreamsType, VParamsType, HParamsType } from '../@types/types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Device = types.Device;
|
|
6
|
+
type ProducerOptions = types.ProducerOptions;
|
|
7
|
+
type Producer = types.Producer;
|
|
5
8
|
export interface StreamSuccessVideoParameters extends CreateSendTransportParameters, ConnectSendTransportVideoParameters, ReorderStreamsParameters {
|
|
6
9
|
socket: Socket;
|
|
7
10
|
participants: Participant[];
|
|
@@ -134,3 +137,4 @@ export declare class StreamSuccessVideo {
|
|
|
134
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<StreamSuccessVideo, never>;
|
|
135
138
|
static ɵprov: i0.ɵɵInjectableDeclaration<StreamSuccessVideo>;
|
|
136
139
|
}
|
|
140
|
+
export {};
|
|
@@ -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>) | undefined;
|
|
33
|
+
get appWithOverrideInjector(): Injector | undefined;
|
|
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,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
|
+
type Producer = types.Producer;
|
|
3
|
+
type ProducerOptions = types.ProducerOptions;
|
|
4
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
5
|
+
type Transport = types.Transport;
|
|
6
|
+
type Device = types.Device;
|
|
2
7
|
import { AParamsType, CoHostResponsibility, EventType, HParamsType, Participant, Poll, ScreenParamsType, Stream, VidCons, VParamsType, ConsumeSocket, MeetingRoomParams, UserRecordingParams, ScreenState, AudioDecibels, CustomMediaComponent, GridSizes, Message, WaitingRoomParticipant, Request, BreakoutParticipant, WhiteboardUser, Shape, ResponseJoinRoom, ComponentSizes, Transport as TransportType } from '../../@types/types';
|
|
3
|
-
import { Device } from 'mediasoup-client/lib/types';
|
|
4
8
|
import { Socket } from 'socket.io-client';
|
|
5
9
|
import { SelfieSegmentation } from '@mediapipe/selfie_segmentation';
|
|
6
10
|
export interface InitialValuesStateType {
|
|
@@ -347,3 +351,4 @@ export interface InitialValuesStateType {
|
|
|
347
351
|
commentsActive: boolean;
|
|
348
352
|
}
|
|
349
353
|
export declare const initialValuesState: InitialValuesStateType;
|
|
354
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, Injector, ElementRef } from '@angular/core';
|
|
2
2
|
import { ReUpdateInterType, UpdateParticipantAudioDecibelsType, ReUpdateInterParameters, Participant } from '../../../@types/types';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Consumer = types.Consumer;
|
|
5
6
|
export interface MiniAudioPlayerParameters extends ReUpdateInterParameters {
|
|
6
7
|
breakOutRoomStarted: boolean;
|
|
7
8
|
breakOutRoomEnded: boolean;
|
|
@@ -103,3 +104,4 @@ export declare class MiniAudioPlayer implements OnInit, OnDestroy {
|
|
|
103
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<MiniAudioPlayer, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
104
105
|
static ɵcmp: i0.ɵɵComponentDeclaration<MiniAudioPlayer, "app-mini-audio-player", never, { "stream": { "alias": "stream"; "required": false; }; "consumer": { "alias": "consumer"; "required": false; }; "remoteProducerId": { "alias": "remoteProducerId"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "MiniAudioComponent": { "alias": "MiniAudioComponent"; "required": false; }; "miniAudioProps": { "alias": "miniAudioProps"; "required": false; }; }, {}, never, never, true, never>;
|
|
105
106
|
}
|
|
107
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type ProducerCodecOptions = types.ProducerCodecOptions;
|
|
4
|
+
type RtpEncodingParameters = types.RtpEncodingParameters;
|
|
3
5
|
export type AParamsType = {
|
|
4
6
|
encodings: RtpEncodingParameters[];
|
|
5
7
|
codecOptions?: ProducerCodecOptions;
|
|
@@ -46,3 +48,4 @@ export declare class AParams {
|
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AParams, never>;
|
|
47
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<AParams>;
|
|
48
50
|
}
|
|
51
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type ProducerCodecOptions = types.ProducerCodecOptions;
|
|
4
|
+
type RtpEncodingParameters = types.RtpEncodingParameters;
|
|
3
5
|
export type HParamsType = {
|
|
4
6
|
encodings: RtpEncodingParameters[];
|
|
5
7
|
codecOptions?: ProducerCodecOptions;
|
|
@@ -59,3 +61,4 @@ export declare class HParams {
|
|
|
59
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<HParams, never>;
|
|
60
62
|
static ɵprov: i0.ɵɵInjectableDeclaration<HParams>;
|
|
61
63
|
}
|
|
64
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type ProducerCodecOptions = types.ProducerCodecOptions;
|
|
4
|
+
type RtpEncodingParameters = types.RtpEncodingParameters;
|
|
3
5
|
export type ScreenParamsType = {
|
|
4
6
|
encodings: RtpEncodingParameters[];
|
|
5
7
|
codecOptions?: ProducerCodecOptions;
|
|
@@ -46,3 +48,4 @@ export declare class ScreenParams {
|
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenParams, never>;
|
|
47
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenParams>;
|
|
48
50
|
}
|
|
51
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type ProducerCodecOptions = types.ProducerCodecOptions;
|
|
4
|
+
type RtpEncodingParameters = types.RtpEncodingParameters;
|
|
3
5
|
export type VParamsType = {
|
|
4
6
|
encodings: RtpEncodingParameters[];
|
|
5
7
|
codecOptions?: ProducerCodecOptions;
|
|
@@ -59,3 +61,4 @@ export declare class VParams {
|
|
|
59
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<VParams, never>;
|
|
60
62
|
static ɵprov: i0.ɵɵInjectableDeclaration<VParams>;
|
|
61
63
|
}
|
|
64
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import { ConnectSendTransportScreenType, CreateSendTransportType, DisconnectSendTransportScreenType, SleepType, CreateSendTransportParameters, DisconnectSendTransportScreenParameters, ConnectSendTransportScreenParameters } from '../../@types/types';
|
|
3
3
|
import { Socket } from 'socket.io-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type Producer = types.Producer;
|
|
5
6
|
export interface CaptureCanvasStreamParameters extends CreateSendTransportParameters, DisconnectSendTransportScreenParameters, ConnectSendTransportScreenParameters {
|
|
6
7
|
canvasWhiteboard: HTMLCanvasElement | null;
|
|
7
8
|
canvasStream: MediaStream | null;
|
|
@@ -77,3 +78,4 @@ export declare class CaptureCanvasStream {
|
|
|
77
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaptureCanvasStream, never>;
|
|
78
79
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaptureCanvasStream>;
|
|
79
80
|
}
|
|
81
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
4
|
+
type Device = types.Device;
|
|
3
5
|
export interface CreateDeviceClientOptions {
|
|
4
6
|
rtpCapabilities: RtpCapabilities | null;
|
|
5
7
|
}
|
|
@@ -41,3 +43,4 @@ export declare class CreateDeviceClient {
|
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDeviceClient, never>;
|
|
42
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateDeviceClient>;
|
|
43
45
|
}
|
|
46
|
+
export {};
|
package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import { HParams, HParamsType } from '../../methods/utils/producer/h-params.serv
|
|
|
3
3
|
import { VParams, VParamsType } from '../../methods/utils/producer/v-params.service';
|
|
4
4
|
import { ScreenParams } from '../../methods/utils/producer/screen-params.service';
|
|
5
5
|
import { AParams } from '../../methods/utils/producer/a-params.service';
|
|
6
|
-
import {
|
|
6
|
+
import { types } from 'mediasoup-client';
|
|
7
7
|
import { EventType, ShowAlert, ResponseJoinRoom, ScreenParamsType, AParamsType, MeetingRoomParams } from '../../@types/types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
9
10
|
export interface UpdateRoomParametersClientParameters {
|
|
10
11
|
rtpCapabilities: RtpCapabilities | null;
|
|
11
12
|
roomRecvIPs: string[];
|
|
@@ -146,3 +147,4 @@ export declare class UpdateRoomParametersClient {
|
|
|
146
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateRoomParametersClient, never>;
|
|
147
148
|
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateRoomParametersClient>;
|
|
148
149
|
}
|
|
150
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { ValidateAlphanumeric } from '../../methods/utils/validate-alphanumeric.service';
|
|
3
|
-
import {
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
5
6
|
export interface JoinConRoomOptions {
|
|
6
7
|
socket: Socket;
|
|
7
8
|
roomName: string;
|
|
@@ -80,3 +81,4 @@ export declare class JoinConRoom {
|
|
|
80
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<JoinConRoom, never>;
|
|
81
82
|
static ɵprov: i0.ɵɵInjectableDeclaration<JoinConRoom>;
|
|
82
83
|
}
|
|
84
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ConnectIpsType, ConnectIpsParameters, AltDomains, ConsumeSocket } from '../../@types/types';
|
|
2
|
-
import {
|
|
2
|
+
import { types } from 'mediasoup-client';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
4
5
|
export interface GetDomainsParameters extends ConnectIpsParameters {
|
|
5
6
|
roomRecvIPs: string[];
|
|
6
7
|
rtpCapabilities: RtpCapabilities | null;
|
|
@@ -61,3 +62,4 @@ export declare class GetDomains {
|
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetDomains, never>;
|
|
62
63
|
static ɵprov: i0.ɵɵInjectableDeclaration<GetDomains>;
|
|
63
64
|
}
|
|
65
|
+
export {};
|