New (Work In Progress) WebRadio Software for the RTL-SDR Released

Mike Stirling has just released a still in-development version of his Linux based WebRadio software, which supports the RTL-SDR. WebRadio allows someone to connect to a remote RTL-SDR device via a web interface over the internet, much like WebSDR.

There is an installation guide here.


I was able to compile, install and run the software, but there were a few issues that required resolving.

First, after installing all the prerequisite packages via my package manager, and running the configuration as mentioned in the installation guide, I ran ‘make’ and received this error, due to my virtual Linux test machine being 32-bits.

web/httpserver.cxx:116:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned_int}'

I was able to get around this error simply by opening httpserver.cxx, and commenting out line 116, which was just debugging log code.

Next, I ran ‘lsusb -v’ at the terminal, and recorded my RTL-SDRs serial number, under ‘iSerial’, which for me was ’00000013′.

I then went into the src directory and ran ‘./webradio 00000013′, and tried to connect to in my browser, but the ui.html file could not be found. I discovered I needed to copy the html folder into the src directory. Now the ui.html file showed in the browser, but it did not work. Reading the readme file inside of the html folder showed me that I needed to download JQuery and JQuery UI into the html folder. The Readme file shows exactly how to do this.

After doing that everything works fine and I was able to tune to stations easily. Sound quality is still quite poor, and half the controls don’t seem to do anything yet, but it’s looking great for software still in development.


    • mars

      Thanks. I did install libmicrohttpd but the build must have failed somewhere. I’ve got it working but there is no sound. Very cool!

      • Somer

        I got sound with google chrome only, no sound with firefox, maybe you should try it with chrome too.

        And thanks for adding this and other great information here Keep it up, this software looks very promising.

        • admin

          Thanks Somer.

          I didn’t have any problems with sound, but I only tested it in Chrome. I found that sometimes there is a lag of a number of seconds between pushing play and hearing audio though.

          • mars

            I am using Chrome and an android phone. The streaming box doesnt do anything when I click play and the speaker wont un-mute. I must be missing something to do with lame or the stream server.

  1. mars

    I am having trouble getting this to run. It can’t find Do I need to create a symbolic link? I am on 32 bit Ubuntu 12.04 LTS. I also get a 64bit errror. Not the same one posted in the article tho. I am very excited to get this working!

    • admin

      Do you have the libmicrohttpd package installed? I didn’t need to do any symbolic linking. I installed this on Kali Linux by the way.

      EDIT: Looks like Somer has answered your question. I installed libmicrohttpd-dev via the Kali package manager and it seems to work fine, but as Somer says the Ubuntu version may be old.

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>