@webex/web-client-media-engine 3.31.0 → 3.31.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.
@@ -41,7 +41,8 @@ declare enum WcmeErrorType {
41
41
  GET_MAX_BITRATE_FAILED = "GET_MAX_BITRATE_FAILED",
42
42
  GET_PAYLOAD_TYPE_FAILED = "GET_PAYLOAD_TYPE_FAILED",
43
43
  SET_NMG_FAILED = "SET_NMG_FAILED",
44
- DATA_CHANNEL_SEND_FAILED = "DATA_CHANNEL_SEND_FAILED"
44
+ DATA_CHANNEL_SEND_FAILED = "DATA_CHANNEL_SEND_FAILED",
45
+ RENEW_PEER_CONNECTION_FAILED = "RENEW_PEER_CONNECTION_FAILED"
45
46
  }
46
47
  declare class WcmeError {
47
48
  type: string;
@@ -350,7 +351,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
350
351
  private getSendTransceiverByMidOrThrow;
351
352
  private getRecvTransceiverByMidOrThrow;
352
353
  requestMedia(mediaType: MediaType, streamRequests: StreamRequest[]): void;
353
- renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions>): void;
354
+ renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions> | Promise<Partial<MultistreamConnectionOptions>>): Promise<void>;
354
355
  private getReceiveSlotById;
355
356
  getStats(): Promise<StatsMap>;
356
357
  getTransceiverStats(): Promise<TransceiverStats>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "3.31.0",
3
+ "version": "3.31.2",
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",