Streaming sound in OpenSim

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Intruduction: Intruduction -> Introduction)
m (Streaming servers: aroud -> around)
 
Line 116: Line 116:
 
You need to configure your broacaster to talk to your streaming server input (host + port), then declare the output of the streaming server into About Land > Sound > Music URL.
 
You need to configure your broacaster to talk to your streaming server input (host + port), then declare the output of the streaming server into About Land > Sound > Music URL.
  
Streaming audio incurs a latency of aroud 30 seconds. Internet radio and DJs have to deal with in live event.
+
Streaming audio incurs a latency of around 30 seconds. Internet radio and DJs have to deal with in live event.
  
  

Latest revision as of 09:42, 29 May 2023

Contents

[edit] Introduction

To stream music and sounds to OpenSimulator, you need two software components :

  • A broadcaster : It takes a sound source and sends it to the streaming server.
  • A streaming server : It accepts sounds from your broadcaster and delivers it to the audience.

Additionally, you may need :

  • A mixer.
  • A virtual audio devices to route audio between applications.

[edit] Broadcasters

[edit] Butt (Broadcast Using This Tool)

The simplest broadcaster. It takes sound from an audio device and sends it to the streaming server. Using a virtual sound device, you can stream from any audio application.

Category : opensource

Platform : PC, Mac

Link : https://danielnoethen.de/butt/


[edit] Mixxx

Geared to DJ's. As name implies, mixes music then broadcast to server.

Category : free

Platform : PC, Mac

Link : https://mixxx.org/


[edit] Virtual DJ

Popular DJ software.

Category : commercial

Platform : PC, Mac

Link : https://www.virtualdj.com/


[edit] OBS (Open Broadcaster Software)

Although a video streamer, you can also use it to broadcast sound.

Category : opensource

Platform : PC, Mac, Linux

Link : https://obsproject.com/


[edit] Mixers

[edit] Voicemeeter

Audio mixer. Combine with Butt and your preferred music player to do live streams. Insert audio conferencing feeds (Skype, Zoom, Discord), even other PCs and even smartphones over the LAN to build a full-fledged radio studio.

Category : donationware

Platform : PC

Link : https://vb-audio.com/Voicemeeter/


[edit] Virtual audio devices

Also known as 'virtual audio cables', they connect two audio applications. Application A is configured to output sound on the virtual driver. Application B to input sound from the same driver. Instantiate a driver for each 'cable' (e.g. music player to mixer, mixer to broadcaster). To use a virtual audio driver, application MUST be able to select input/output devices.


[edit] VB-CABLE

Category : donationware

Platform : PC

Link : https://vb-audio.com/Cable/index.htm


[edit] SoundFlower

Barebone audio driver. One 2-channel device and one 64-channel device. You may have some difficulty finding the version that matches your OS version (code signing, etc)

Category : open-source

Platform : Mac

Link : https://github.com/mattingalls/Soundflower


[edit] Loopback

Unlimited number of devices and channels. Highly flexible and easy to configure.

Category : commercial

Platform : Mac

Link : https://rogueamoeba.com/loopback/


[edit] Streaming servers

As your broadcaster sits on your personal computer, the streaming server is better hosted on a server on the internet. Setting up a streaming server is a demanding task, involving dealing with configuration files and understanding the intricacies of streaming. As an alternative, you can subscribe to a free or paying streaming service.

You need to configure your broacaster to talk to your streaming server input (host + port), then declare the output of the streaming server into About Land > Sound > Music URL.

Streaming audio incurs a latency of around 30 seconds. Internet radio and DJs have to deal with in live event.


[edit] Icecast

Icecast is readily available in most Linux distributions. (apt install icecast2)

Category : open-source

Platform : PC, Mac, Linux

Link : https://icecast.org/


[edit] Soutcast

Popular streaming server. Mostly commercial but a free version exists. You have to carefully assemble the parts.

Software :

Documentation

[edit] See also

Streaming_Media_in_OpenSim

General
About This Wiki