wpf : Playing video from bytearray

Apr 3, 2010 at 5:25 AM

Hi All,

I am getting the video in chunks of bytes. When i get all the bytes, then i write them to a file and give a a source to media element and that works fine.

But what i want is that I don't have to wait for all the bytes and i can start showing the video as soon as i receive the first chunk of bytes and then the video should continue as i get the second chunk of bytes and so on. So the video should keep on streaming and appear as live.

Can someone help me out here?

 

Regards,

Sumit