Camera (Web API)
This content is for SDK (TypeScript) 0.2.x. Switch to the latest version for up-to-date documentation.
Browser (WASM)
cameraInputExample.tsx
An input that captures the camera and microphone output using Web API getUserMedia().
Usage
import Smelter from "@swmansion/smelter-web-wasm";
async function run() { const smelter = new Smelter(); await smelter.init(); await smelter.registerInput("example", { type: "camera" });}void run();