[−][src]Struct rusoto_kinesis_video_media::GetMediaOutput
Fields
content_type: Option<String>
The content type of the requested media.
payload: Option<Bytes>
The payload Kinesis Video Streams returns is a sequence of chunks from the specified stream. For information about the chunks, see . The chunks that Kinesis Video Streams returns in the GetMedia
call also include the following additional Matroska (MKV) tags:
-
AWSKINESISVIDEOCONTINUATIONTOKEN (UTF-8 string) - In the event your
GetMedia
call terminates, you can use this continuation token in your next request to get the next chunk where the last request terminated. -
AWSKINESISVIDEOMILLISBEHINDNOW (UTF-8 string) - Client applications can use this tag value to determine how far behind the chunk returned in the response is from the latest chunk on the stream.
-
AWSKINESISVIDEOFRAGMENTNUMBER - Fragment number returned in the chunk.
-
AWSKINESISVIDEOSERVERTIMESTAMP - Server timestamp of the fragment.
-
AWSKINESISVIDEOPRODUCERTIMESTAMP - Producer timestamp of the fragment.
The following tags will be present if an error occurs:
-
AWSKINESISVIDEOERRORCODE - String description of an error that caused GetMedia to stop.
-
AWSKINESISVIDEOERRORID: Integer code of the error.
The error codes are as follows:
-
3002 - Error writing to the stream
-
4000 - Requested fragment is not found
-
4500 - Access denied for the stream's KMS key
-
4501 - Stream's KMS key is disabled
-
4502 - Validation error on the stream's KMS key
-
4503 - KMS key specified in the stream is unavailable
-
4504 - Invalid usage of the KMS key specified in the stream
-
4505 - Invalid state of the KMS key specified in the stream
-
4506 - Unable to find the KMS key specified in the stream
-
5000 - Internal error
Trait Implementations
impl PartialEq<GetMediaOutput> for GetMediaOutput
[src]
fn eq(&self, other: &GetMediaOutput) -> bool
[src]
fn ne(&self, other: &GetMediaOutput) -> bool
[src]
impl Default for GetMediaOutput
[src]
fn default() -> GetMediaOutput
[src]
impl Clone for GetMediaOutput
[src]
fn clone(&self) -> GetMediaOutput
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GetMediaOutput
[src]
Auto Trait Implementations
impl Send for GetMediaOutput
impl Sync for GetMediaOutput
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