Values.StreamSourceSpecifies a live video stream that has been ingested and distributed.
type nonrec t = {channelArn : ChannelArn.t option;Channel ARN for the stream.
*)streamId : StreamId.t option;Unique identifier for a live or previously live stream in the specified channel.
*)playbackUrl : PlaybackURL.t option;URL of the master playlist, required by the video player to play the HLS stream.
*)startTime : StreamStartTime.t option;Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.
*)state : StreamState.t option;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.
*)health : StreamHealth.t option;The stream’s health.
*)viewerCount : StreamViewerCount.t option;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.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of StreamViewerCount.t
| `String of ChannelArn.t
| `Timestamp of StreamStartTime.t ])
list ]