Skip to main content
April 24, 2010
Question

[Help] Understanding the life cycle of Live/Vod streams

  • April 24, 2010
  • 1 reply
  • 443 views

Hello,

I currently working in a project where I need to develop a parser to FMS access logs.

I need to differentiate VoD and Live streams and collect statistical information from them as number of concurrent users, bandwidth and others.

I cant understand the life cycle of the VoD/Live streams.

I would like to understand the state machine from each of them, e.g. the sequence of events/category which define a Live/VoD stream.

I read the Access Log File  description but there I couldn't find the answer for the follow questions:

  • How can I differentiate the Live from Vod Stream looking in the log lines?
  • How do I know when these streams start!?
  • Which are the expected sequence of events for each category that characterize the life cycle from these streams?
  • There is a machine state diagram from theses events/category? (If someone explain to me I certainly will do it!)

If someone could help me I appreciate!

Thanks

Charles Ferreira Gonçalves

http://www.sambatech.com.br/

    This topic has been closed for replies.

    1 reply

    April 26, 2010

    Hi Charles,

    You could enable all the events and fields in access log by setting the <Events> and <Fields> tags under <Logger><Access> to *.

    Now if you try live publish and subscribe or VOD streaming use cases you will have all the necessary details logged to access.00.log and would also be able to see the sequence of events constituting the lifecycle of live or vod stream.

    One way to differentiate between live and vod is the fields, x-file-name and x-file-length show finite values whne vod stream is played. But thes fields do not contain any value for live stream play.

    For vod stream play the start time is when the play event is logged for each client differentiated by the client-id. For live stream play you could track when the publish event started to really say when the subscribers starting playing the live feed.

    Apart from it you could follow the general guidelines provided in FMS docs on using access log information.

    Thanks

    Mamata