-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
When attempting to call the Stop() method while a web stream is playing, an exception is thrown:
Unhandled exception. System.InvalidOperationException: Seeking is not supported for this sound.
Stack Trace
Playing stream... Press any key to stop.
Unhandled exception. System.InvalidOperationException: Seeking is not supported for this sound.
at SoundFlow.Components.SoundPlayer.Seek(Int32 sampleOffset)
at SoundFlow.Components.SoundPlayer.Stop()
at WebPlayback.Program.Main(String[] args) in /SoundFlow Test/QuickTest/Program.cs:line 36
at WebPlayback.Program.<Main>(String[] args)
Minimum reproducible example
- Use the web playback example from the SoundFlow documentation.
- Replace
your-audio-stream-urlwithhttp://ice6.somafm.com/sonicuniverse-128-mp3(Soma.fm online radio stream) - Run the code, and once you press a key to stop the stream, the exception will throw.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels