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

No audio #148

Open
FMC-gclifford opened this issue Aug 27, 2020 · 6 comments
Open

No audio #148

FMC-gclifford opened this issue Aug 27, 2020 · 6 comments
Labels

Comments

@FMC-gclifford
Copy link

Hi All,

New user here (great application).

I see the audio bar jumping around but i'm not getting any volume on my clients. I've tried Chrome, Firefox and IE and none appear to have any audio.

I'm trying to just listen to Broadcast FM to get started as a test.

SDR

Am I missing something obvious?

Nothing obvious in the logs

-----LOGS---

gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (default), No such file or directory.

Found Rafael Micro R820T tuner
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
INFO:shinysdr:Loading mode plugins...
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/aprs/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/elecraft/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/mode_s/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/hamlib/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/psk31/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/wspr/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/dropin.cache: error number 13
INFO:shinysdr:Mode RTTY unavailable
No module named radioteletype.demodulators
INFO:shinysdr:Mode MODE-S unavailable
No module named air_modes
INFO:shinysdr:Mode APRS unavailable
Expected multimon-ng -h; exit 0 to give output containing 'vailable demodulators:', but the actual output was:
/bin/sh: 1: multimon-ng: not found

INFO:shinysdr:Mode WSPR unavailable
wsprd not found.
INFO:shinysdr:Mode PSK31 unavailable
No module named radioteletype.demodulators
INFO:shinysdr:Mode 433 unavailable
Expected rtl_433 -r /dev/null to succeed but it could not be started.
INFO:shinysdr:Mode DSD unavailable
dsd.dsd_block_ff not found.
INFO:shinysdr:...done mode plugins.
INFO:shinysdr:Constructing...
INFO:shinysdr:Flow graph: Switching RF device to sim
INFO:shinysdr:Flow graph: Rebuilding connections because: initialization, switched device
INFO:shinysdr:Flow graph: ...done reconnecting (40.5390262604 ms).
INFO:shinysdr:Restoring state...
INFO:shinysdr:Flow graph: Switching RF device to osmo
INFO:shinysdr:Flow graph: Rebuilding connections because: switched device
INFO:shinysdr:Flow graph: ...done reconnecting (23.7758159637 ms).
INFO:shinysdr:Flow graph: Rebuilding connections because: added receiver b
INFO:shinysdr:Flow graph: ...done reconnecting (2.38919258118 ms).
INFO:shinysdr:Starting web server...
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/aprs/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/elecraft/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/mode_s/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/hamlib/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/psk31/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/wspr/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/dropin.cache: error number 13
INFO:shinysdr:SiteWithDefaultHeaders starting on 8100
INFO:shinysdr:Starting factory <shinysdr.i.network.base.SiteWithDefaultHeaders instance at 0x681c8c60>
INFO:shinysdr:WebSocketDispatcherProtocol (FactoryWithArgs) (WebSocketFactory) starting on 8101
INFO:shinysdr:Starting factory <shinysdr.twisted_ext.FactoryWithArgs instance at 0x681b97d8>
INFO:shinysdr:Starting factory <txws.WebSocketFactory instance at 0x681c86c0>
INFO:shinysdr:ShinySDR is ready.
INFO:shinysdr:Visit http://localhost:8100/U_69g4LaS14fncQ-hjQhOw/
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /U_69g4LaS14fncQ-hjQhOw/radio
Allocating 15 zero-copy buffers
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /U_69g4LaS14fncQ-hjQhOw/audio-stream?rate=48000
INFO:shinysdr:Flow graph: Rebuilding connections because: added audio callback
Allocating 15 zero-copy buffers
INFO:shinysdr:Flow graph: ...done reconnecting (1140.4531002 ms).
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOINFO:shinysdr:Starting RFC 6455 conversation
OINFO:shinysdr:Stream connection to /U_69g4LaS14fncQ-hjQhOw/audio-stream?rate=48000
INFO:shinysdr:Flow graph: Rebuilding connections because: added audio callback
Allocating 15 zero-copy buffers
INFO:shinysdr:Flow graph: ...done reconnecting (1043.04099083 ms).
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /U_69g4LaS14fncQ-hjQhOw/radio
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

@kpreid
Copy link
Owner

kpreid commented Aug 27, 2020

Please provide the contents of the browser's console log (omitting any stack traces) so I can see what the client audio status is.

@kpreid kpreid added the support label Aug 27, 2020
@FMC-gclifford
Copy link
Author

interesting it seems to be working now - looks like it takes a few reloads of the website before it starts working?

@kpreid
Copy link
Owner

kpreid commented Aug 27, 2020

That's probably #125 then!

@FMC-gclifford
Copy link
Author

I didn't see a definitive fix. is it still being worked on?

@kpreid
Copy link
Owner

kpreid commented Aug 27, 2020

It's not being actively worked on but I intend to fix it at some point. The fix will require new UI, a "play button" for the audio. (Which I think is a good idea anyway.)

@redge76
Copy link

redge76 commented Nov 27, 2020

You can use "site settings" to allow sound to auto-play by default on you shiny instance. Of course this will change the behaviour only on the system you are currently logged on.
Click on the icon on the left of the URL on you browser. Select "site settings" -> "sound" and set "allow"
reference:

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

3 participants