Skip to main content
lowercasem
Participant
July 16, 2009
Question

Playback of recorded injected data events

  • July 16, 2009
  • 2 replies
  • 933 views

I'm a bit confused and would GREATLY appreciate a little guidance.  Thanks in advance!

SO, on page 3 of his article "Working with metadata for live Flash video streaming" (http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming_03.html) Jens Loeffler says the following...

This code defines the function sendDataEvent on the server side, which utilizes the NetStream.send() function to inject the event, including the associated data synchronized with the current timecode of the video.

Note: If you record the video on the server side (a functionality of FMIS), the injected events are also being triggered by the recorded file.

Now, I've got both my own project and his sample project sending/receiving injected plain text data events via the whole "call('sendDataEvent',data) -> send('onDataEvent',data) -> onDataEvent(data)" relationship just as expected and explained in his article.

The Note that Jens makes, however, I cannot seem to validate and, unfortunately, that's linchpin piece in my project. Whenever I capture a stream with injected data events and play it back (via the same 'player' mechanism used with the live stream) the captured video plays back but I do not see the injected events being triggered by the recorded file.

Am i missing something here?  Your help/expert advice would be super awesome -- thanks and long live Media Server!!

    This topic has been closed for replies.

    2 replies

    lowercasem
    Participant
    July 22, 2009

    A chat with Will Law has, I believe, pointed me in the right direction... It seems (unless I've gone mental) that when my client plays the stream again the data events come along with it, which is nice!

    Thanks for the response Fizbeam.

    July 20, 2009

    I recall having a problem similar to that, where the stream plays but no events are triggered.  Have you ensured that you set the NetConnection client to this?

    As in:

    nc.client = this;