This project has moved and is read-only. For the latest updates, please go here.

Unexpected end of stream before frame complete

Jan 30, 2016 at 6:04 PM
Edited Jan 30, 2016 at 6:49 PM
Hi!

Sorry for my bad english

I use your Mp3Streaming demo and now I get response stream from server, write it to mp3 file and play it from this file at the same time, using
FileStream fileStream = new FileStream("myfile.mp3", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
                    var readFullyStream = new ReadFullyStream(fileStream);
but about 50% of files from this website throws endofstreamexception Unexpected end of stream before frame complete at the different areas of time. But if file is full downloaded - all work fine.
Can you offer me a solution of this problem, please?