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
Offer audio in a standard audio streaming format #117
Comments
Not currently possible — ShinySDR's audio stream is proprietary in the sense of "I made up the protocol and nobody else uses it". However, I have also thought it would be good to be able to just point a regular streaming audio player at a ShinySDR server. Thanks for making the issue. This is not the same feature as #11, using WebRTC for to-browser streaming, but they might end up sharing some infrastructure. |
Cool. Thanks. |
I've got a working implementation. It's uncompressed audio just like the existing stream. The latency is high since the browser doesn't consider this realtime and buffers a lot. Just need to put in a link to it — probably next to the existing audio controls. And test with more players. … dropping the URL into the ones I have handy just says there's a format error or does nothing. Maybe I need to create a "playlist"? I seem to recall that has been a thing, but I haven't used streaming audio not-in-a-web-page much lately. |
Where i can get URL for stream? |
Sorry, I was unclear; the changes aren't pushed yet. |
As of commit 31fd6a7 this feature is in; the link is inside the client audio controls (a collapsible section in the left sidebar where the Spectrum/Map/Telemetry/… display toggles are). However, it doesn't work very well. Of the software I have handy, only Chrome will play the audio. Firefox tries to download it, Safari and QuickTime Player show a generic error, iTunes does something else random. Non-mutually-exclusive hypotheses:
|
Any recommendations from people familiar with HTTP audio streaming would be welcome. |
Hmm... I'm do not see URL: Src up to date. commit 7d89fb6
|
Ok. I'm reconstruct URL from source: .../audio-stream/mono?rate=11025 and test it in player. mpv, vlc and ffplay work fine but mono/stereo switch not work: .../audio-stream/stereo?rate=11025 .../audio-stream/mono?rate=11025 MP3 would be better of course and variable bitrate must have for squelch interaction. |
Thanks for the report!
There is (currently) no mono/stereo switch;
Indeed! I hope that integrating codecs will improve this and also the interactive stream — the WAV stream is just what was easy to put together. |
Nice replcament for proprietry websdr. Can i listen stream without open browser via common wide player, VLC for example.
The text was updated successfully, but these errors were encountered: