@pexip/media 20.3.0 → 20.3.4
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 +41 -0
- package/dist/audioMixingProcessor.js +3 -7
- package/dist/previewController.js +1 -1
- package/dist/userMedia.js +3 -1
- package/dist/videoProcessor.js +2 -0
- package/package.json +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @pexip/media
|
|
2
2
|
|
|
3
|
+
## 20.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0e1a7b7]
|
|
8
|
+
- @pexip/utils@17.1.2
|
|
9
|
+
- @pexip/media-control@20.3.4
|
|
10
|
+
- @pexip/media-processor@20.3.4
|
|
11
|
+
|
|
12
|
+
## 20.3.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- a93f6b9: Fix audio mixer muted state
|
|
17
|
+
- @pexip/media-control@20.3.3
|
|
18
|
+
- @pexip/media-processor@20.3.3
|
|
19
|
+
|
|
20
|
+
## 20.3.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [aac2518]
|
|
25
|
+
- Updated dependencies [aac2518]
|
|
26
|
+
- @pexip/utils@17.1.1
|
|
27
|
+
- @pexip/signal@16.9.2
|
|
28
|
+
- @pexip/media-control@20.3.2
|
|
29
|
+
- @pexip/media-processor@20.3.2
|
|
30
|
+
|
|
31
|
+
## 20.3.1
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- af038f3: Update Biome v2
|
|
36
|
+
- Updated dependencies [4068f02]
|
|
37
|
+
- Updated dependencies [a551f01]
|
|
38
|
+
- Updated dependencies [af038f3]
|
|
39
|
+
- @pexip/utils@17.1.0
|
|
40
|
+
- @pexip/signal@16.9.1
|
|
41
|
+
- @pexip/media-processor@20.3.1
|
|
42
|
+
- @pexip/media-control@20.3.1
|
|
43
|
+
|
|
3
44
|
## 20.3.0
|
|
4
45
|
|
|
5
46
|
### Minor Changes
|
|
@@ -162,13 +162,9 @@ export const createAudioMixingProcess = (getCurrentMedia, signals, label = PROCE
|
|
|
162
162
|
prevMediaTrack.mute(toMute, soft);
|
|
163
163
|
},
|
|
164
164
|
get muted() {
|
|
165
|
-
return
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
!!prevMediaTrack.muted ||
|
|
169
|
-
mainSource.node?.mediaStream
|
|
170
|
-
.getAudioTracks()
|
|
171
|
-
.some(track => track.enabled === false));
|
|
165
|
+
return mainSource.node?.mediaStream
|
|
166
|
+
.getAudioTracks()
|
|
167
|
+
.some(track => track.enabled === false);
|
|
172
168
|
},
|
|
173
169
|
constraints: prevMediaTrack.getConstraints(),
|
|
174
170
|
applyConstraints,
|
|
@@ -373,7 +373,7 @@ export const createPreviewStreamController = ({ getCurrentDevices, getCurrentMed
|
|
|
373
373
|
const audioSettings = extractFeaturesToConstraints(AUDIO_SETTINGS_KEYS, previewAudio);
|
|
374
374
|
// Omit the width & height settings from the preview so that the one
|
|
375
375
|
// from the main can be applied
|
|
376
|
-
const { width, height, ...videoSettings } = extractFeaturesToConstraints(VIDEO_SETTINGS_KEYS, previewVideo);
|
|
376
|
+
const { width: _width, height: _height, ...videoSettings } = extractFeaturesToConstraints(VIDEO_SETTINGS_KEYS, previewVideo);
|
|
377
377
|
logger.info({ audioInput, videoInput, audioSettings, videoSettings }, 'Apply changes to main');
|
|
378
378
|
try {
|
|
379
379
|
await replaceMainStream({
|
package/dist/userMedia.js
CHANGED
|
@@ -473,7 +473,9 @@ export const createGetUserMediaProcess = ({ getCurrentDevices, getUserMedia, sco
|
|
|
473
473
|
return async ({ constraints, permission, originalConstraints, currentMedia, }) => {
|
|
474
474
|
// Release the current track(s)
|
|
475
475
|
if (currentMedia) {
|
|
476
|
-
await Promise.all(
|
|
476
|
+
await Promise.all(
|
|
477
|
+
// biome-ignore lint/suspicious/useIterableCallbackReturn: False positive
|
|
478
|
+
currentMedia.getTracks().map(track => {
|
|
477
479
|
switch (track.kind) {
|
|
478
480
|
case 'audioinput':
|
|
479
481
|
// When the constraints is undefined we should do nothing
|
package/dist/videoProcessor.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pexip/media",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.4",
|
|
4
4
|
"description": "Home for media related stuff",
|
|
5
5
|
"homepage": "https://gitlab.com/pexip/zoo",
|
|
6
6
|
"bugs": "https://gitlab.com/pexip/zoo/issues",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://
|
|
10
|
-
"directory": "
|
|
9
|
+
"url": "https://github.com/pexip/aquila.git",
|
|
10
|
+
"directory": "packages/media"
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"license": "Apache-2.0",
|
|
@@ -44,23 +44,22 @@
|
|
|
44
44
|
"typecheck": "yarn tsc --noEmit -p ."
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@pexip/media-control": "20.3.
|
|
48
|
-
"@pexip/media-processor": "20.3.
|
|
49
|
-
"@pexip/signal": "16.9.
|
|
50
|
-
"@pexip/utils": "17.
|
|
47
|
+
"@pexip/media-control": "20.3.4",
|
|
48
|
+
"@pexip/media-processor": "20.3.4",
|
|
49
|
+
"@pexip/signal": "16.9.2",
|
|
50
|
+
"@pexip/utils": "17.1.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@jest/globals": "^
|
|
53
|
+
"@jest/globals": "^30.2.0",
|
|
54
54
|
"@pexip/bundler": "18.1.2",
|
|
55
55
|
"@swc/core": "^1.10.12",
|
|
56
|
-
"@swc/jest": "^0.2.
|
|
56
|
+
"@swc/jest": "^0.2.39",
|
|
57
57
|
"jest": "^29.5.12",
|
|
58
58
|
"jest-junit": "^16.0.0",
|
|
59
59
|
"prettier": "^3.2.5",
|
|
60
60
|
"typescript": "~5.7.3"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
|
-
"access": "public"
|
|
64
|
-
"registry": "https://registry.npmjs.org/"
|
|
63
|
+
"access": "public"
|
|
65
64
|
}
|
|
66
65
|
}
|