FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MediaPlayerProviderFactory

    type alias · ferroui-media-video-controls · v0.5.0

    type MediaPlayerProviderFactory = dyn Fn(&dyn ICompositionGpuInterop) -> Result<(std::rc::Rc<dyn MediaPlayerProvider>, std::rc::Rc<dyn TextureFrameImporter>), ferroui_media_video::MediaError>
    

    Recreates renderer-bound playback and import resources. Capture a shared FrameBudget so retirement from old devices remains charged to the same limit.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.