Skip to main content
Participating Frequently
Aug 10, 2010 11:28 AM UTC
Question

Video MetaData

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 is closed to new replies. Start a new post to keep the conversation going.

    7 replies

    Participating Frequently
    Aug 10, 2010 1:22 PM UTC

    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?

    Translate
    DAUKAuthor
    Participating Frequently
    Aug 10, 2010 1:26 PM UTC

    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...

    Translate
    Participating Frequently
    Aug 10, 2010 1:34 PM UTC

    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

    Translate