4 Comments

  1. The sudo/sed/redis magic incantation can be written in a far simpler way!

    sudo sed -i.bak ‘s/bind 127.*/bind 0.0.0.0/’ /etc/redis/redis.conf && sudo service redis restart

    The -i flag to sed will edit in-place, optionally creating a backup file with the given suffix (just use -i to create no backup). It also keeps things like SELinux contents in place, which would otherwise get lost.

  2. Hi James, I’m having a bit of trouble setting up an Ubuntu 12.04 Desktop Machine as the receiver to my Raspberry Pi transmitter and wondered if you’d be able to point me in the right direction?

    I’m seeing this message and I’m not sure how to proceed from here:

    — Unhandled exception occured, please report this as a bug!
    Traceback (most recent call last):
    File “/usr/local/bin/openob”, line 5, in
    pkg_resources.run_script(‘OpenOB==2.3.2′, ‘openob’)
    File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 1235, in run_script
    execfile(script_filename, namespace, namespace)
    File “/usr/local/lib/python2.7/dist-packages/OpenOB-2.3.2-py2.7.egg/EGG-INFO/scripts/openob”, line 29, in
    manager.run(opts)
    File “/usr/local/lib/python2.7/dist-packages/OpenOB-2.3.2-py2.7.egg/openob/manager.py”, line 94, in run
    receiver = RTPReceiver(audio_output=opts.audio_output, audio_device=opts.device, base_port=port, encoding=encoding, caps=caps, bitrate=bitrate, jitter_buffer=jitter_buffer, jack_name=(“openob_tx_%s” % opts.link_name) )
    File “/usr/local/lib/python2.7/dist-packages/OpenOB-2.3.2-py2.7.egg/openob/rtp/rx.py”, line 35, in __init__
    self.decoder = gst.element_factory_make(“opusdec”,”decoder”)
    gst.ElementNotFoundError: opusdec

    As far as I can see I’ve fulfilled all the dependencies for 12.04 following the guide on the front page of the OpenOB project on GitHub, a similar message is displayed when transmitting from the same machine “Couldn’t fulfill our gstreamer module dependencies! You don’t have the following element available: opusenc”

    Any help would be much appreciated,
    Thanks in advance,
    Gary

    • Well, as the (more recent) OpenOB says, you’ve not got the opusenc or opusdec GStreamer element available. On 12.04 this is because the GStreamer package version is too old. Debian Wheezy certainly supports Opus if you really want that, but CELT works well on 12.04 – just start the transmitter with -e celt and you should be good to go. I’m not sure on 12.10’s support for Opus but it may have a recent enough package version – I’d be interested if anyone’s tried this out.

      I’m aware the documentation is sub-par on this and I’ll fix it shortly.

Comments are closed.