Skip to content

Camera (Web API)

Browser (WASM)

An input that captures the camera and microphone output using Web API getUserMedia().

Usage

cameraInputExample.tsx
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();