Problem With Streming Audio And Video

Hi all …

i was doing a streaming player using flash 8 and RED5, everything is working fine in that , the problem is after some 10 seconds of playing the file , its buffering for 10 seconds and then playing , i want to avoid this and make to play the file continuously as in the YouTube how can i do this …

any help please…

Thanks,
Saddu.