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

ReadFullyStream analog for FileStream

Feb 1, 2016 at 1:34 PM
Edited Feb 1, 2016 at 1:35 PM
ReadFullyStream from mp3streaming demo can't work with FileStream, it throws
Unexpected end of stream before frame complete .

Can someone offer me a sample code of ReadFullyStream for FileStream, not ConnectStream for network, that offered in mp3streaming demo?
Feb 4, 2016 at 2:23 PM
well that just means it got to the end of the file while still expecting more data. That can happen sometimes with MP3 files. You could just catch this exception and ignore it.