Stream
import type { Stream } from "https://aws-api.deno.dev/v0.4/services/ivs.ts?docs=full";
Specifies a live video stream that has been ingested and distributed.
interface Stream {
channelArn?: string | null;
health?: StreamHealth | null;
playbackUrl?: string | null;
startTime?: Date | number | null;
state?: StreamState | null;
streamId?: string | null;
viewerCount?: number | null;
}§Properties
§
health?: StreamHealth | null
[src]The stream’s health.
§
playbackUrl?: string | null
[src]URL of the master playlist, required by the video player to play the HLS stream.
§
startTime?: Date | number | null
[src]Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.
§
state?: StreamState | null
[src]The stream’s state.
§
streamId?: string | null
[src]Unique identifier for a live or previously live stream in the specified channel.
§
viewerCount?: number | null
[src]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.