Answered
Scripting FLVPlayback 2.5 for DVR
So, I'm working on an application that uses the DVR
functionality of FMS 3.5, and am stuck.
The publishing side of the system is working fine, and I can get a very simple playback working as well (by connecting to the FMS app, attaching a NetStream to my Video object, and calling ns.play(streamID, 0, -1).
However, I need a rich UI to control the video playback. The FLVPlayback component looks like it would fit the bill nicely, but I can't get it to connect to my stream. I've tried hardcoding all the parameters via the Component Inspector in Flash CS4 to play back a specific stream I've recorded, and all I get is a never-ending buffering bar.
What I really need to do is instantiate an FLVPlayback component via AS3 and attach a NetStream to it. Or, at the very least, connect it to a DVR-enabled stream and then script some controls (e.g. jump-to-a-specific-offset).
Is there an easy-to-follow guide to doing this, or could anyone give me the 2-minute rundown?
Many thanks!
-Dan
The publishing side of the system is working fine, and I can get a very simple playback working as well (by connecting to the FMS app, attaching a NetStream to my Video object, and calling ns.play(streamID, 0, -1).
However, I need a rich UI to control the video playback. The FLVPlayback component looks like it would fit the bill nicely, but I can't get it to connect to my stream. I've tried hardcoding all the parameters via the Component Inspector in Flash CS4 to play back a specific stream I've recorded, and all I get is a never-ending buffering bar.
What I really need to do is instantiate an FLVPlayback component via AS3 and attach a NetStream to it. Or, at the very least, connect it to a DVR-enabled stream and then script some controls (e.g. jump-to-a-specific-offset).
Is there an easy-to-follow guide to doing this, or could anyone give me the 2-minute rundown?
Many thanks!
-Dan
