@pexip/media 18.4.0 → 18.5.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 +17 -0
- package/README.md +1 -1
- package/dist/media.js +1 -2
- package/package.json +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @pexip/media
|
|
2
2
|
|
|
3
|
+
## 18.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f146682: Make `delegate` prop to be a fn
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- d98fe9d: Move to module type.
|
|
12
|
+
- Updated dependencies [d98fe9d]
|
|
13
|
+
- Updated dependencies [acd7aba]
|
|
14
|
+
- Updated dependencies [f146682]
|
|
15
|
+
- @pexip/media-processor@18.5.0
|
|
16
|
+
- @pexip/media-control@18.5.0
|
|
17
|
+
- @pexip/signal@16.7.1
|
|
18
|
+
- @pexip/utils@16.12.1
|
|
19
|
+
|
|
3
20
|
## 18.4.0
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -195,7 +195,7 @@ const transformer = createCanvasTransform(segmenter, {
|
|
|
195
195
|
backgroundImageUrl: states.backgroundImageUrl,
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
const delegate = isChromium() ? 'GPU' : 'CPU';
|
|
198
|
+
const delegate = () => (isChromium() ? 'GPU' : 'CPU');
|
|
199
199
|
const selfie = createSegmenter(taskVisionBasePath, {
|
|
200
200
|
modelAsset,
|
|
201
201
|
delegate,
|
package/dist/media.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { subscribe, MediaEventType, MediaDeviceFailure, createStreamTrackEventSubscriptions, getDevices, isRequestedResolution, mergeConstraints, shouldRequestDevice, } from '@pexip/media-control';
|
|
1
|
+
import { subscribe, MediaEventType, MediaDeviceFailure, createStreamTrackEventSubscriptions, getDevices, isRequestedResolution, mergeConstraints, shouldRequestDevice, extractConstrainDevice, } from '@pexip/media-control';
|
|
2
2
|
import { createAsyncQueue, isEmpty } from '@pexip/utils';
|
|
3
|
-
import { extractConstrainDevice } from '@pexip/media-control/dist/constraints';
|
|
4
3
|
import { getPermissionStatus, deriveInitialPermissionStatus, isInitialPermissions, isInitialPermissionsGranted, isVideoDeviceInUse, isDevicesInUse, isAudioDeviceInUse, } from './status';
|
|
5
4
|
import { UserMediaStatus } from './types';
|
|
6
5
|
import { createModuleLogger, logger } from './logger';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pexip/media",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.5.0",
|
|
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",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"url": "https://gitlab.com/pexip/zoo.git",
|
|
10
10
|
"directory": "src/aquila/packages/media"
|
|
11
11
|
},
|
|
12
|
+
"type": "module",
|
|
12
13
|
"license": "Apache-2.0",
|
|
13
14
|
"author": "Terrence Lam <terrence@tlam.dev>",
|
|
14
15
|
"module": "dist/index.js",
|
|
@@ -25,21 +26,24 @@
|
|
|
25
26
|
"clean": "rm -fr dist",
|
|
26
27
|
"dev": "pexip-bundler dev",
|
|
27
28
|
"prepack": "yarn clean && yarn build --no-sourcemap",
|
|
28
|
-
"test": "
|
|
29
|
+
"test": "jest",
|
|
29
30
|
"check-format": "prettier --ignore-path=../../.prettierignore --check .",
|
|
30
31
|
"format": "prettier --ignore-path=../../.prettierignore --write .",
|
|
31
32
|
"lint": "yarn run -T eslint --ext .js,.ts,.tsx --report-unused-disable-directives .",
|
|
32
33
|
"typecheck": "yarn tsc --noEmit -p ."
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@pexip/media-control": "18.
|
|
36
|
-
"@pexip/media-processor": "18.
|
|
37
|
-
"@pexip/signal": "16.7.
|
|
38
|
-
"@pexip/utils": "16.12.
|
|
36
|
+
"@pexip/media-control": "18.5.0",
|
|
37
|
+
"@pexip/media-processor": "18.5.0",
|
|
38
|
+
"@pexip/signal": "16.7.1",
|
|
39
|
+
"@pexip/utils": "16.12.1"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
42
|
+
"@pexip/bundler": "17.0.0",
|
|
43
|
+
"@swc/core": "^1.4.6",
|
|
44
|
+
"@swc/jest": "^0.2.36",
|
|
45
|
+
"jest": "^29.5.12",
|
|
46
|
+
"jest-junit": "^16.0.0",
|
|
43
47
|
"prettier": "^3.2.5",
|
|
44
48
|
"typescript": "~5.3.0"
|
|
45
49
|
},
|