You can obtain information of an inbound stream by running a simple cURL GET command as follows:
curl -X GET –header ‘Accept:application/json; charset=utf-8′ http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/[YOUR-APP-NAME]/instances/_definst_/incomingstreams/[YOUR-STREAM-NAME]/monitoring/current
The response should yield:
{“restURI”:”http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/[YOUR-APP-NAME]/instances/_definst_/incomingstreams/[YOUR-STREAM-NAME]/monitoring/current”,”uptime”:866,”bytesIn”:13547324,”bytesOut”:0,”bytesInRate”:131495,”bytesOutRate”:0,”totalConnections”:40,”connectionCount”:{“RTMP”:0,”MPEGDASH”:0,”CUPERTINO”:10,”SANJOSE”:0,”SMOOTH”:30,”RTP”:0},”applicationInstance”:”_definst_”,”name”:”[YOUR-STREAM-NAME]“}