Skip to content

Enable "zero sample output" for streaming to the server with squelch  #2

Description

@kovalroma

There is a problem when streaming from rtl_fm using ezstream with squelch.
For example this is a command
rtl_fm -f 145.575M -s 16k -l 0 | lame --scale 2 --lowpass 4.0 --highpass 0.2 -r -s 16.0 -m m - - | ezstream -c /etc/ezstream.xml

When squelch is enabled the stream stops when the squelch is triggered. When rtl_fm is squelched it does not generate any data, probably causing lame and ezstream to fail.

Mr. Wilson created a simple little change for rtl_fm which outputs values of 0 (instead of nothing) when the output is squelched.
Here is more information
http://lists.osmocom.org/pipermail/osmocom-sdr/2015-November/000138.html
and
http://www.rtl-sdr.com/forum/viewtopic.php?f=7&t=141

Can I ask you to apply his code ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions