@webex/web-client-media-engine 3.11.9 → 3.12.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 +86 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +86 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +10 -1
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -228,7 +228,11 @@ declare enum MultistreamConnectionEventNames {
|
|
|
228
228
|
AudioSourceCountUpdate = "audio-source-count-update",
|
|
229
229
|
ActiveSpeakerNotification = "active-speaker-notification",
|
|
230
230
|
ConnectionStateUpdate = "connection-state-update",
|
|
231
|
-
NegotiationNeeded = "negotiation-needed"
|
|
231
|
+
NegotiationNeeded = "negotiation-needed",
|
|
232
|
+
CreateOfferOnSuccess = "createofferonsuccess",
|
|
233
|
+
CreateAnswerOnSuccess = "createansweronsuccess",
|
|
234
|
+
SetLocalDescriptionOnSuccess = "setlocaldescriptiononsuccess",
|
|
235
|
+
SetRemoteDescriptionOnSuccess = "setremotedescriptiononsuccess"
|
|
232
236
|
}
|
|
233
237
|
interface MultistreamConnectionEvents extends EventMap {
|
|
234
238
|
[MultistreamConnectionEventNames.ActiveSpeakerNotification]: (csis: number[]) => void;
|
|
@@ -236,6 +240,10 @@ interface MultistreamConnectionEvents extends EventMap {
|
|
|
236
240
|
[MultistreamConnectionEventNames.AudioSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
|
|
237
241
|
[MultistreamConnectionEventNames.ConnectionStateUpdate]: (state: ConnectionState) => void;
|
|
238
242
|
[MultistreamConnectionEventNames.NegotiationNeeded]: () => void;
|
|
243
|
+
[MultistreamConnectionEventNames.CreateAnswerOnSuccess]: (answer: RTCSessionDescriptionInit) => void;
|
|
244
|
+
[MultistreamConnectionEventNames.CreateOfferOnSuccess]: (offer: RTCSessionDescriptionInit) => void;
|
|
245
|
+
[MultistreamConnectionEventNames.SetLocalDescriptionOnSuccess]: (description: RTCSessionDescriptionInit) => void;
|
|
246
|
+
[MultistreamConnectionEventNames.SetRemoteDescriptionOnSuccess]: (description: RTCSessionDescriptionInit) => void;
|
|
239
247
|
}
|
|
240
248
|
declare type MultistreamConnectionOptions = {
|
|
241
249
|
disableSimulcast: boolean;
|
|
@@ -263,6 +271,7 @@ declare class MultistreamConnection extends EventEmitter<MultistreamConnectionEv
|
|
|
263
271
|
private setAnswerResolve?;
|
|
264
272
|
constructor(userOptions?: Partial<MultistreamConnectionOptions>);
|
|
265
273
|
private initializePeerConnection;
|
|
274
|
+
private propagatePeerConnectionEvents;
|
|
266
275
|
getConnectionState(): ConnectionState;
|
|
267
276
|
private getVideoEncodingOptions;
|
|
268
277
|
private createSendTransceiver;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/web-client-media-engine",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.1",
|
|
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",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@webex/ts-events": "^1.0.1",
|
|
61
61
|
"@webex/ts-sdp": "1.6.0",
|
|
62
62
|
"@webex/web-capabilities": "^1.1.1",
|
|
63
|
-
"@webex/webrtc-core": "2.
|
|
63
|
+
"@webex/webrtc-core": "2.5.0",
|
|
64
64
|
"async": "^3.2.4",
|
|
65
65
|
"js-logger": "^1.6.1",
|
|
66
66
|
"typed-emitter": "^2.1.0",
|