pub struct Track {Show 14 fields
pub name: String,
pub packaging: Packaging,
pub is_live: bool,
pub role: Option<Role>,
pub codec: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
pub framerate: Option<f64>,
pub samplerate: Option<u32>,
pub channel_config: Option<String>,
pub bitrate: Option<u64>,
pub init_data: Option<String>,
pub render_group: Option<u32>,
pub alt_group: Option<u32>,
}Expand description
A single track in the MSF catalog.
Fields§
§name: StringUnique track name (case-sensitive).
packaging: PackagingPackaging mode.
is_live: boolWhether new objects will be appended.
role: Option<Role>Content role.
codec: Option<String>WebCodecs codec string.
width: Option<u32>Video frame width in pixels.
height: Option<u32>Video frame height in pixels.
framerate: Option<f64>Video frame rate.
samplerate: Option<u32>Audio sample rate in Hz.
channel_config: Option<String>Audio channel configuration.
bitrate: Option<u64>Bitrate in bits per second.
init_data: Option<String>Base64-encoded initialization data.
render_group: Option<u32>Render group for synchronized playback.
alt_group: Option<u32>Alternate group for quality switching.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Track
impl<'de> Deserialize<'de> for Track
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Track
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin for Track
impl UnwindSafe for Track
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more