@webex/web-client-media-engine 3.6.1 → 3.7.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.
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +24 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1229,6 +1229,14 @@ class _Stream {
|
|
|
1229
1229
|
track.removeEventListener('unmute', this.handleTrackUnmuted);
|
|
1230
1230
|
track.removeEventListener('ended', this.handleTrackEnded);
|
|
1231
1231
|
}
|
|
1232
|
+
/**
|
|
1233
|
+
* Get the ID of the output stream.
|
|
1234
|
+
*
|
|
1235
|
+
* @returns The ID of the output stream.
|
|
1236
|
+
*/
|
|
1237
|
+
get id() {
|
|
1238
|
+
return this.outputStream.id;
|
|
1239
|
+
}
|
|
1232
1240
|
/**
|
|
1233
1241
|
* Get the track of the output stream.
|
|
1234
1242
|
*
|
|
@@ -1305,6 +1313,14 @@ class _LocalStream extends Stream {
|
|
|
1305
1313
|
get label() {
|
|
1306
1314
|
return this.inputTrack.label;
|
|
1307
1315
|
}
|
|
1316
|
+
/**
|
|
1317
|
+
* Get the readyState of the input track on this stream.
|
|
1318
|
+
*
|
|
1319
|
+
* @returns The readyState of the track.
|
|
1320
|
+
*/
|
|
1321
|
+
get readyState() {
|
|
1322
|
+
return this.inputTrack.readyState;
|
|
1323
|
+
}
|
|
1308
1324
|
/**
|
|
1309
1325
|
* Change the track of the output stream to a different track.
|
|
1310
1326
|
*
|
|
@@ -1386,6 +1402,14 @@ class _LocalStream extends Stream {
|
|
|
1386
1402
|
var _c;
|
|
1387
1403
|
return (_c = this.effects.find((e) => e.name === name)) === null || _c === void 0 ? void 0 : _c.effect;
|
|
1388
1404
|
}
|
|
1405
|
+
/**
|
|
1406
|
+
* Get all the effects from the effects list.
|
|
1407
|
+
*
|
|
1408
|
+
* @returns A list of effect items, each containing the name and the effect itself.
|
|
1409
|
+
*/
|
|
1410
|
+
getAllEffects() {
|
|
1411
|
+
return this.effects;
|
|
1412
|
+
}
|
|
1389
1413
|
/**
|
|
1390
1414
|
* Cleanup the local effects.
|
|
1391
1415
|
*/
|