Class: Aws::IVS::Types::Stream
- Inherits:
-
Struct
- Object
- Struct
- Aws::IVS::Types::Stream
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ivs/types.rb
Overview
Specifies a live video stream that has been ingested and distributed.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#channel_arn ⇒ String
Channel ARN for the stream.
-
#health ⇒ String
The stream’s health.
-
#playback_url ⇒ String
URL of the master playlist, required by the video player to play the HLS stream.
-
#start_time ⇒ Time
Time of the stream’s start.
-
#state ⇒ String
The stream’s state.
-
#stream_id ⇒ String
Unique identifier for a live or previously live stream in the specified channel.
-
#viewer_count ⇒ Integer
A count of concurrent views of the stream.
Instance Attribute Details
#channel_arn ⇒ String
Channel ARN for the stream.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#health ⇒ String
The stream’s health.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#playback_url ⇒ String
URL of the master playlist, required by the video player to play the HLS stream.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Time
Time of the stream’s start. This is an ISO 8601 timestamp; *note that this is returned as a string*.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The stream’s state. Do not rely on the ‘OFFLINE` state, as the API may not return it; instead, a “NotBroadcasting” error will indicate that the stream is not live.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#stream_id ⇒ String
Unique identifier for a live or previously live stream in the specified channel.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |
#viewer_count ⇒ Integer
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.
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/aws-sdk-ivs/types.rb', line 1969 class Stream < Struct.new( :channel_arn, :health, :playback_url, :start_time, :state, :stream_id, :viewer_count) SENSITIVE = [] include Aws::Structure end |