Still having issues with some statistics values showing up as null or 
zeros any ideas ?

stream is

public void streamComplete(ISubscriberStream stream)
    {
        //IConnection conn = Red5.getConnectionLocal();
        IStreamCapableConnection conn = stream.getConnection();
       
        logStats = Logger.getLogger(conn.getScope().getName());
       
        IPlaylistSubscriberStream streamStats = 
(IPlaylistSubscriberStream) stream;
        logStream(streamStats, conn);
    }

stream.getStatistics().getCurrentTimestamp() == 0
conn.getSessionId() == null
stream.getStatistics().getEstimatedBufferFill() == 0.0
stream.getStatistics().getBytesSent() == 0  // need the measure of 
traffic sent to the client
stream.getStatistics().getCurrentTimestamp() - 
stream.getStatistics().getCreationTime() == -1179914613796 // trying to 
get the stream duration
conn.getType() == persistent // would like the protocol used either 
rtmpt, rtmp, rtmps.

Also need to fill these two fields somehow avgbandwidth, maxbandwidth, 
getBandwidthConfigure doesnt work for this.

Other things that would be good to log would be stuff like the file 
being played, its bitrate, duration, filesize etc.

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to