Skip to main content
Known Participant
April 4, 2010
Question

Can you play back commands injected into your live video stream?

  • April 4, 2010
  • 1 reply
  • 880 views

This Adobe article on server side data injection says you can inject commands into your live data stream:

http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming_03.html

This works.  I do it.

If I archive that live stream, and play it back later, will the embedded commands play again too?

My thought is I'd like to do the following:

1.  Have a live event where viewers see slide show advances and screen layout changes

2.  Later have the archive play back like the original viewing, with slide show advances and screen layout changes.

Would require I archive at FMS.  But I'm streaming h.264 from a hardware encoder and most articles on FMS recording seem to want me to create special publishing code.  Any thoughts on how to make all of this happen?

Thanks

    This topic has been closed for replies.

    1 reply

    calmchessplayer
    Inspiring
    April 4, 2010

    well since those commands are converted into byte code when the code compiles it would have

    no choice but to play them again if the code is sufficently captured......my gut instinct says yes if you record code which is being played the same code will play back........why haven't you tested your suspicion ? surely you have the ablity to test this yourself.

    Known Participant
    April 4, 2010

    Trying to test.  Can't get past the archiving at FMS step.

    I seem to be able to archive the stream, but I can't seem to watch live as it's archiving.  Can do one or the other, but not both.

    I think it's a stream name problem.  When I go to archive, my CDN requires my stream name to be of the form "mp4:streamname.f4v".  It seems once I do that, I can't see the live event anymore.  Once I get the archiving worked out I should be able to test the playback properly.

    I am injecting commands successfully into the video stream though.  At least that part is working properly.

    calmchessplayer
    Inspiring
    April 5, 2010

    try splitting the stream name from mp4:streamname.f4v to streamname.f4v or streamname before playing it using actionscript 2 or 3 string splitting method.......I beleive its called split.....i can't remember if .f4v is required i don't think it is......are you using actionscript 2 or 3?