Skip to main content

Module media_host

Module media_host 

Source
Expand description

IM.6b — the inline-media provider guest world.

A WASM media provider implements the media-plugin world: it exports the media producer (media-blocks) and imports the capability-gated host-services a scan might need. This module holds the bindgen! for that world, using the same shared-types trick as every seam before it — with: points types + host-services at the plugin world’s generated modules so a crossed media-block is the SAME Rust type the boundary round-trips.

Producer, async. The guest is called OFF the render path on a trigger and its result cached; a guest on the render path would be per-frame WASM, a paramount-#1 violation.