I am doing a video streaming application...Am able to stream the video from the server and play it.

->i need to store the streamed video which i got from the server in the database

->am setting the max limit for my video to play from the database ,say for example as 10 kb

-> i need my video from the database to be played nly when 10kb is reached...while playing, the rest of the video
from the server will be streamed and stored in the db and will be played(as in the same way it happens in You Tube)..

Can anyone please help me

With Regards