Struct aws_sdk_ivs::model::Stream [−][src]
#[non_exhaustive]pub struct Stream {
pub channel_arn: Option<String>,
pub stream_id: Option<String>,
pub playback_url: Option<String>,
pub start_time: Option<DateTime>,
pub state: Option<StreamState>,
pub health: Option<StreamHealth>,
pub viewer_count: i64,
}
Expand description
Specifies a live video stream that has been ingested and distributed.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel_arn: Option<String>
Channel ARN for the stream.
stream_id: Option<String>
Unique identifier for a live or previously live stream in the specified channel.
playback_url: Option<String>
URL of the master playlist, required by the video player to play the HLS stream.
start_time: Option<DateTime>
Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.
state: Option<StreamState>
The stream’s state.
health: Option<StreamHealth>
The stream’s health.
viewer_count: i64
A count of concurrent views of the stream. Typically, a new view appears in
viewerCount
within 15 seconds of when video playback starts and a view is
removed from viewerCount
within 1 minute of when video playback ends. A value of
-1 indicates that the request timed out; in this case, retry.
Implementations
Channel ARN for the stream.
Unique identifier for a live or previously live stream in the specified channel.
URL of the master playlist, required by the video player to play the HLS stream.
Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.
The stream’s state.
The stream’s health.
A count of concurrent views of the stream. Typically, a new view appears in
viewerCount
within 15 seconds of when video playback starts and a view is
removed from viewerCount
within 1 minute of when video playback ends. A value of
-1 indicates that the request timed out; in this case, retry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl UnwindSafe for Stream
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more