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 Next »

GET outputs/status

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of active encoder's status information.

Resource URL

http://{host}/api/2.0/outputs/status/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/outputs/status/.json

[
    {
        "EncoderStatus": {
            "id": 17,
            "encoder_id": 1,
            "output_stream_type_id": 1,
            "video_bitrate": 2979485,
            "severity_id": 0,
            "program_number": "1",
            "is_local": 1,
            "device_id": 9011,
            "title": "enc1",
            "encoder_codec_type_id": 2,
            "current_layout_id": 5,
            "encoded_frame_counter": 25,
            "rendered_frame_counter": 25,
            "modified": "1612534264964"
        }
    },
    {
        "EncoderStatus": {
            "id": 33,
            "encoder_id": 2,
            "output_stream_type_id": 1,
            "video_bitrate": 1443962,
            "severity_id": 0,
            "program_number": "1",
            "is_local": 1,
            "device_id": 9011,
            "title": "enc2",
            "encoder_codec_type_id": 2,
            "current_layout_id": 5,
            "encoded_frame_counter": 30,
            "rendered_frame_counter": 30,
            "modified": "1612534264964"
        }
    }
]


GET outputs/status/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a single active encoder status information.

Resource URL

http://{host}/api/2.0/outputs/status/{id}/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/outputs/status/1/.json

{
    "EncoderStatus": {
        "id": 17,
        "encoder_id": 1,
        "output_stream_type_id": 1,
        "video_bitrate": 3537857,
        "severity_id": 0,
        "program_number": "1",
        "is_local": 1,
        "device_id": 9011,
        "title": "enc1",
        "encoder_codec_type_id": 2,
        "current_layout_id": 5,
        "encoded_frame_counter": 24,
        "rendered_frame_counter": 25,
        "modified": "1612534330082"
    }
}
  • No labels