Flash Local Streaming Video experiment
Streaming video (.FLV file) directly from the webserver withouth
Flash Communication Server. The video file is on the same webserver and instead of having
to preload the content of the video it is streamed as the bandwidth allows.
(Flash player required)
Only 5 lines of code! Can it get any easier than that?
Flash object is only 214 bytes (0.21k)! (compared to 12.808 bytes that #include "NetServices.as" alone weighs to connect to FlashComm)
aspx.cs code
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new NetStream(netConn);
myVideo.attachVideo(netStream);
netStream.play("videoFile.flv");