Dan Rossi escribió:
> Dan Rossi wrote:
>>
>> is anyone able to comment if the totalbytes transferred during a
>> stream is accessed like this and if its available during a stream
>> closed state as this is returning 0
>>
>> public void streamSubscriberClose(ISubscriberStream stream) {
>> log.info(stream.getStreamFlow().getTotalBytesTransfered());
>> }
>
> also this
>
> log.info("x-duration: " + stream.getStreamFlow().getTotalStreamTime());
>
> returns this
>
> x-duration: 1159848289943
>
> converted to seconds is this
>
> 1159848289.943
>
> which is strange because i only had the stream on for a second or so
> before closing. what is the right calculation for this time value then ?
It seems this is returning javascript function (new Date()).getTime()
that is milliseconds since 1 january 1970
Not sure if it takes the stream starting or ending time
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org