[−][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 Clone for GetMediaOutput
[src]
pub fn clone(&self) -> GetMediaOutput
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetMediaOutput
[src]
impl Default for GetMediaOutput
[src]
pub fn default() -> GetMediaOutput
[src]
impl PartialEq<GetMediaOutput> for GetMediaOutput
[src]
pub fn eq(&self, other: &GetMediaOutput) -> bool
[src]
pub fn ne(&self, other: &GetMediaOutput) -> bool
[src]
impl StructuralPartialEq for GetMediaOutput
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetMediaOutput
[src]
impl Send for GetMediaOutput
[src]
impl Sync for GetMediaOutput
[src]
impl Unpin for GetMediaOutput
[src]
impl UnwindSafe for GetMediaOutput
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,