#[repr(C)]pub struct moq_track_info {
pub priority: u8,
pub max_age_us: u64,
pub max_age_present: bool,
pub timescale: u64,
pub timescale_present: bool,
}Expand description
Publisher-side raw track properties.
A null moq_publish_track info pointer uses the moq-net defaults.
A zero-initialized struct also uses those defaults, except priority where
zero is the default itself.
Fields§
§priority: u8Priority, used to break ties between subscriptions of equal subscriber priority.
max_age_us: u64Maximum age of a non-latest group before the publisher evicts it, in microseconds.
The publisher-side half of moq_subscription.max_age_us.
max_age_present: boolWhether max_age_us is set. When false, the publisher’s default applies.
timescale: u64Per-frame timescale in ticks per second.
timescale_present: boolWhether timescale is set. When false, the default microsecond timescale
applies, matching the timestamp_us units used everywhere else in this ABI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for moq_track_info
impl RefUnwindSafe for moq_track_info
impl Send for moq_track_info
impl Sync for moq_track_info
impl Unpin for moq_track_info
impl UnsafeUnpin for moq_track_info
impl UnwindSafe for moq_track_info
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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