[Red5] Still issues with getting subscribed filename logged

Jose fb at aoek.com
Sat Mar 28 17:54:44 PST 2009


Hello Daniel,
my 2 cents: streamPlaylistItemStop() MIGHT be called or not:
when the client correctly stops the stream it is triggered,
but when the client disappears (e.g. you close the player window)
it is not.

If you want to understand what calls are made I suggest you
include the call name in the log.info()s in
MultiThreadedApplicationAdapter.java because there is more
than one call that shows up with the same "event" name
(such as 'stop' or 'start').

streamSubscriberClose() logs this:
"W3C x-category:stream x-event:stop c-ip:{} cs-bytes:{} sc-bytes:{} x-sname:
{}"

streamPlaylistItemStop() logs this:
"W3C x-category:stream x-event:stop c-ip:{} cs-bytes:{} sc-bytes:{} x-sname:{} 
x-file-length:{} x-file-size:{} x-name:{}"

(taken from 0.8RC2)


And no, I am not sure of any of the above... just making tests...




Cheers,



El Domingo 29 Marzo 2009 03:20:55 Daniel Rossi escribió:

> Hi paul as discussed earlier, the filename is not being recorded on a
> stop event. It is strange but when i subscribe to a VOD file it will
> call streamPlaylistItemPlay which is supposed to be for server side
> playlist streams correct ? Anyway it is calling this just after
> streamSubscriberStart which does not store the filename ? Anyway only
> xs-name is being recorded on a stop not x-name. So the file is being
> recorded on a play but not a stop event. streamPlaylistItemStop does
> not get called at all ?
>
> [INFO] [pool-4-thread-3]
> org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-
> category:session x-event:connect c-ip:0:0:0:0:0:0:0:1%0 c-client-id:0
> [INFO] [pool-4-thread-8]
> org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-
> category:stream x-event:play c-ip:0:0:0:0:0:0:0:1%0 x-sname:fb251300-
> ba21-4bd3-bae0-e35478d6205b
> [INFO] [pool-4-thread-8]
> org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-
> category:stream x-event:play c-ip:0:0:0:0:0:0:0:1%0 x-sname:fb251300-
> ba21-4bd3-bae0-e35478d6205b x-name:watchmen_vp6.flv
> [INFO] [pool-4-thread-16]
> org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-
> category:stream x-event:stop c-ip:0:0:0:0:0:0:0:1%0 cs-bytes:3844 sc-
> bytes:4157424 x-sname:fb251300-ba21-4bd3-bae0-e35478d6205b
> [INFO] [pool-4-thread-16]
> org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C x-
> category:session x-event:disconnect c-ip:0:0:0:0:0:0:0:1%0 c-client-id:0
>
> Is there any way for stream.getName() to get the filename not some
> string id ?
>
> We are needing the filename recorded so we can work out how many
> people stream to which bitrate for instance.
>
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org


-- 
Jose



More information about the Red5 mailing list