Skip to main content
Participant
Jan 22, 2009 7:23 PM UTC
Question

FMS Stream.getOnMetaData() not returning anything

I'm currently trying to return the metadata of recorded streams using Stream.getOnMetaData(), but it never returns an object. If I trace server-side, the stream is found, as I can get the size and length of it, but no metadata object comes back to my client. Does anyone have a sample using this method properly?

Server-side code:

Client.prototype.getStreamMetaData = function(streamName)
{
trace("return stream metadata: " + streamName);
trace("streamsize: " + Stream.size(streamName));
trace("streamlength: " + Stream.length(streamName));
var md = Stream.getOnMetaData(streamName);
return md;
}

Neither of my client Responder functions (result or status) get called on the client when I invoke NetConnection.call() on this. Any help is greatly appreciated!

Thanks,
Ryan
    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    Jul 10, 2009 9:31 PM UTC


    First thing would be to confirm that this file has meta data.  If you play it back from the beginning are you getting a meta data triggered?

    Translate
    Inspiring
    Jul 11, 2009 2:30 PM UTC

    Yes, the file has metadata and I do get it back if I set it on its own stream and play it first or if I use the getOnMetaData before issuing the Stream.play() commanded over the desired stream.

    Where the issue comes in is when I have a stream set up that is playing a video coming from FME and then I switch to the archived file over the same stream using Stream.play(). While the archive is playing, I can't ever seem to get it to return a value for getOnMetaData. When that same stream switches back to the FME video (this happens once the recorded file is complete) the getOnMetaData starts returning a valid object again.

    Ideas? Thoughts on what to look at or try next?

    Many thanks,

    - michael

    Translate
    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    Jul 13, 2009 6:22 PM UTC

    Interesting, can you email me offlist with the steps to encounter what you have? It sounds like a bug and I'd like to schedule our QE's to try and reproduce the issue. The calls you make and when, along with FMLE version, along with any additional steps to your breakdown below would do nicely.

    Asa

    Translate
    Inspiring
    Jul 10, 2009 2:12 PM UTC

    Did you get this fixed/solved? We are seeing the same thing (FMS 3.0) and would love to hear what (if anything) fixed this for you.

    Thanks,

    - michael

    Translate