Hi
sorry for necroposting but I got to same question and google bring me here
I managed to get srt statistics with java api (we expose them in json format on http endpoint with HTTProvider2Base)
to get statistics from server we do
- iterate over vhosts with VHostSingleton.getVHostNames(), VHostSingleton.getInstance(vHostName)
- iterate over vhost.applicationNames
- then over app.appInstanceNames
- then we get val appInstance = app.getAppInstance(appInstanceName)
- with taht we get mediacaster items val items = appInstance.mediaCasterStreams.mediaCasterStreamItems
- then we iterate over items checking if mediaCaster is of type LiveMediaSRTReceiver
- if yes you can receive stats with caster.srtNativeStats.toJSON() for example
sorry for bad english, maybe this explanation can help somebody trying to monitor connection quality as we are