Collect segment loading information
Hi,
I use flashls with flowplayer and for debugging purpose I'd like to collect information on segments loading with javascript so I can send it to web server for analysis. I'd also like to catch HTTP errors (timeout, 4xx/5xx errors, ...)
When I set debug to true, I get some interesting information like: << Loading duration/length/speed:10135/1212036/934 kb/ loading fragment:http://.../00046831.ts
Can you tell me how I can record them ?
Thx.
Manuel
you can gather info by listening to internal flashls events. all these events dispatched loadMetrics then you would have to bridge Flash to JS using either FlowPlayer logic or your own ExternalInterface based logic. you could have a look at Chromeless player source code for this