MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / scanVideoDom

Function scanVideoDom

packages/cli/src/capture/mediaCapture.ts:338–340  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

336})()`;
337
338async function scanVideoDom(page: Page): Promise<VideoDescriptor[]> {
339 return (await page.evaluate(VIDEO_SCAN_EXPR)) as VideoDescriptor[];
340}
341
342/**
343 * Layer 2 (passive): poll the DOM over a bounded window so auto-rotating

Callers 2

sampleVideoDomFunction · 0.85
captureVideoManifestFunction · 0.85

Calls 1

evaluateMethod · 0.80

Tested by

no test coverage detected