AIOZ Stream API
Livestream Statistic

Livestream Statistic Video

AIOZ Stream provides a comprehensive set of statistics for your live streams. This includes information about the average bitrate input and output, FPS input and output, Data Transfered, and other important metrics that can help you understand the performance of your stream.

Get livestream statistics

You can get the statistics of a live stream using the following endpoint. The statistics are updated every 5-30 seconds.

GEThttps://api.aiozstream.network/api/live_streams/statistic/:stream_video_id

Parameters

stream_video_id* The live stream video id

Headers

Authorization Bearer your_access_token_here
stream-public-key your_public_key_here
stream-secret-key your_secret_key_here

Response

200: OK
  1. fps_in: Your studio's upload frame rate to the AIOZ Stream server.
  2. fps_out: The frame rate delivered from AIOZ Stream to your clients.
  3. bitrate_in: Your studio's upload bitrate (Kbps) to the AIOZ Stream server.
  4. bitrate_out: The delivery bitrate (Kbps) from AIOZ Stream to your clients.
  5. data_transferred: Total data volume (MB) transmitted from your studio to AIOZ Stream.
{
  "status": "success",
  "data": {
    "id": "0a8c1362-9d3b-41af-8440-14b9ac23da1f",
    "live_stream_media_id": "f77276d7-e17a-49bb-8aa0-bc560e0b3055",
    "fps_in": 60,
    "fps_out": 60,
    "bitrate_in": 8029.417662556544,
    "bitrate_out": 8406.24,
    "data_transferred": 58.441708
  }
}
curl --location --request GET 'https://api.aiozstream.network/api/live_streams/statistic/stream_video_id' 
--header 'Authorization: Bearer <YOUR_JWT_TOKEN>'