@webex/web-client-media-engine 3.22.1 → 3.22.3
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 +90 -29
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +90 -29
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +8 -0
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -92,14 +92,20 @@ declare class ReceiveSlot extends EventEmitter<ReceiverEvents> {
|
|
|
92
92
|
get sourceState(): StreamState | undefined;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
type EgressSdpMungerOptions = {
|
|
96
|
+
doFullIce: boolean;
|
|
97
|
+
};
|
|
95
98
|
declare class EgressSdpMunger {
|
|
96
99
|
private streamIds;
|
|
97
100
|
private customCodecParameters;
|
|
101
|
+
private egressMungerOptions;
|
|
102
|
+
constructor(options: EgressSdpMungerOptions);
|
|
98
103
|
reset(): void;
|
|
99
104
|
mungeLocalDescription(mediaDescription: AvMediaDescription, options: {
|
|
100
105
|
simulcastEnabled: boolean;
|
|
101
106
|
rtxEnabled: boolean;
|
|
102
107
|
twccDisabled: boolean;
|
|
108
|
+
forceSoftwareEncoder: boolean;
|
|
103
109
|
}): void;
|
|
104
110
|
mungeLocalDescriptionForRemoteServer(mediaDescription: AvMediaDescription, mediaContent: MediaContent, csi: number): void;
|
|
105
111
|
mungeRemoteDescription(mediaDescription: AvMediaDescription): void;
|
|
@@ -264,6 +270,7 @@ type MultistreamConnectionOptions = {
|
|
|
264
270
|
iceServers: RTCIceServer[] | undefined;
|
|
265
271
|
disableContentSimulcast: boolean;
|
|
266
272
|
disableAudioTwcc: boolean;
|
|
273
|
+
doFullIce: boolean;
|
|
267
274
|
};
|
|
268
275
|
declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEvents> {
|
|
269
276
|
private pc;
|
|
@@ -304,6 +311,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
|
|
|
304
311
|
createReceiveSlot(mediaType: MediaType): Promise<ReceiveSlot>;
|
|
305
312
|
createReceiveSlots(mediaType: MediaType, count?: number): Promise<ReceiveSlot[]>;
|
|
306
313
|
getIngressPayloadType(mediaType: MediaType, mimeType: MediaCodecMimeType): number;
|
|
314
|
+
waitForIceGatheringComplete(): Promise<void>;
|
|
307
315
|
createOffer(): Promise<RTCSessionDescriptionInit>;
|
|
308
316
|
setAnswer(answer: string): Promise<void>;
|
|
309
317
|
private doLocalOfferAnswer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/web-client-media-engine",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.3",
|
|
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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@webex/json-multistream": "2.1.3",
|
|
59
59
|
"@webex/rtcstats": "^1.3.2",
|
|
60
60
|
"@webex/ts-events": "^1.0.1",
|
|
61
|
-
"@webex/ts-sdp": "1.
|
|
62
|
-
"@webex/web-capabilities": "^1.
|
|
61
|
+
"@webex/ts-sdp": "1.7.0",
|
|
62
|
+
"@webex/web-capabilities": "^1.4.0",
|
|
63
63
|
"@webex/webrtc-core": "2.10.0",
|
|
64
64
|
"@webex/web-media-effects": "^2.15.6",
|
|
65
65
|
"async": "^3.2.4",
|