Skip to main content
Participating Frequently
August 10, 2010
Question

Video MetaData

  • August 10, 2010
  • 1 reply
  • 648 views

Is it possible to constantly call the MetaData from an FLV on the FMS other than the onMetaData function which just reports the once - Say i want to constantly check if the MetaData has changed every 10 seconds...

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 10, 2010

    But any specific reason why do you want to do that? I mean what is the use case you are trying to achieve by using this method?

    DAUKAuthor
    Participating Frequently
    August 10, 2010

    I'm trying to find a way to detect is a stream is recording (DVRCast) when the client subscribes to the stream - One way im thinking i can do this is to check if the stream length is growing...

    Participating Frequently
    August 10, 2010

    So you can do it using Server-side function rather than the approach you stated.

    Just define a function on server-side which gets Stream.length and returns it to client.

    If you are using dvrcast applications from FMS tools, you should see "Client.prototype.getStreamLength" in dvrcast_origin which is what I am talking about