[Red5] Still issues with getting subscribed filename logged

Daniel Rossi electroteque at gmail.com
Sat Mar 28 17:20:55 PST 2009


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.






More information about the Red5 mailing list