@webex/web-client-media-engine 3.0.2 → 3.1.0
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/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +8 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ declare class SendOnlyTransceiver extends Transceiver {
|
|
|
107
107
|
rtxEnabled: boolean;
|
|
108
108
|
streamMuteStateChange: TypedEvent<() => void>;
|
|
109
109
|
streamPublishStateChange: TypedEvent<() => void>;
|
|
110
|
+
negotiationNeeded: TypedEvent<() => void>;
|
|
110
111
|
private mediaType;
|
|
111
112
|
private requested;
|
|
112
113
|
private requestedIdEncodingParamsMap;
|
|
@@ -119,7 +120,7 @@ declare class SendOnlyTransceiver extends Transceiver {
|
|
|
119
120
|
setStreamRequested(requested: boolean): Promise<void>;
|
|
120
121
|
publishStream(stream: LocalStream): Promise<void>;
|
|
121
122
|
unpublishStream(): Promise<void>;
|
|
122
|
-
setActive(enabled: boolean):
|
|
123
|
+
setActive(enabled: boolean): void;
|
|
123
124
|
getStats(): Promise<RTCStatsReport>;
|
|
124
125
|
updateSendParameters(requestedIdEncodingParamsMap: Map<number, EncodingParams>): Promise<void>;
|
|
125
126
|
private isSimulcastEnabled;
|
|
@@ -183,13 +184,15 @@ declare enum MultistreamConnectionEventNames {
|
|
|
183
184
|
VideoSourceCountUpdate = "video-source-count-update",
|
|
184
185
|
AudioSourceCountUpdate = "audio-source-count-update",
|
|
185
186
|
ActiveSpeakerNotification = "active-speaker-notification",
|
|
186
|
-
ConnectionStateUpdate = "connection-state-update"
|
|
187
|
+
ConnectionStateUpdate = "connection-state-update",
|
|
188
|
+
NegotiationNeeded = "negotiation-needed"
|
|
187
189
|
}
|
|
188
190
|
interface MultistreamConnectionEvents extends EventMap {
|
|
189
191
|
[MultistreamConnectionEventNames.ActiveSpeakerNotification]: (csis: number[]) => void;
|
|
190
192
|
[MultistreamConnectionEventNames.VideoSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
|
|
191
193
|
[MultistreamConnectionEventNames.AudioSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
|
|
192
194
|
[MultistreamConnectionEventNames.ConnectionStateUpdate]: (state: ConnectionState) => void;
|
|
195
|
+
[MultistreamConnectionEventNames.NegotiationNeeded]: () => void;
|
|
193
196
|
}
|
|
194
197
|
declare type MultistreamConnectionOptions = {
|
|
195
198
|
disableSimulcast: boolean;
|
package/package.json
CHANGED