Skip to main content
Participant
May 18, 2007
Question

Recording live broadcast

  • May 18, 2007
  • 1 reply
  • 228 views
My company uses broadcasts which include both streams (coming from different users and sometimes displayed together), animations amd images mixed together on the flash player.
You can think of it as kind of flash presentation mixed with web meeting.

We would like to record the broadcast into a single video file (flv, quicktime, etc.) and streaming this file on demand from our FMS.
I am looking for a way to record what the broadcastig viewer sees when he looks at the boradcast.
    This topic has been closed for replies.

    1 reply

    May 19, 2007
    You can't do any sort of screen capture or anything like that. What you CAN do is use netstream.send to trigger events in the client.

    Let's say, for example, you have a function in your actionscript named playAnimation(), and a stream named someStream. To trigger that function, your code might look something like this:

    Client side:
    function playAnimation(){
    // do something here
    }
    my_netconnection.triggerAnimation = function(){
    playAnimation();
    }

    On the server side:
    application.tellClientToRunAnimation = function(){
    someStream.send('triggerAnimation");
    }

    Now, when the server side function is called, a message goes out across the stream, and tells the client to run the function.

    Now, here's where it gets really cool. IF you're recording the stream, the netstream.send call gets saved in the flv file. So, when you play it back, the triggerAnimation call gets fired off again on playback, at the same point in time at which you sent it duing the live broadcast.

    Of course, using this method only works if you play back the flv in an swf that's set up with the proper functions. If the .swf deson't have the functions you're calling with the netstream.send event, nothing will happen.

    Hope it helps.