I think there is typo in your server-side code , probabaly you might have typed it wrong here because there are not p1.flv,p2.flv .. I really dont know why they should play slow for you. But i can suggest you try with this code and see if things fine - I am just giving more correct code but dont know whether it will solve slow play which you are seeing ( i.e. flash file video is too slow) Server-side: application.onAppStart = function(){ this.clientStream = Stream.get("clientPlayStream"); this.clientStream.onStatus = function(info){ if(info.code=="NetStream.Play.Stop") { this.clientStream.play("s1", 0, -1,false); this.clientStream.play("s2", 0, -1, false); this.clientStream.play("s3", 0, -1, false); this.clientStream.play("s4", 0, -1, false); this.clientStream.play("s5", 0, -1, false); this.clientStream.play("s6", 0, -1, false); } } this.clientStream.play("s1", 0, -1); this.clientStream.play("s2", 0, -1, false); this.clientStream.play("s3", 0, -1, false); this.clientStream.play("s4", 0, -1, false); this.clientStream.play("s5", 0, -1, false); this.clientStream.play("s6", 0, -1, false); } Client-end: .... .... ns.setBufferTime(2); ns.play(videoURL,"live"); See if this works fine for you.
... View more