@webex/web-client-media-engine 3.15.7 → 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.
@@ -197,7 +197,7 @@ declare class StreamRequest {
197
197
  }
198
198
 
199
199
  interface TransceiverStatItem {
200
- report: RTCStatsReport;
200
+ report: object[];
201
201
  currentDirection: RTCRtpTransceiverDirection;
202
202
  csi?: number;
203
203
  mid?: string | null;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "3.15.7",
3
+ "version": "3.16.0",
4
4
  "description": "Web Client Media Engine is common web code for interacting with the multistream media server.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/cjs/index.js",