Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm using media element to play audio video file.
I've stream of data (Byte[]) which is used to create create file at a given location and then the file is used for playing.

I was willing to know whether it is possible to play the Data-stream without generating file.

One more confusion I've is with the concept of playing a media file from Internet. Does media-element downloads the file and then play or just buffers the file and play, b'coz I tried some thing like this::

1> I gave media element's source a url of a hosted file (big file) over remote server.
2> mediaElement.Play(), started playing the file before waiting for few secs.
3> I disconnected the internet, but still media element was able to play the complete file, while when i download that file from browser it took around 2 minutes to get it done.

Kindly suggest.

Thanks,
Abhishek Kumar
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900