This project has moved. For the latest updates, please go here.

ReadFullyStream analog for FileStream

Feb 1, 2016 at 12:34 PM
Edited Feb 1, 2016 at 12: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?
Coordinator
Feb 4, 2016 at 1: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.