[−][src]Struct rusoto_kinesis_video_media::StartSelector
Identifies the chunk on the Kinesis video stream where you want the GetMedia API to start returning media data. You have the following options to identify the starting chunk:
-
Choose the latest (or oldest) chunk.
-
Identify a specific chunk. You can identify a specific chunk either by providing a fragment number or timestamp (server or producer).
-
Each chunk's metadata includes a continuation token as a Matroska (MKV) tag (
AWSKINESISVIDEOCONTINUATION_TOKEN). If your previousGetMediarequest terminated, you can use this tag value in your nextGetMediarequest. The API then starts returning chunks starting where the last API ended.
Fields
after_fragment_number: Option<String>Specifies the fragment number from where you want the GetMedia API to start returning the fragments.
continuation_token: Option<String>Continuation token that Kinesis Video Streams returned in the previous GetMedia response. The GetMedia API then starts with the chunk identified by the continuation token.
start_selector_type: StringIdentifies the fragment on the Kinesis video stream where you want to start getting the data from.
-
NOW - Start with the latest chunk on the stream.
-
EARLIEST - Start with earliest available chunk on the stream.
-
FRAGMENTNUMBER - Start with the chunk containing the specific fragment. You must also specify the
StartFragmentNumber. -
PRODUCERTIMESTAMP or SERVERTIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp by adding
StartTimestamp. -
CONTINUATIONTOKEN - Read using the specified continuation token.
If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType, you don't provide any additional information in the startSelector.
start_timestamp: Option<f64>A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as the startSelectorType. The GetMedia API then starts with the chunk containing the fragment that has the specified timestamp.
Trait Implementations
impl PartialEq<StartSelector> for StartSelector[src]
fn eq(&self, other: &StartSelector) -> bool[src]
fn ne(&self, other: &StartSelector) -> bool[src]
impl Default for StartSelector[src]
fn default() -> StartSelector[src]
impl Clone for StartSelector[src]
fn clone(&self) -> StartSelector[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for StartSelector[src]
impl Serialize for StartSelector[src]
Auto Trait Implementations
impl Send for StartSelector
impl Sync for StartSelector
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>, [src]
T: From<U>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self