Skip to content

Screen capture (Web API)

This content is for SDK (TypeScript) 0.2.x. Switch to the latest version for up-to-date documentation.

Browser (WASM)

An input that captures the screen output and audio using Web API getDisplayMedia().

Usage

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