-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web-wasm] Move compositor to web worker + add camera (copied from #913…
…) (#916) Co-authored-by: Mikołaj Radkowski <[email protected]>
- Loading branch information
Showing
46 changed files
with
2,055 additions
and
1,407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Resolution } from '@live-compositor/browser-render'; | ||
import type { Renderers } from 'live-compositor'; | ||
|
||
export type RegisterImage = Required<Pick<Renderers.RegisterImage, 'assetType' | 'url'>>; | ||
|
||
export type RegisterOutput = { | ||
type: 'canvas'; | ||
video: { | ||
canvas: HTMLCanvasElement; | ||
resolution: Resolution; | ||
}; | ||
}; | ||
|
||
export type RegisterInput = | ||
| { type: 'mp4'; url: string } | ||
| { type: 'camera' } | ||
| { type: 'screen_capture' }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import WasmInstance from './manager/wasmInstance'; | ||
import LiveCompositor, { setWasmBundleUrl } from './compositor'; | ||
import LiveCompositor, { setWasmBundleUrl } from './compositor/compositor'; | ||
|
||
export { WasmInstance, LiveCompositor, setWasmBundleUrl }; | ||
export { LiveCompositor, setWasmBundleUrl }; |
55 changes: 0 additions & 55 deletions
55
ts/@live-compositor/web-wasm/src/input/decoder/h264Decoder.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.