Dan Rossi wrote:
  
it seems formatting the result of getTotalStreamTime is a mystery as im unsure what exactly the value is, i found in the output of toString, StreamFlow has this

[EMAIL PROTECTED] BT = -6775, SBT = 0, SDT = 0, SST = 6775]

6775 becomes 6 seconds which is pretty close to what my stream duration was, it does however use the getSegmentStreamTime however it does a microtime comparison against the variable segementStartTime ?

public long getSegmentStreamTime() {
        if (segmentStartTime == 0) {
            return 0;
        }
        return System.currentTimeMillis() - segmentStartTime;
    }

unfortunately the bytes transferred methods are still displaying 0, are these being cleared before the subscribe close methods ?? :\

log.info("sc-bytes: " + stream.getStreamFlow().getSegmentBytesTransfered());
        //log.info("sc-bytes: " + stream.getStreamFlow().getTotalBytesTransfered());


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

Reply via email to