@webex/internal-media-core 2.11.0 → 2.11.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 +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -2429,7 +2429,7 @@ localSystemAudioStream=new systemAudioStreamConstructor(new MediaStream(stream.g
|
|
|
2429
2429
|
*
|
|
2430
2430
|
* @param deviceKind - Optional filter to return a specific device kind.
|
|
2431
2431
|
* @returns List of media devices in an array of MediaDeviceInfo objects.
|
|
2432
|
-
*/function getDevices(deviceKind){return __awaiter$2(this,void 0,void 0,function*(){var devices;
|
|
2432
|
+
*/function getDevices(deviceKind){return __awaiter$2(this,void 0,void 0,function*(){var devices;var deviceKinds=deviceKind?[deviceKind]:[DeviceKind$1.AudioInput,DeviceKind$1.VideoInput];try{devices=yield ensureDevicePermissions(deviceKinds,enumerateDevices);}catch(error){throw new WebrtcCoreError(WebrtcCoreErrorType.DEVICE_PERMISSION_DENIED,'Failed to ensure device permissions');}return devices.filter(v=>deviceKind?v.kind===deviceKind:true);});}/**
|
|
2433
2433
|
* Helper function to get a list of microphone devices.
|
|
2434
2434
|
*
|
|
2435
2435
|
* @returns List of microphone devices in an array of MediaDeviceInfo objects.
|
package/dist/esm/index.js
CHANGED
|
@@ -2418,7 +2418,7 @@ localSystemAudioStream=new systemAudioStreamConstructor(new MediaStream(stream.g
|
|
|
2418
2418
|
*
|
|
2419
2419
|
* @param deviceKind - Optional filter to return a specific device kind.
|
|
2420
2420
|
* @returns List of media devices in an array of MediaDeviceInfo objects.
|
|
2421
|
-
*/function getDevices(deviceKind){return __awaiter$2(this,void 0,void 0,function*(){var devices;
|
|
2421
|
+
*/function getDevices(deviceKind){return __awaiter$2(this,void 0,void 0,function*(){var devices;var deviceKinds=deviceKind?[deviceKind]:[DeviceKind$1.AudioInput,DeviceKind$1.VideoInput];try{devices=yield ensureDevicePermissions(deviceKinds,enumerateDevices);}catch(error){throw new WebrtcCoreError(WebrtcCoreErrorType.DEVICE_PERMISSION_DENIED,'Failed to ensure device permissions');}return devices.filter(v=>deviceKind?v.kind===deviceKind:true);});}/**
|
|
2422
2422
|
* Helper function to get a list of microphone devices.
|
|
2423
2423
|
*
|
|
2424
2424
|
* @returns List of microphone devices in an array of MediaDeviceInfo objects.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/internal-media-core",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/cjs",
|
|
6
6
|
"dist/esm",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@webex/rtcstats": "^1.5.0",
|
|
50
50
|
"@webex/ts-sdp": "1.7.0",
|
|
51
51
|
"@webex/web-capabilities": "^1.4.1",
|
|
52
|
-
"@webex/web-client-media-engine": "3.24.
|
|
52
|
+
"@webex/web-client-media-engine": "3.24.2",
|
|
53
53
|
"events": "^3.3.0",
|
|
54
54
|
"typed-emitter": "^2.1.0",
|
|
55
55
|
"uuid": "^8.3.2",
|