Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
Yuzik #1
Buffer Flush
So, I'm trying to play streaming video from Dlash Media Server.
nc = new NetConnection();
nc.connect('rtmp://mysite/myapp');
ns = new NetStream(nc);
var startBufferLength = 2;
ns.setBufferTime(startBufferLength);
// create and set sound object
var snd = this.createEmptyMovieClip("snd5", this.getNextHighestDepth());
snd.attachAudio(ns);
audio = new Sound(snd);
audio.setVolume(80);
// attach videodisplay
videoDisplay.attachVideo(ns);
videoDisplay.smoothing = true;
ns.play("video",0);
It's starts playing but near the end of the clip when in buffer is less than 2
seconds but data don't streams any more, buffer flushes and the data that is in
the buffer didn't display. Help me please what to do to display this last
seconds.
Yuzik Guest
-
Preventing a NetStream.Buffer.Flush
I need to buffer a large amount of (non-live) streaming content in the background while the user is distracted with something else. So far, the only... -
NetStream.Buffer.Flush
Hi people, I am getting a status code of "NetStream.Buffer.Flush" This isn't documented anywhere. Can you explain the meaning of this status... -
#25701 [Opn->Asn]: Calling flush from within an output buffer prevents headers from being sent
ID: 25701 Updated by: sniper@php.net Reported By: scottmacvicar at ntlworld dot com -Status: Open +Status: ... -
#25701 [Opn]: Calling flush from within an output buffer prevents headers from being sent
ID: 25701 Updated by: sniper@php.net Reported By: scottmacvicar at ntlworld dot com Status: Open Bug Type: ... -
waiting on flush of log buffer - try two - Assembled_onstats.txt (0/1)
I've got this situation: A session, building an index on a fragmented temporary table, spawns 4 additional threads, one goes into a critical... -
MotionMaker #2
Re: Buffer Flush
I tried the code and it seemed to work with a video I have on FMS server hosted
at Influxis.
You might want to use the normal template and listen for the onStatus messages
coming from the NetStream ns object and see if you are getting a status message
at the time you think you are losing the data.
stream_ns.onStatus = function(infoObject:Object) {
trace("NetStream.onStatus called: ("+getTimer()+" ms)");
for (var prop in infoObject) {
trace("\t"+prop+":\t"+infoObject[prop]);
}
trace("");
};
Also you might want to try other video sources that you recorded or from
another source.
MotionMaker Guest



Reply With Quote

