#[non_exhaustive]pub struct DynamicContext {
pub availability_start_us: i128,
pub time_shift_buffer_depth_us: Option<i128>,
pub availability_time_offset_us: i128,
pub horizon_utc_us: Option<i128>,
}Expand description
What a dynamic MPD adds to the plan.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.availability_start_us: i128MPD@availabilityStartTime as Unix microseconds.
time_shift_buffer_depth_us: Option<i128>The effective @timeShiftBufferDepth (Representation level over MPD
level), microseconds; None means unbounded.
availability_time_offset_us: i128Sum of @availabilityTimeOffset over every level that built the URL,
microseconds; zero unless the caller opted into early requests.
horizon_utc_us: Option<i128>FetchTime + minimumUpdatePeriod in UTC microseconds: where a trailing
negative @r runs to when the Period has no known end (A.3.2).
Implementations§
Trait Implementations§
Source§impl Clone for DynamicContext
impl Clone for DynamicContext
Source§impl Debug for DynamicContext
impl Debug for DynamicContext
impl Eq for DynamicContext
Source§impl PartialEq for DynamicContext
impl PartialEq for DynamicContext
impl StructuralPartialEq for DynamicContext
Auto Trait Implementations§
impl Forget for DynamicContext
impl Freeze for DynamicContext
impl RefUnwindSafe for DynamicContext
impl Send for DynamicContext
impl Sync for DynamicContext
impl Unpin for DynamicContext
impl UnsafeUnpin for DynamicContext
impl UnwindSafe for DynamicContext
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