I’m recording videos with fms and netstream. When I try to watch them via connecting to my netConnection and play them via Video/NetStream the ns.time seems to behave wierd.
I’m tracing the ns.time:
[trace] 1.906
[trace] 1.965
[trace] 1.965
[trace] 1.999
[trace] 1.999
[trace] 2.065
[trace] 2.065
[trace] 1: NetStream.Play.Stop
[trace] 2.1
[trace] 2.1
[trace] 9.522
[trace] 9.522
[trace] 1: NetStream.Buffer.Flush
[trace] 9.522
[trace] 9.522
[trace] 9.522
[trace] 9.522
Play.Stop actually comes after 2 seconds even though the video is 9.5 seconds. Then ns.time suddenly is the duration of the video.
It never stops at the same place and somethimes it plays through the video fine. If I play the video directly from my fms at Influxis or in a FLVPlayback component the video progress seems to output right. No jumping of the scrubber to the end of the video.
I have tried my program with other videos that I haven’t recorded myself and they usually seem to behave right. I see some skipping at the very end sometimes, but usually not.
So now I’m wondering if theres something I’ve missed regarding the recording or whatever?
Really nothing special to it:
private function recordHandler(e:MouseEvent):void {
publishNs.attachCamera(camera);
publishNs.attachAudio(mic);
publishNs.publish("myFilename", "record");
}
What am I missing? Any suggestions, hints, tips or whatever?