play the range of big WMV files by using ASP.NET
I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the f开发者_JAVA技巧ile which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give . Is there anybody to help me ?
Unfortunately since WMV files have a header at the beginning and an index at the end you can't just use a FileStream to deliver partial files, for that "streaming" formats like MPEG1/2 or H.264 are much better.
For partial WMV file streaming I would investigate in
Microsoft Media Services
This will basically do the job for you, although if you want tight control over the offsets you want to stream from you will have to dynamically create playlists for your files (i.e. see Server side playlists)
精彩评论