404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.225.254.112: ~ $
**To get metadata for a specified stream**

The following ``get-stream-session`` example gets the metadata configuration for the specified channel ARN (Amazon Resource Name) and the specified stream; if streamId is not provided, the most recent stream for the channel is selected. ::

    aws ivs get-stream-session \
        --channel-arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh \
        --stream-id "mystream"

Output::

    {
        "streamSession": {
            "channel": {
                "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh",
                "authorized": true,
                "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net",
                "insecureIngest": false,
                "latencyMode": "LOW",
                "name": "mychannel",
                "playbackUrl": "url-string",
                "recordingConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:recording-configuration/ABcdef34ghIJ",
                "tags": {
                    "key1" : "value1",
                    "key2" : "value2"
                },
                "type": "STANDARD"
            },
            "startTime": 1641578182,
            "endTime": 1641579982,
            "ingestConfiguration": {
                "audio": {
                    "channels": 2,
                    "codec": "mp4a.40.2",
                    "sampleRate": 8000,
                    "targetBitrate": 46875
                },
                "video": {
                    "avcLevel": "4.2",
                    "avcProfile": "Baseline",
                    "codec": "avc1.42C02A",
                    "encoder": "Lavf58.45.100",
                    "targetBitrate": 8789062,
                    "targetFrameRate": 60,
                    "videoHeight": 1080,
                    "videoWidth": 1920
                }
            },
            "recordingConfiguration": {
                "arn": "arn:aws:ivs:us-west-2:123456789012:recording-configuration/ABcdef34ghIJ",
                "destinationConfiguration": {
                    "s3": {
                       "bucketName": "demo-recording-bucket"
                    }
                },
                "name": "test-recording-config",
                "state": "ACTIVE",
                "tags": {
                    "rkey1" : "rvalue1"
                },
                "thumbnailConfiguration": {
                    "recordingMode": "INTERVAL",
                    "targetIntervalSeconds": 30
                }
            },

            "streamId": "mystream1",
            "truncatedEvents": [
                {
                    "eventTime": 1641579941,
                    "name": "Session Ended",
                    "type": "IVS Stream State Change"
                }
            ]
        }
    }

For more information, see `Create a Channel <https://docs.aws.amazon.com/ivs/latest/userguide/GSIVS-create-channel.html>`__ in the *Amazon Interactive Video Service User Guide*.

Filemanager

Name Type Size Permission Actions
batch-get-channel.rst File 1.78 KB 0644
batch-get-stream-key.rst File 1.16 KB 0644
create-channel.rst File 2.91 KB 0644
create-recording-configuration.rst File 1.33 KB 0644
create-stream-key.rst File 755 B 0644
delete-channel.rst File 491 B 0644
delete-playback-key-pair.rst File 493 B 0644
delete-recording-configuration.rst File 550 B 0644
delete-stream-key.rst File 509 B 0644
get-channel.rst File 1.08 KB 0644
get-playback-key-pair.rst File 737 B 0644
get-recording-configuration.rst File 1.14 KB 0644
get-stream-key.rst File 769 B 0644
get-stream-session.rst File 3 KB 0644
get-stream.rst File 918 B 0644
import-playback-key-pair.rst File 866 B 0644
list-channels.rst File 2.18 KB 0644
list-playback-key-pairs.rst File 817 B 0644
list-recording-configurations.rst File 1.34 KB 0644
list-stream-keys.rst File 739 B 0644
list-stream-sessions.rst File 909 B 0644
list-streams.rst File 693 B 0644
list-tags-for-resource.rst File 610 B 0644
put-metadata.rst File 553 B 0644
stop-stream.rst File 442 B 0644
tag-resource.rst File 567 B 0644
untag-resource.rst File 554 B 0644
update-channel.rst File 3.91 KB 0644