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

Failed to activate stream when connecting to remote soapysdr server #97

Open
hcooper opened this issue Dec 15, 2021 · 1 comment
Open

Comments

@hcooper
Copy link

hcooper commented Dec 15, 2021

I'm trying to use rx_sdr to fetch a stream from a remote soapysdr server (with the aim of passing it onto 1090dump). rx_sdr seems to connect fine, and identify the channel, but then fails as soon as it tried to start reading.

The same soapysdr server works from CubicSDR fine.

Any suggestions of what the problem might be?

This is the simplest reproduction I have:

root@raspberrypi:~# rx_sdr -F CS16 -d driver=remote,remote=tcp://10.10.2.148:55132 -f 1090000000  -
Using device Audio: device_id=0 origin=https://github.com/pothosware/SoapyAudio remote:version=0.5.2-unknown
Found 1 channel(s) :
Channel 0 :
  Found 1 antenna(s): RX
  Found 0 gain(s):
  Found 1 frequencies: RF
  Found 7 sample rates: 8000 16000 22050 32000 44100 48000 96000
  Found 0 bandwidths:
Using output format: CS16 (input format CS16, 4 bytes per element)
Sampling at 2048000 S/s.
Tuned to 1090000000 Hz.
[INFO] SoapyRemote::setupRxStream(remoteFormat=CS16, localFormat=CS16, scaleFactor=65536, mtu=1500, window=44040192)
[INFO] Client side stream bound to 10.10.2.148:33480
[INFO] Client side status bound to 10.10.2.148:46711
[INFO] Using format CS16.
[INFO] Server side stream bound to [::ffff:10.10.2.148]:53002
[INFO] Server side stream connected to [::ffff:10.10.2.148]:33480
[INFO] Server side status connected to [::ffff:10.10.2.148]:46711
[WARNING] StreamEndpoint resize socket buffer: set 43008 KiB, got 176 KiB
[INFO] Configured sender endpoint: dgram=1452 bytes, 357 elements @ 4 bytes, window=176 KiB
[INFO] Client side stream connected to 10.10.2.148:53002
[WARNING] StreamEndpoint resize socket buffer: set 43008 KiB, got 176 KiB
[INFO] Configured receiver endpoint: dgram=1452 bytes, 357 elements @ 4 bytes, window=176 KiB
Reading samples in sync mode...
Failed to activate stream
@guruofquality
Copy link
Collaborator

Surprising. You may need to debug prints to investigate, the activate stream on soapy audio doesnt really have any error conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants