@webex/web-client-media-engine 3.30.4 → 3.31.1
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 +52 -34
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +52 -34
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +8 -3
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -106,7 +107,9 @@ declare class EgressSdpMunger {
|
|
|
106
107
|
mungeLocalDescriptionForRemoteServer(mediaDescription: AvMediaDescription, mediaContent: MediaContent, csi: number, mungeOptions?: {
|
|
107
108
|
injectDummyCandidates: boolean;
|
|
108
109
|
}): void;
|
|
109
|
-
mungeRemoteDescription(mediaDescription: AvMediaDescription
|
|
110
|
+
mungeRemoteDescription(mediaDescription: AvMediaDescription, mungeOptions?: {
|
|
111
|
+
dtxDisabled: boolean;
|
|
112
|
+
}): void;
|
|
110
113
|
getSenderIds(): SsrcStreamId[];
|
|
111
114
|
getEncodingIndexForStreamId(streamId: SsrcStreamId): number;
|
|
112
115
|
setCodecParameters(parameters: {
|
|
@@ -144,6 +147,7 @@ declare class SendOnlyTransceiver extends Transceiver {
|
|
|
144
147
|
private direction;
|
|
145
148
|
private munger;
|
|
146
149
|
rtxEnabled: boolean;
|
|
150
|
+
dtxDisabled: boolean;
|
|
147
151
|
streamMuteStateChange: TypedEvent<() => void>;
|
|
148
152
|
streamPublishStateChange: TypedEvent<() => void>;
|
|
149
153
|
negotiationNeeded: TypedEvent<(offerAnswerType: OfferAnswerType) => void>;
|
|
@@ -289,6 +293,7 @@ type MultistreamConnectionOptions = {
|
|
|
289
293
|
disableAudioTwcc: boolean;
|
|
290
294
|
doFullIce: boolean;
|
|
291
295
|
stopIceGatheringAfterFirstRelayCandidate: boolean;
|
|
296
|
+
disableAudioMainDtx: boolean;
|
|
292
297
|
metricsCallback: LoggerCallback;
|
|
293
298
|
};
|
|
294
299
|
declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEvents> {
|
|
@@ -346,7 +351,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
|
|
|
346
351
|
private getSendTransceiverByMidOrThrow;
|
|
347
352
|
private getRecvTransceiverByMidOrThrow;
|
|
348
353
|
requestMedia(mediaType: MediaType, streamRequests: StreamRequest[]): void;
|
|
349
|
-
renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions>): void
|
|
354
|
+
renewPeerConnection(userOptions?: Partial<MultistreamConnectionOptions> | Promise<Partial<MultistreamConnectionOptions>>): Promise<void>;
|
|
350
355
|
private getReceiveSlotById;
|
|
351
356
|
getStats(): Promise<StatsMap>;
|
|
352
357
|
getTransceiverStats(): Promise<TransceiverStats>;
|
package/package.json
CHANGED