@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/esm/index.js
CHANGED
|
@@ -1225,6 +1225,14 @@ class _Stream {
|
|
|
1225
1225
|
track.removeEventListener('unmute', this.handleTrackUnmuted);
|
|
1226
1226
|
track.removeEventListener('ended', this.handleTrackEnded);
|
|
1227
1227
|
}
|
|
1228
|
+
/**
|
|
1229
|
+
* Get the ID of the output stream.
|
|
1230
|
+
*
|
|
1231
|
+
* @returns The ID of the output stream.
|
|
1232
|
+
*/
|
|
1233
|
+
get id() {
|
|
1234
|
+
return this.outputStream.id;
|
|
1235
|
+
}
|
|
1228
1236
|
/**
|
|
1229
1237
|
* Get the track of the output stream.
|
|
1230
1238
|
*
|
|
@@ -1301,6 +1309,14 @@ class _LocalStream extends Stream {
|
|
|
1301
1309
|
get label() {
|
|
1302
1310
|
return this.inputTrack.label;
|
|
1303
1311
|
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Get the readyState of the input track on this stream.
|
|
1314
|
+
*
|
|
1315
|
+
* @returns The readyState of the track.
|
|
1316
|
+
*/
|
|
1317
|
+
get readyState() {
|
|
1318
|
+
return this.inputTrack.readyState;
|
|
1319
|
+
}
|
|
1304
1320
|
/**
|
|
1305
1321
|
* Change the track of the output stream to a different track.
|
|
1306
1322
|
*
|
|
@@ -1382,6 +1398,14 @@ class _LocalStream extends Stream {
|
|
|
1382
1398
|
var _c;
|
|
1383
1399
|
return (_c = this.effects.find((e) => e.name === name)) === null || _c === void 0 ? void 0 : _c.effect;
|
|
1384
1400
|
}
|
|
1401
|
+
/**
|
|
1402
|
+
* Get all the effects from the effects list.
|
|
1403
|
+
*
|
|
1404
|
+
* @returns A list of effect items, each containing the name and the effect itself.
|
|
1405
|
+
*/
|
|
1406
|
+
getAllEffects() {
|
|
1407
|
+
return this.effects;
|
|
1408
|
+
}
|
|
1385
1409
|
/**
|
|
1386
1410
|
* Cleanup the local effects.
|
|
1387
1411
|
*/
|