oa::media::MediaPlayerConfig
Struct published by the oa::media module.
Declaration
pub struct MediaPlayerConfig { pub video_path: PathBuf, pub audio_path: PathBuf, pub audio_ring_milliseconds: u32, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
video_pathPathBuffieldaudio_pathPathBuffieldaudio_ring_millisecondsu32fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
Play one container as both tracks: the video demuxer indexes its video track while AudioPlayer decodes the embedded audio track. The two decoders share the container’s own timestamp epoch.
No public source comment is attached to this declaration.