#[repr(C)]pub struct moq_video_config {
pub name: *const c_char,
pub name_len: usize,
pub codec: *const c_char,
pub codec_len: usize,
pub description: *const u8,
pub description_len: usize,
pub coded_width: *const u32,
pub coded_height: *const u32,
}Expand description
Information about a video rendition in the catalog.
Fields§
§name: *const c_charThe name of the track, NOT NULL terminated.
name_len: usize§codec: *const c_charThe codec of the track, NOT NULL terminated
codec_len: usize§description: *const u8The description of the track, or NULL if not used. This is codec specific, for example H264:
- NULL: annex.b encoded
- Non-NULL: AVCC encoded
description_len: usize§coded_width: *const u32The encoded width/height of the media, or NULL if not available
coded_height: *const u32Auto Trait Implementations§
impl Freeze for moq_video_config
impl RefUnwindSafe for moq_video_config
impl !Send for moq_video_config
impl !Sync for moq_video_config
impl Unpin for moq_video_config
impl UnwindSafe for moq_video_config
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more