Hi,
Is there any REST query to know
-
stream bit rate
-
video heigh and width
Regards
Hi,
Is there any REST query to know
stream bit rate
video heigh and width
Regards
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
Currently you would need to develop an HTTP Provider to get this information.
Thanks,
Matt
Thanks. What about stream video format? Is it possible to get Width and Height of the inbound stream?