pub enum GetDASHStreamingSessionURLError {
ClientLimitExceeded(String),
InvalidArgument(String),
InvalidCodecPrivateData(String),
MissingCodecPrivateData(String),
NoDataRetention(String),
NotAuthorized(String),
ResourceNotFound(String),
UnsupportedStreamMediaType(String),
}
Expand description
Errors returned by GetDASHStreamingSessionURL
Variants
ClientLimitExceeded(String)
Kinesis Video Streams has throttled the request because you have exceeded a limit. Try making the call later. For information about limits, see Kinesis Video Streams Limits.
InvalidArgument(String)
A specified parameter exceeds its restrictions, is not supported, or can't be used.
InvalidCodecPrivateData(String)
The codec private data in at least one of the tracks of the video stream is not valid for this operation.
MissingCodecPrivateData(String)
No codec private data was found in at least one of tracks of the video stream.
NoDataRetention(String)
A streaming session was requested for a stream that does not retain data (that is, has a DataRetentionInHours
of 0).
NotAuthorized(String)
Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token has expired.
ResourceNotFound(String)
GetMedia
throws this error when Kinesis Video Streams can't find the stream that you specified.
GetHLSStreamingSessionURL
and GetDASHStreamingSessionURL
throw this error if a session with a PlaybackMode
of ON_DEMAND
or LIVE_REPLAY
is requested for a stream that has no fragments within the requested time range, or if a session with a PlaybackMode
of LIVE
is requested for a stream that has no fragments within the last 30 seconds.
UnsupportedStreamMediaType(String)
The type of the media (for example, h.264 or h.265 video or ACC or G.711 audio) could not be determined from the codec IDs of the tracks in the first fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC
and, optionally, the codec ID for track 2 should be A_AAC
.
Implementations
Trait Implementations
sourceimpl Error for GetDASHStreamingSessionURLError
impl Error for GetDASHStreamingSessionURLError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<GetDASHStreamingSessionURLError> for GetDASHStreamingSessionURLError
impl PartialEq<GetDASHStreamingSessionURLError> for GetDASHStreamingSessionURLError
sourcefn eq(&self, other: &GetDASHStreamingSessionURLError) -> bool
fn eq(&self, other: &GetDASHStreamingSessionURLError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetDASHStreamingSessionURLError) -> bool
fn ne(&self, other: &GetDASHStreamingSessionURLError) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetDASHStreamingSessionURLError
Auto Trait Implementations
impl RefUnwindSafe for GetDASHStreamingSessionURLError
impl Send for GetDASHStreamingSessionURLError
impl Sync for GetDASHStreamingSessionURLError
impl Unpin for GetDASHStreamingSessionURLError
impl UnwindSafe for GetDASHStreamingSessionURLError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more