Results 1 to 4 of 4

Thread: incoming stream info

  1. #1
    Join Date
    Feb 2016
    Posts
    2

    Default incoming stream info

    Hi,

    Is there any REST query to know
    - stream bit rate
    - video heigh and width

    Regards

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    The closest I believe you can come to that type of information is to leverage the following endpoint:

    GET /v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/incomingstreams/myStream/monitoring/current

    cURL Example:
    curl -X GET --header 'Accept:application/json' --header 'Content-type:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/incomingstreams/myStream/monitoring/current
    This will yield the following results:

    {
      "uptime": 71,
      "bytesIn": 3941783,
      "bytesOut": 0,
      "bytesInRate": 55098,
      "bytesOutRate": 0,
      "totalConnections": 0,
      "connectionCount": {
        "CUPERTINO": 0,
        "RTP": 0,
        "MPEGDASH": 0,
        "SMOOTH": 0,
        "RTMP": 0,
        "SANJOSE": 0
      },
      "applicationInstance": "_definst_",
      "name": "myStream"
    }
    You could build an HTTP Provider to get further information if desired.

    Thanks,
    Matt
    Last edited by matt_y; 02-29-2016 at 07:49 AM.

  3. #3
    Join Date
    Feb 2016
    Posts
    2

    Default

    Thanks. What about stream video format? Is it possible to get Width and Height of the inbound stream?

  4. #4
    Join Date
    May 2013
    Posts
    680

    Default

    Currently you would need to develop an HTTP Provider to get this information.

    Thanks,
    Matt

Similar Threads

  1. Replies: 1
    Last Post: 07-21-2015, 01:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •