Comments (4)
I have multiple units running both local icecast and broadcastify feeds and don't see this on a few that I checked. All of mine are running on pi 4s however, so I wonder if that is a factor . . .
In addition to multiple_output_threads = true
you can also use multiple_demod_threads = true
, this will run a different thread for each dongle and will help keep up with the raw data rate. I think on the pi 3 both ethernet and USB share the same bus, so perhaps a backlog there could cause issues?
If you recompile with native
instead of armv7-generic
that will tune to the hardware you're building on (presumably the pi itself), not sure if that will impact anything or not.
There are a bunch of stats captured and can be written to a file using stats_filepath = "/tmp/radio.prom"
, enabling that and watching for changes when the disconnects happen may be interesting.
from rtlsdr-airband.
Sounds good. Thank you. I also just received a new PI5. With that being the case, what would be the best platform to use when compiling? Ill give your suggestions a shot.
from rtlsdr-airband.
If you are compiling on the machine you will be running on, use native as the platform.
from rtlsdr-airband.
What I have noticed is a buffer overrun count:
# HELP channel_activity_counter Loops of output_thread with frequency active.
# TYPE channel_activity_counter counter
channel_activity_counter{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0
channel_activity_counter{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 44
channel_activity_counter{freq="155.550",label="Douglas County Sheriff - Law 2"} 0
channel_activity_counter{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0
channel_activity_counter{freq="154.815",label="Oregon State Police - Roseburg Station"} 0
channel_activity_counter{freq="154.370",label="Douglas County Fire Dispatch"} 0
# HELP channel_noise_level Raw squelch noise_level.
# TYPE channel_noise_level gauge
channel_noise_level{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0.091
channel_noise_level{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 0.286
channel_noise_level{freq="155.550",label="Douglas County Sheriff - Law 2"} 0.286
channel_noise_level{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0.285
channel_noise_level{freq="154.815",label="Oregon State Police - Roseburg Station"} 0.283
channel_noise_level{freq="154.370",label="Douglas County Fire Dispatch"} 0.250
# HELP channel_dbfs_noise_level Squelch noise_level as dBFS.
# TYPE channel_dbfs_noise_level gauge
channel_dbfs_noise_level{freq="122.800",label="Roseburg Regional Airport (122.800)"} -48.739
channel_dbfs_noise_level{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} -38.829
channel_dbfs_noise_level{freq="155.550",label="Douglas County Sheriff - Law 2"} -38.826
channel_dbfs_noise_level{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} -38.870
channel_dbfs_noise_level{freq="154.815",label="Oregon State Police - Roseburg Station"} -38.915
channel_dbfs_noise_level{freq="154.370",label="Douglas County Fire Dispatch"} -39.979
# HELP channel_signal_level Raw squelch signal_level.
# TYPE channel_signal_level gauge
channel_signal_level{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0.109
channel_signal_level{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 0.300
channel_signal_level{freq="155.550",label="Douglas County Sheriff - Law 2"} 0.317
channel_signal_level{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0.309
channel_signal_level{freq="154.815",label="Oregon State Police - Roseburg Station"} 0.320
channel_signal_level{freq="154.370",label="Douglas County Fire Dispatch"} 0.300
# HELP channel_dbfs_signal_level Squelch signal_level as dBFS.
# TYPE channel_dbfs_signal_level gauge
channel_dbfs_signal_level{freq="122.800",label="Roseburg Regional Airport (122.800)"} -47.194
channel_dbfs_signal_level{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} -38.404
channel_dbfs_signal_level{freq="155.550",label="Douglas County Sheriff - Law 2"} -37.945
channel_dbfs_signal_level{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} -38.159
channel_dbfs_signal_level{freq="154.815",label="Oregon State Police - Roseburg Station"} -37.853
channel_dbfs_signal_level{freq="154.370",label="Douglas County Fire Dispatch"} -38.412
# HELP channel_squelch_counter Squelch open_count.
# TYPE channel_squelch_counter counter
channel_squelch_counter{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0
channel_squelch_counter{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 1
channel_squelch_counter{freq="155.550",label="Douglas County Sheriff - Law 2"} 0
channel_squelch_counter{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0
channel_squelch_counter{freq="154.815",label="Oregon State Police - Roseburg Station"} 0
channel_squelch_counter{freq="154.370",label="Douglas County Fire Dispatch"} 0
# HELP channel_squelch_level Squelch squelch_level.
# TYPE channel_squelch_level gauge
channel_squelch_level{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0.274
channel_squelch_level{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 0.904
channel_squelch_level{freq="155.550",label="Douglas County Sheriff - Law 2"} 0.904
channel_squelch_level{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0.900
channel_squelch_level{freq="154.815",label="Oregon State Police - Roseburg Station"} 0.895
channel_squelch_level{freq="154.370",label="Douglas County Fire Dispatch"} 0.792
# HELP channel_flappy_counter Squelch flappy_count.
# TYPE channel_flappy_counter counter
channel_flappy_counter{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0
channel_flappy_counter{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 0
channel_flappy_counter{freq="155.550",label="Douglas County Sheriff - Law 2"} 0
channel_flappy_counter{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0
channel_flappy_counter{freq="154.815",label="Oregon State Police - Roseburg Station"} 0
channel_flappy_counter{freq="154.370",label="Douglas County Fire Dispatch"} 0
# HELP channel_ctcss_counter count of windows with CTCSS detected.
# TYPE channel_ctcss_counter counter
channel_ctcss_counter{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0
channel_ctcss_counter{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 13
channel_ctcss_counter{freq="155.550",label="Douglas County Sheriff - Law 2"} 0
channel_ctcss_counter{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0
channel_ctcss_counter{freq="154.815",label="Oregon State Police - Roseburg Station"} 0
channel_ctcss_counter{freq="154.370",label="Douglas County Fire Dispatch"} 0
# HELP channel_no_ctcss_counter count of windows without CTCSS detected.
# TYPE channel_no_ctcss_counter counter
channel_no_ctcss_counter{freq="122.800",label="Roseburg Regional Airport (122.800)"} 0
channel_no_ctcss_counter{freq="155.700",label="Douglas County Sheriff Law 1 (155.700)"} 0
channel_no_ctcss_counter{freq="155.550",label="Douglas County Sheriff - Law 2"} 0
channel_no_ctcss_counter{freq="155.775",label="Oregon Department of Transportation District 7 (155.775)"} 0
channel_no_ctcss_counter{freq="154.815",label="Oregon State Police - Roseburg Station"} 0
channel_no_ctcss_counter{freq="154.370",label="Douglas County Fire Dispatch"} 0
# HELP buffer_overflow_count Number of times a device's buffer has overflowed.
# TYPE buffer_overflow_count counter
buffer_overflow_count{device="0"} 0
buffer_overflow_count{device="1"} 0
# HELP output_overrun_count Number of times a device or mixer output has overrun.
# TYPE output_overrun_count counter
output_overrun_count{device="0"} 0
output_overrun_count{device="1"} 9
The bandwidth for my feeds are set to 5000. Is that too big? There are only two dongles currently, but I plan to add a third.
Also, just as an update, this is now running on the PI5. Values multiple_output_threads = true
and multiple_demod_threads = true
have been set. Would the overrun count cause this?
When the drop occurred on icecast, I saw:
# HELP output_overrun_count Number of times a device or mixer output has overrun.
# TYPE output_overrun_count counter
output_overrun_count{device="0"} 0
output_overrun_count{device="1"} 48
Perhaps this is the culprit, but Im trying to understand why.
Thanks
from rtlsdr-airband.
Related Issues (20)
- [FEATURE] SSB Demodulation HOT 1
- [BUG] DELETE THIS
- [BUG] MP3 headers are malformed HOT 11
- [BUG] unstable requires libshout version not available in APT on Raspberry PI (buster 10) HOT 2
- Help finding the right settings HOT 1
- [compile error] error: βint shout_set_format(shout_t*, unsigned int)β is deprecated HOT 6
- [FEATURE] Change the I/Q sample format for the rawfile output to a more standard one HOT 2
- Possible Bookworm cmake issue on a clean install [BUG] HOT 4
- [FEATURE] Add label to multichannel mode HOT 1
- CMake Error during installation [BUG] HOT 12
- [BUG] RTLSDR v4 no audio/signal HOT 8
- [BUG] Segmentation fault on Alpine Linux HOT 4
- [BUG] `cmake` fails to detect `RTL_AIRBAND_VERION` when using source from a release artifact HOT 1
- Unable to schedule program startup at boot or find any logs [BUG] HOT 1
- [BUG] SHOUT_META_NAMEβ was not declared in this scope HOT 1
- [BUG] Choppy/garbled/audio dropout on Raspberry Pi 5 using SoapySDR HOT 6
- Gain Error Failed to initialize gain for device #-536870912: error -1071395636 HOT 7
- Error on Service Start Failed to connect to Pulse HOT 1
- Bias-t activation SDR V4 via RTL_airband
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtlsdr-airband.