@webex/web-client-media-engine 3.15.8 → 3.16.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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ declare enum MultistreamConnectionEventNames {
|
|
|
231
231
|
AudioSourceCountUpdate = "audio-source-count-update",
|
|
232
232
|
ActiveSpeakerNotification = "active-speaker-notification",
|
|
233
233
|
ConnectionStateUpdate = "connection-state-update",
|
|
234
|
+
IceGatheringStateUpdate = "ice-gathering-state-update",
|
|
234
235
|
NegotiationNeeded = "negotiation-needed",
|
|
235
236
|
CreateOfferOnSuccess = "createofferonsuccess",
|
|
236
237
|
CreateAnswerOnSuccess = "createansweronsuccess",
|
|
@@ -242,6 +243,7 @@ interface MultistreamConnectionEvents extends EventMap {
|
|
|
242
243
|
[MultistreamConnectionEventNames.VideoSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
|
|
243
244
|
[MultistreamConnectionEventNames.AudioSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
|
|
244
245
|
[MultistreamConnectionEventNames.ConnectionStateUpdate]: (state: ConnectionState) => void;
|
|
246
|
+
[MultistreamConnectionEventNames.IceGatheringStateUpdate]: (state: RTCIceGatheringState) => void;
|
|
245
247
|
[MultistreamConnectionEventNames.NegotiationNeeded]: () => void;
|
|
246
248
|
[MultistreamConnectionEventNames.CreateAnswerOnSuccess]: (answer: RTCSessionDescriptionInit) => void;
|
|
247
249
|
[MultistreamConnectionEventNames.CreateOfferOnSuccess]: (offer: RTCSessionDescriptionInit) => void;
|
|
@@ -276,6 +278,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
|
|
|
276
278
|
private initializePeerConnection;
|
|
277
279
|
private propagatePeerConnectionEvents;
|
|
278
280
|
getConnectionState(): ConnectionState;
|
|
281
|
+
getIceGatheringState(): RTCIceGatheringState;
|
|
279
282
|
private getVideoEncodingOptions;
|
|
280
283
|
private createSendTransceiver;
|
|
281
284
|
createSendSlot(mediaType: MediaType, active?: boolean): SendSlot;
|
package/package.json
CHANGED