@pexip/media-control 22.1.0 → 22.2.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/CHANGELOG.md +9 -0
- package/dist/devices.js +1 -1
- package/package.json +4 -9
package/CHANGELOG.md
CHANGED
package/dist/devices.js
CHANGED
|
@@ -219,7 +219,7 @@ export const compareDeviceConstraintAndTrackDevice = (device) => (constraint) =>
|
|
|
219
219
|
const requestingDevices = Object.values(normalized).flatMap(t => (Array.isArray(t) ? t : [t]));
|
|
220
220
|
const compare = compareDevices(device,
|
|
221
221
|
// Always use `deviceId` for exact constraints
|
|
222
|
-
|
|
222
|
+
normalized.exact || !device.label ? 'deviceId' : 'label');
|
|
223
223
|
return requestingDevices.some(compare);
|
|
224
224
|
}
|
|
225
225
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pexip/media-control",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.2.0",
|
|
4
4
|
"homepage": "https://developer.pexip.com",
|
|
5
5
|
"bugs": "https://gitlab.com/pexip/zoo/issues",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"clean": "rm -rf dist api-docs",
|
|
41
41
|
"dev": "pexip-bundler dev",
|
|
42
42
|
"prepack": "yarn clean && yarn build && yarn docs",
|
|
43
|
-
"test": "
|
|
43
|
+
"test": "pexip-bundler test",
|
|
44
44
|
"check-format": "prettier --ignore-path=../../.prettierignore --check .",
|
|
45
45
|
"format": "prettier --ignore-path=../../.prettierignore --write .",
|
|
46
46
|
"lint": "yarn run -T biome lint",
|
|
@@ -48,17 +48,12 @@
|
|
|
48
48
|
"docs": "typedoc"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@pexip/utils": "17.4.
|
|
51
|
+
"@pexip/utils": "17.4.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@pexip/bundler": "18.2.1",
|
|
56
|
-
"@swc/core": "^1.15.33",
|
|
57
|
-
"@swc/jest": "^0.2.39",
|
|
54
|
+
"@pexip/bundler": "18.3.0",
|
|
58
55
|
"@types/uuid": "^8.3.0",
|
|
59
56
|
"@types/webrtc": "^0.0.31",
|
|
60
|
-
"jest": "^29.5.12",
|
|
61
|
-
"jest-junit": "^16.0.0",
|
|
62
57
|
"prettier": "^3.2.5",
|
|
63
58
|
"typedoc": "^0.28.18",
|
|
64
59
|
"typedoc-plugin-markdown": "^4.11.0",
|