pub enum VideoSeekStrategy {
LocalNativeSeek,
Html5NativeSeek,
BackendNativeSeek,
Html5ReloadStream,
BackendReloadStream,
}Expand description
Seek strategy for video playback, derived from a stream’s characteristics.
Variants§
LocalNativeSeek
Local file - always use native seek on backend
Html5NativeSeek
HLS or direct stream with HTML5 - frontend handles seek, skip backend
BackendNativeSeek
HLS or direct stream with native backend - backend handles seek
Html5ReloadStream
Transcoded non-HLS with HTML5 - reload stream, frontend handles
BackendReloadStream
Transcoded non-HLS with native backend - reload stream, backend handles
Trait Implementations§
Source§impl Clone for VideoSeekStrategy
impl Clone for VideoSeekStrategy
Source§fn clone(&self) -> VideoSeekStrategy
fn clone(&self) -> VideoSeekStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoSeekStrategy
impl Debug for VideoSeekStrategy
Source§impl PartialEq for VideoSeekStrategy
impl PartialEq for VideoSeekStrategy
Source§fn eq(&self, other: &VideoSeekStrategy) -> bool
fn eq(&self, other: &VideoSeekStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VideoSeekStrategy
impl Eq for VideoSeekStrategy
impl StructuralPartialEq for VideoSeekStrategy
Auto Trait Implementations§
impl Freeze for VideoSeekStrategy
impl RefUnwindSafe for VideoSeekStrategy
impl Send for VideoSeekStrategy
impl Sync for VideoSeekStrategy
impl Unpin for VideoSeekStrategy
impl UnsafeUnpin for VideoSeekStrategy
impl UnwindSafe for VideoSeekStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more