I have modified the ConnectionCounts HTTPProvider Class. Now I have a stripped xml, with all informations I need about my streams.
But I have a Problem to get the recording state of a stream -> is this stream recorded, or not.
To record this streams, I use the original web-based user interface (UI), that is included in the Wowza Media Server.
I try to change the HTTPProvider like that:
But I never get a recorded stream.
public class HTTPWowzaStateXML extends HTTProvider2Base
private Map<String, ILiveStreamRecord> recorders = new HashMap<String, ILiveStreamRecord>();
public void onHTTPRequest(IVHost inVhost, IHTTPRequest req, IHTTPResponse resp)
ILiveStreamRecord recorder = null;
recorder = recorders.get(streamName);
if (recorder != null)
ret.append("<Name recording=\"true\">"+URLEncoder.encode(streamName, "UTF-8")+"</Name>");
ret.append("<Name recording=\"false\">"+URLEncoder.encode(streamName, "UTF-8")+"</Name>");
I see every stream in the xml, I can record the streams with the UI, but the streams were never marked as recorded...
What did I wrong?