Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Stream does not support seeking #114

Closed
joelamos opened this issue Jul 5, 2016 · 3 comments
Closed

Error: Stream does not support seeking #114

joelamos opened this issue Jul 5, 2016 · 3 comments
Assignees
Labels

Comments

@joelamos
Copy link

joelamos commented Jul 5, 2016

I'm trying to play an online radio station's stream via WasapiOut.play, but I get the below message about the stream not supporting seeking. Is this a limitation or a bug?

Unhandled Exception: System.NotSupportedException: Stream does not support seeking.
   at System.IO.BufferedStream.get_Position()
   at CSCore.Tags.ID3.ID3v2.SkipTag(Stream stream)
   at CSCore.Codecs.MP3.DmoMp3Decoder.ParseForMp3Frames(Stream stream, Boolean enableSeeking)
   at CSCore.Codecs.MP3.DmoMp3Decoder..ctor(Stream stream, Boolean enableSeeking)
   at CSCore.Codecs.MP3.Mp3WebStream.BufferProc(Object o)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
@filoe filoe added the bug label Jul 6, 2016
filoe added a commit that referenced this issue Jul 6, 2016
@filoe filoe self-assigned this Jul 6, 2016
@filoe filoe added this to the CSCore 1.2 release milestone Jul 6, 2016
@filoe
Copy link
Owner

filoe commented Jul 6, 2016

Thanks for reporting! Should be fixed. Can you confirm that?

@joelamos
Copy link
Author

joelamos commented Jul 7, 2016

I am unsure, as I am using v1.0 from NuGet, but here is a stream URL that gives the error: http://nprdmp-live01-mp3.akacast.akamaistream.net/7/998/364916/v1/npr.akacast.akamaistream.net/nprdmp_live01_mp3

filoe added a commit that referenced this issue Jul 9, 2016
@filoe
Copy link
Owner

filoe commented Jul 9, 2016

I've did a few tests. It should work quite stable now. But to be honest, I currently have to not the time to test it more intense. Please try it out and give me some feedback :)
Thanks!

@filoe filoe closed this as completed Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants