Skip to content

Commit

Permalink
Expose ProcessorPipeline and VideoTransformer (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO authored Sep 15, 2023
1 parent 081e401 commit 04e116f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .changeset/five-trains-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@livekit/track-processors": patch
---

Expose ProcessorPipeline and VideoTransformer
Update media vision SDK
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"dependencies": {
"@mediapipe/holistic": "0.5.1675471629",
"@mediapipe/tasks-vision": "0.10.1"
"@mediapipe/tasks-vision": "0.10.5"
},
"peerDependencies": {
"livekit-client": "^1.12.0"
Expand All @@ -32,7 +32,7 @@
"@changesets/cli": "^2.26.2",
"@livekit/changesets-changelog-github": "^0.0.4",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/dom-mediacapture-transform": "^0.1.5",
"@types/dom-mediacapture-transform": "^0.1.6",
"@types/offscreencanvas": "^2019.7.0",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"eslint": "8.39.0",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import BackgroundTransformer, { SegmenterBaseOptions } from './transformers/Back
import DummyTransformer from './transformers/DummyTransformer';

export * from './transformers/types';
export { default as VideoTransformer } from './transformers/VideoTransformer';
export { ProcessorPipeline };

export const BackgroundBlur = (
blurRadius: number = 10,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"lib": ["DOM", "ES2017"],
"target": "ES2017" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "ES2020" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"rootDir": "./",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,10 @@
resolved "https://registry.yarnpkg.com/@mediapipe/holistic/-/holistic-0.5.1675471629.tgz#f1127d43161ff27e8889d5d39aaea164f9730980"
integrity sha512-qY+cxtDeSOvVtevrLgnodiwXYaAtPi7dHZtNv/bUCGEjFicAOYtMmrZSqMmbPkTB2+4jLnPF1vgshkAqQRSYAw==

"@mediapipe/[email protected].1":
version "0.10.1"
resolved "https://registry.yarnpkg.com/@mediapipe/tasks-vision/-/tasks-vision-0.10.1.tgz#68047459352019cc141dc9c1d15c05b8ab689423"
integrity sha512-/zIKjOAIABx+KVfqe8hA6X2pxBGsBYlEtvD7/gpXecvzKefo/JQO6XaggmJul7+noaqiPYM0CVGZxmFJ2oTdSQ==
"@mediapipe/[email protected].5":
version "0.10.5"
resolved "https://registry.yarnpkg.com/@mediapipe/tasks-vision/-/tasks-vision-0.10.5.tgz#09cfcf873a1056e1e80b9c6fe3b9f2c1836cb1ea"
integrity sha512-pCLvVEx917KHMYlIP/TqJH0XnO3ryObl5ox2l8cKSFGIWvmT9bKCq+lsD4N89UaslxEkB6ofPLRD2mOm01n1qA==

"@nodelib/[email protected]":
version "2.1.5"
Expand Down Expand Up @@ -728,10 +728,10 @@
javascript-natural-sort "0.7.1"
lodash "^4.17.21"

"@types/dom-mediacapture-transform@^0.1.5":
version "0.1.5"
resolved "https://registry.yarnpkg.com/@types/dom-mediacapture-transform/-/dom-mediacapture-transform-0.1.5.tgz#66e0bc919c4c18542644c6658d4e4dc1abd49740"
integrity sha512-Mgu6H5LVJPgJuAumx0xFEdZvn9whHy+J3gEJbJz5xdWrUJ8ZwZ/JTvWwYOQPkCGzGWykPN7ufQn94iil+VCWGw==
"@types/dom-mediacapture-transform@^0.1.6":
version "0.1.6"
resolved "https://registry.yarnpkg.com/@types/dom-mediacapture-transform/-/dom-mediacapture-transform-0.1.6.tgz#26890dbfa4b3e5d81fba370e49f579892bcf89a3"
integrity sha512-sl2o+PVeciAozjEmj6UOnxOB3n4qv9bs2mw7PFYWYxpUKTHRIpDvm8TTfsWoRI86byQXWjQKecckaGSx/ExDPA==
dependencies:
"@types/dom-webcodecs" "*"

Expand Down

0 comments on commit 04e116f

Please sign in to comment.