Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

API URL Structure


GET http://{host}/api/4.0/outputs/config/.json

GET http://{host}/api/4.0/outputs/config/{output_uuid}/.json

PUT http://{host}/api/4.0/outputs/config/{output_uuid}/.json


Returned data structure


{
    "Output": {
        "uuid": "e9f4d014-1d69-4f54-857b-fd4a6b64cf1e",
        "label": "abc10",
        "modified": "1655297543762",
        "created": "1655297543744",
        "enabled": true,
        "device_id": 9010,
        "resolution": "1920x1080",
        "enable_alarms_display": true,
        "input_loss_mode": "Icon",
        "frame_rate": "25 fps",
        "layout_change_interval": null,
        "Senders": [
            {
                "uuid": "0d5f7f02-057b-4089-9b04-0082040fd749",
                "stream_type": "MPEG-TS",
                "enabled": true,
                "transport_stream_id": 1,
                "transport_mode": "SPTS/UDP",
                "vbv_limit": null,
                "enable_interlaced": true,
                "enable_deblocking": true,
                "program_number": 1,
                "enable_null_padding": true,
                "pmt_pid": 200,
                "video_pid": 201,
                "transcoded_audio_pid": 0,
                "passthrough_audio_pid": 0,
                "min_chunk_length": 2,
                "number_of_chunks": 3,
                "hls_index_interval": null,
                "enable_downscale": false,
                "enable_ratescale": false,
                "codec_type": "H.264",
                "video_bitrate": 14000000,
                "gop_size_mode": "Static, IPB Frames",
                "gop_size": "24",
                "network": [
                    {
                        "ttl": "16",
                        "interface_ip": "192.168.10.137",
                        "destination_ip": "225.0.3.3",
                        "destination_port": 2000
                    },
                    {
                        "ttl": "16",
                        "interface_ip": "10.0.1.66",
                        "destination_ip": "226.0.4.4",
                        "destination_port": 2000
                    }
                ]
            },
            {
                "uuid": "f398c5ce-e819-465b-90d1-2b44ba382a0f",
                "stream_type": "2110/Video",
                "enabled": false,
                "uhd_mode": "HD-SDI (Interlaced)",
                "latency_mode": "5 Frames",
                "payload_type": 0,
                "network": [
                    {
                        "ttl": "16",
                        "interface_ip": "192.168.10.137",
                        "destination_ip": "227.0.5.5",
                        "destination_port": 2000
                    },
                    {
                        "ttl": "16",
                        "interface_ip": "10.0.1.66",
                        "destination_ip": "228.0.6.6",
                        "destination_port": 2000
                    }
                ]
            },
            {
                "uuid": "c6d043e2-a7cc-4217-812a-465c05721185",
                "stream_type": "2110/Audio",
                "enabled": false,
                "payload_type": 0,
                "network": [
                    {
                        "ttl": "16",
                        "interface_ip": "192.168.10.137",
                        "destination_ip": "229.0.7.7",
                        "destination_port": 2001
                    },
                    {
                        "ttl": "16",
                        "interface_ip": "10.0.1.66",
                        "destination_ip": "230.0.8.8",
                        "destination_port": 2001
                    }
                ]
            }
        ],
        "Layouts": []
    }
}



DataFields

Field

TypeDescription

Output:uuid

UUID

Output identifier

Output:Senders:uuid

UUID

Sender essence identifier

Output:Senders:stream_type

Enum:String

Sender type out of 21110-10/21110-20/21110-30/MPEG-TS

Output:Senders:network:interface_ip

IP

Interface IP from which the stream would be streamed

Output:Senders:network:destination_ip

IP

Destination stream multicast address

Output:Senders:network:destination_port

Port

Destination stream multicast port

Output:Layouts:uuid

UUID

The associated layout identifier

  • No labels