CmdID

CmdID / aws / aws ivs

aws ivs get-stream

Gets information about the active (live) stream on a specified channel. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get information about a stream

The following get-stream example gets information about the stream for the specified channel.

aws ivs get-stream --channel-arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefghIdentify
--channel-arnChannel ARN for stream to be accessed.
Its output
{
    "stream": {
        "channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
        "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8",
        "startTime": "2020-05-05T21:55:38Z",
        "state": "LIVE",
        "health": "HEALTHY",
        "streamId": "st-ABCDEfghij01234KLMN5678",
        "viewerCount": 1
    }
}

For more information, see Create a Channel in the IVS Low-Latency User Guide.

Options

1 in the AWS CLI reference
--channel-arnChannel ARN for stream to be accessed.