Skip to main content

Broadcast audio over IP codec built with PyGObject + GStreamer

Project description

OpenOB

PyPI version CI

OpenOB (Open Outside Broadcast) is a simple Python/GStreamer based application which implements a highly configurable RTP-based audio link system.

It is primarily designed for broadcast applications including (but not limited to) contribution links, emission/studio-transmitter links, talkback, and intranet audio distribution systems.

Status

OpenOB 5.0 is a revival of the previously-unmaintained codebase, modernised for current Python (3.10+), GStreamer (1.22+), and redis-py (5.x) to support ongoing community usage on modern distros.

Features

  • IETF standard Opus codec - variable bandwidth and bitrate, 16-384kbps
  • Linear PCM mode for transparent audio transit over 1600kbps capable connections (LANs, fast wifi)
  • Trivial configuration and setup via command line
  • Transmitter-configured receivers for standalone receiver operation and control
  • Low latency performance (codec internal latency under 5ms PCM, under 25ms Opus) with variable jitter buffer (0-150ms)
  • System latency in low hundreds to tens of milliseconds for most applications; more over the internet/lossy links
  • Automatic link recovery in the event of failures

Running tests / development

End-to-end tests live in tests/ and exercise real network and audio flow against private redis-server and GStreamer pipelines. The simplest path is Docker:

docker compose run --rm tests

This works identically on Linux, macOS, and Windows (with Docker Desktop). For a native Linux/WSL2 setup, see tests/README.md.

Licensing and Credits

OpenOB was developed by James Harrison, with chunks of example code used from Alexandre Bourget and various other GStreamer documentation sites such as the PyGST manual.

Since OpenOB 5.0, some contributions were made by Anthropic's Opus 4.7 model using Claude Code. This may have licensing implications, but since it's 3-clause BSD anyway...

Copyright (c) 2018, James Harrison

License is 3-clause BSD:

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the OpenOB project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JAMES HARRISON OR OTHER OPENOB CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openob-5.0.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openob-5.0.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file openob-5.0.0.tar.gz.

File metadata

  • Download URL: openob-5.0.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.27

File hashes

Hashes for openob-5.0.0.tar.gz
Algorithm Hash digest
SHA256 c02283816d4d8832ac09d633fd5fdeb83394493d36aac61f6b819869b18d64ae
MD5 0c66258399cef4b44acdd9ce98ae7533
BLAKE2b-256 d6e04d54038bf8cb2b114d73bb7c9045ef6306c769df3900d77f8280997a8623

See more details on using hashes here.

File details

Details for the file openob-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: openob-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.27

File hashes

Hashes for openob-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07fd4664ced94354db414986a675336fa95213df9e3f67117e089b4b0efa931e
MD5 17fa125c768b3082be25648125c6e553
BLAKE2b-256 fe9e076b2e0b9e7e2e1d796c4dbfbf2538032692fd4b9d4acc3de46f4daae5fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page