ferroui_media_browser
module · ferroui-media-browser · v0.5.0
module ferroui_media_browser
Immutable WebGL2 storage shared by independent producers, video and camera.
Two routes, chosen at run time by where the compositor's WebGL2 context lives:
on the page's thread, native media transfers use TexImageSource directly into
a shared texture; on the render worker of a module with threads, each frame is
a WebCodecs VideoFrame transferred to the worker and uploaded there when the
compositor imports it (#601). No framework preview pixel array or readback is
admitted on either route. Browser decoder/driver internals are opaque.
Contents
WebGlFrameProducer— structPendingWebGlFrame— structBrowserImageFrame— structBrowserFrameStream— structunsupported— function
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.