Code Monkey home page Code Monkey logo

ub0r-streaming's Introduction

ub0r audio streaming

This is a tool set of small programs helping to stream audio over a local network. It's kind of multi room aware and supports possibly synchronous playback of a single stream on different players.

There are three components necessary to stream audio.

RTP config

A small config server managing which stream should run on which device. It provides the frontend to the user.

You'll need one config server.

RTP sender

The sender encodes a web radio stream or line in into a opus+ogg stream and provides this compressed stream as a TCP server to the local network. It's basically a thin layer around gstreamer.

You can run a stand alone server on any device or let the RTP config server spawn them in the background.

RTP receiver

The receiver is an even thinner layer around gstreamer. It connects to one of the sender components to decode and play the compressed audio stream.

You'll need at least one receiver.

Configuration

The RTP config server manages a dynamic set of servers and receivers as they appear. Radio streams are managed on the web frontend.

The following URIs are available as radio stream:

  • off: turns off a server
  • alsa:${device}: plays a alsa input stream
  • pulse:${device}: plays a pule audio source
  • http...: plays a web stream
  • test: plays a sinus test signal

Screenshots

The RTP config server has a ub0r web UI. It's responsive designed and uses bleeding edge web techniques:

Receivers Radios

Dependencies for running

You need gstreamer 1.0 including some plugins to run ub0r streaming.

On debian/ubuntu:

apt-get install gstreamer1.0-alsa gstreamer1.0-pulseaudio gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

Build

The simplest way is using make.

make all

Dependencies for building

You need gstreamer 1.0 dev files to build the dependencies.

On debian/ubuntu:

apt-get install libgstreamer1.0-dev

Contributing

Just fork and send PR. Please try to stick to current code style.

License

Copyright 2014 Felix Bechstein

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

ub0r-streaming's People

Contributors

felixb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.