SRT

The datarhei Core includes a simple SRT server for publishing and playing streams. Check out the SRT configuration and the SRT guide. This API endpoint will list the details of all currently publishing and playing streams.

curl http://127.0.0.1:8080/api/v3/srt \
   -H 'accept: application/json' \
   -X GET

List all publishing SRT treams

get

List all currently publishing SRT streams. This endpoint is EXPERIMENTAL and may change in future.

Authorizations
Responses
200
OK
application/json
get
GET /v3/srt HTTP/1.1
Host: api
Authorization: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "connections": {
      "ANY_ADDITIONAL_PROPERTY": {
        "log": {
          "ANY_ADDITIONAL_PROPERTY": [
            {
              "msg": [
                "text"
              ],
              "ts": 1
            }
          ]
        },
        "stats": {
          "avail_recv_buf_bytes": 1,
          "avail_send_buf_bytes": 1,
          "bandwidth_mbit": 1,
          "flight_size_pkt": 1,
          "flow_window_pkt": 1,
          "max_bandwidth_mbit": 1,
          "mss_bytes": 1,
          "pkt_recv_avg_belated_time_ms": 1,
          "pkt_send_period_us": 1,
          "recv_ack_pkt": 1,
          "recv_buf_bytes": 1,
          "recv_buf_ms": 1,
          "recv_buf_pkt": 1,
          "recv_bytes": 1,
          "recv_drop_bytes": 1,
          "recv_drop_pkt": 1,
          "recv_km_pkt": 1,
          "recv_loss_bytes": 1,
          "recv_loss_pkt": 1,
          "recv_nak_pkt": 1,
          "recv_pkt": 1,
          "recv_retran_pkts": 1,
          "recv_tsbpd_delay_ms": 1,
          "recv_undecrypt_bytes": 1,
          "recv_undecrypt_pkt": 1,
          "recv_unique_bytes": 1,
          "recv_unique_pkt": 1,
          "reorder_tolerance_pkt": 1,
          "rtt_ms": 1,
          "send_buf_bytes": 1,
          "send_buf_ms": 1,
          "send_buf_pkt": 1,
          "send_drop_bytes": 1,
          "send_drop_pkt": 1,
          "send_duration_us": 1,
          "send_km_pkt": 1,
          "send_loss_pkt": 1,
          "send_tsbpd_delay_ms": 1,
          "sent_ack_pkt": 1,
          "sent_bytes": 1,
          "sent_nak_pkt": 1,
          "sent_pkt": 1,
          "sent_retrans_bytes": 1,
          "sent_retrans_pkt": 1,
          "sent_unique_bytes": 1,
          "sent_unique_pkt": 1,
          "timestamp_ms": 1
        }
      }
    },
    "log": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "msg": [
            "text"
          ],
          "ts": 1
        }
      ]
    },
    "publisher": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "subscriber": {
      "ANY_ADDITIONAL_PROPERTY": [
        1
      ]
    }
  }
]

Last updated

Was this helpful?