Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GET outputs/status
Resource Information
Requires Authentication? | |
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
Code Block | ||
---|---|---|
| ||
[ { "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? | |
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
Code Block | ||
---|---|---|
| ||
{ "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" } } |