Hi,
I am trying to debug a problem with streaming an FLV using ffmpeg +
ffserver and have run into something bizarre...
Running from the IDE, I am playing an FLV from the server with the
URL: http://192.168.0.55:8090/test2.flv
The server is not running - I can try to load the stream url in a
browser and I get a 404 error.
Flash is still playing video from somewhere, but it is video of
something that happened over an hour ago and it always plays the same
chunk of video. Is there some strange caching or something with video
and how do I force Flash to update...
Here is test code for a stripped down experiment:
var ipAddress:String = "192.168.0.55";
var videofile:String = "http://" + ipAddress + ":8090/test.flv";
trace("will play video from " + videofile);
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_ns.onStatus = function(infoObject:Object) {
trace("NetStream.onStatus called: ("+getTimer()+" ms)");
for (var prop in infoObject) {
trace("\t"+prop+":\t"+infoObject[prop]);
}
trace("");
};
//myVideo is on stage...
myVideo.attachVideo(my_ns);
trace("About to play netstream " + my_ns + " on " + my_nc);
my_ns.play(videofile);
Thanks
Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders