Skip to main content
Participant
January 22, 2009
Question

FMS Stream.getOnMetaData() not returning anything

  • January 22, 2009
  • 2 replies
  • 1314 views
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 has been closed for replies.

    2 replies

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    July 10, 2009


    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?

    Inspiring
    July 11, 2009

    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

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    July 13, 2009

    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

    Inspiring
    July 10, 2009

    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