Skip to content

Screen capture (Web API)

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

cameraInputExample.tsx
import Smelter from "@swmansion/smelter-web-wasm"
async function run() {
const smelter = new Smelter();
await smelter.init();
await smelter.registerInput('example', { type: 'screen_capture' })
}
void run()