Difference between revisions of "Instreamer-Exstreamer How To"

(New page: == '''How to configure a Instreamer-Exstreamer audio connection within the same LAN''' == There are different ways to send analog (line-in) or digital (S/PDIF) audio from a Barix Instream...)
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== '''How to configure a Instreamer-Exstreamer audio connection within the same LAN''' ==
== '''How to configure a Instreamer-Exstreamer audio connection within the same LAN''' ==


There are different ways to send analog (line-in) or digital (S/PDIF) audio from a Barix Instreamer over the network to the Barix Exstreamer where your speakers could be connected.
There are different ways to send analog (line-in) audio from a Barix Instreamer over the network to the Barix Exstreamer where your speakers could be connected.


Additionally to the modes mentioned below, you can send audio from the Instreamer or the Annuncicom to the Exstreamer´s “Priority Ports”, this works in all Exstreamer modes.
Additionally to the modes mentioned below, you can send audio from the Instreamer or the Annuncicom to the Exstreamer´s “Priority Ports”, this works in all Exstreamer modes.


Chapter 1 & 2 show the configuration with the '''Standard firmware''' for the Exstreamer, in
Below are shown configuration examples with the '''Streaming Client firmware''' and the '''Standard firmware''' for the Exstreamer. It´s recommended to use the Exstreamer Streaming Client firmware!
chapter 3 are examples for the Exstreamer '''Streaming Client firmware''' (available on www.barix.com).
 
First you always should assign fix IP addresses to each unit. DHCP is also possible but a fix IP has some advantages.  
First you always should assign fix IP addresses to each unit. DHCP is also possible but a fix IP has some advantages.  


Line 20: Line 18:


The start delay is approx. 3,75 seconds plus network delay, which is almost nothing in a local LAN .
The start delay is approx. 3,75 seconds plus network delay, which is almost nothing in a local LAN .
In our test lab we have reached by using MP3 a lowest possible delay of 175 ms, lower delays are possible by using PCM or G.711 .
In our test lab we have reached by using MP3 a lowest possible delay of 175 ms, lower delays (below 100 ms) are possible by using PCM or G.711 .
A delay of 200 – 250 ms by using MP3 should run in the most stable LANs.
A delay of 200 – 250 ms by using MP3 should run in the most stable LANs.


'''Using the Exstreamer Streaming Client firmware'''


This firmware is a special firmware which can run on all Exstreamer platforms.
It´s a dedicated streaming application with enhanced monitoring features and stream backup feature !
This firmware is downloadable from www.barix.com (under downloads) .




== '''1: HTTP Pulling''' ==
'''RTP:'''<br>


Instreamer:<br>
Audio / “Bit Reservoir Mode” = kept empty <br>
Streaming / “Stream to”  = RTP : (Exstreamer´s IP): 4444<br>


The Instreamer supports up to 6 http connections at the same time.  
This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !
For this you need the following configuration:


'''Instreamer:'''
Exstreamer Streaming Client:<br>
Streaming / “Radio Path” = /xstream
1. URL  :   = rtp://0.0.0.0:4444<br>
Streaming / “Stream to”  = Internet Radio : 0.0.0.0 : 80


Both are default values. The default Port 0 together with “Internet Radio” in the
“Stream to” line would mean also port 80.


'''Exstreamer:'''
'''BRTP:'''<br>
Streaming / “Mode” = 3 Streaming Puller
Streaming / “Server IP address” = (IP of the Instreamer)
Streaming / “Server Port” = 80
Streaming / “Server Path” = /xstream


Instreamer: (needs min. Firmware 2.06 !)<br>
Audio / “Bit Reservoir Mode” = kept empty <br>
Streaming / “Stream to”  = BRTP : 0.0.0.0: 5555<br>


Note, this is only on the first “Stream to” entry available, not on the entries 2-8 !!!
This opens a BRTP listen port where multiple Exstreamers can pull a stream from !


== '''2: Receiving''' ==
Exstreamer Streaming Client:<br>
1. URL  :   = brtp://Instreamer-IP:5555<br>




For this mode you can use RAW UDP , RAW TCP or RTP.
'''HTTP:'''<br>
Our favorite mode is RTP streaming (more details in our RTP guide) !! RTP is UDP based which is the best for realtime streaming with lowest latency. RAW TCP is limited to max 8 connections.
Instreamer:<br>
With UDP / RTP you can send the stream to max.8 Exstreamers directly or also as broadcast or to a multicast address to all Exstreamers in your network (could be 100 or more).  
Streaming / “Radio Path” = /xstream <br>
Using broadcast or multicast addresses causes also a syncron playback on all Exstreamers if the same Buffer (UDP – Start Threshold) size is used.
Streaming / “Stream to”  = Internet Radio : 0.0.0.0 : 80<br>


Both are default values. The default Port 0 together with “Internet Radio” in the “Stream to” line would mean also port 80.


'''RTP:'''
Exstreamer Streaming Client:<br>
1. URL   = http://Instreamer-IP/xstream<br>


Instreamer: (needs minimum Firmware 2.02)
If you have changed the port number on the Instreamer´s “Stream to” entry to anything else than 0 or 80 (e.g to 3333) then you have to use the following URL line :  http://Instreamer-IP:3333/xstream
Audio / “Bit Reservoir Mode” = kept empty
Streaming / “Stream to”  = RTP : (Exstreamer´s IP): 4444


This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !


Exstreamer:
'''Exstreamer standard firmware'''
Streaming / “Mode”   = 4 Streaming Receiver
Streaming / “RTP Receive Port”  = 4444


With this Exstreamer firmware you can use RAW UDP , RAW TCP, HTTP or RTP.
Our favorite mode is RTP streaming (more details in our RTP guide) !! RTP is UDP based which is the best for realtime streaming with lowest latency. RAW TCP is limited to max 8 connections, with HTTP the Instreamer allos maximum 6 connections at the same time.
With UDP / RTP you can send the stream to max.8 Exstreamers directly or also as broadcast or to a multicast address to all Exstreamers in your network (could be 100 or more).
Using broadcast or multicast addresses causes also a syncron playback on all Exstreamers if the same Buffer (UDP – Start Threshold) size is used.<br>
'''NOTE''', the Exstreamer standard firmware is obsolete, we recommend to use the Exstreamer Streaming Client firmware or the ABCL STL firmware !




'''RAW TCP:'''
'''RTP:'''<br>
Instreamer: (needs minimum Firmware 2.02)<br>
Audio / “Bit Reservoir Mode” = kept empty <br>
Streaming / “Stream to”  = RTP : (Exstreamer´s IP): 4444<br>


Instreamer :
This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !
Streaming / “Stream to”  = RAW TCP  :  (Exstreamer´s IP) : 2020


Exstreamer:
Exstreamer:<br>
Streaming / “Mode” = 4 Streaming Receiver
Streaming / “Mode”   = 4 Streaming Receiver<br>
Streaming / “TCP  Streaming Listen Port” = 2020
Streaming / “RTP Receive Port”   = 4444<br>


The Instreamer could send the RAW TCP stream also to the Exstreamer`s “TCP Priority Streaming Listen Port”.


'''Note, don`t use two times the same port number one the same Exstreamer !'''
'''RAW TCP:'''<br>


Instreamer :<br>
Streaming / “Stream to”  = RAW TCP  :  (Exstreamer´s IP) : 2020<br>


'''RAW UDP:'''
Exstreamer:<br>
Streaming / “Mode” = 4 Streaming Receiver<br>
Streaming / “TCP  Streaming Listen Port” = 2020<br>


Instreamer :
The Instreamer could send the RAW TCP stream also to the Exstreamer`s “TCP Priority Streaming Listen Port”.
Streaming / “Stream to”  = RAW UDP  : (Exstreamer´s IP) : 3030


Exstreamer:
'''Note, don`t use two times the same port number one the same Exstreamer !'''
Streaming / “Mode” = 4 Streaming Receiver
Streaming / “UDP  Streaming Listen Port” = 3030


The Instreamer could send the RAW UDP stream also to the Exstreamer`s “UDP Priority Streaming Listen Port”.  Note, don`t use two times the same port number one the same Exstreamer !


'''RAW UDP:'''<br>


Instreamer :<br>
Streaming / “Stream to”  = RAW UDP  : (Exstreamer´s IP) : 3030<br>


Exstreamer:<br>
Streaming / “Mode” = 4 Streaming Receiver<br>
Streaming / “UDP  Streaming Listen Port” = 3030<br>


'''3: Using the Exstreamer Streaming Client firmware'''
The Instreamer could send the RAW UDP stream also to the Exstreamer`s “UDP Priority Streaming Listen Port”.  Note, don`t use two times the same port number one the same Exstreamer !


This firmware is a special firmware which can run on all Exstreamer platforms.
It´s a dedicated streaming application with enhanced monitoring features and stream backup feature !
This firmware is downloadable from www.barix.com (under downloads) .


'''HTTP Pulling'''


'''RTP:'''
'''Instreamer:'''<br>
Streaming / “Radio Path” = /xstream <br>
Streaming / “Stream to”  = Internet Radio : 0.0.0.0 : 80<br>


Instreamer:
Both are default values. The default Port 0 together with “Internet Radio” in the
Audio / “Bit Reservoir Mode” = kept empty
“Stream to” line would mean also port 80.
Streaming / “Stream to”  = RTP : (Exstreamer´s IP): 4444
 
This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !
 
Exstreamer Streaming Client:
1. URL  :   = rtp://0.0.0.0:4444
 
 
 
'''BRTP:'''
 
Instreamer: (needs min. Firmware 2.06 !)
Audio / “Bit Reservoir Mode” = kept empty
Streaming / “Stream to”   = BRTP : 0.0.0.0: 5555
 
Note, this is only on the first “Stream to” entry available, not on the entries 2-8 !!!
This opens a BRTP listen port where multiple Exstreamers can pull a stream from !
 
Exstreamer Streaming Client:
1. URL  :   = brtp://Instreamer-IP:5555


'''Exstreamer:'''<br>
(with Streaming Client firmware)<br>
Streaming / “URL x” = http://"ip address of the Instreamer"/xstream<br>


(with Standard firmware)<br>
Streaming / “Mode” = 3 Streaming Puller<br>
Streaming / “Server IP address” = (IP of the Instreamer)<br>
Streaming / “Server Port” = 80<br>
Streaming / “Server Path” = /xstream<br>


'''HTTP:'''


Instreamer:
Streaming / “Radio Path” = /xstream
Streaming / “Stream to”  = Internet Radio : 0.0.0.0 : 80


Both are default values. The default Port 0 together with “Internet Radio” in the “Stream to” line would mean also port 80.
Back to [[FAQ]]
 
Exstreamer:
Exstreamer Streaming Client:
1. URL   = http://Instreamer-IP/xstream
 
If you have changed the port number on the Instreamer´s “Stream to” entry to anything else than 0 or 80 (e.g to 3333) then you have to use the following URL line :  http://Instreamer-IP:3333/xstream

Latest revision as of 17:18, 10 April 2013

How to configure a Instreamer-Exstreamer audio connection within the same LAN

There are different ways to send analog (line-in) audio from a Barix Instreamer over the network to the Barix Exstreamer where your speakers could be connected.

Additionally to the modes mentioned below, you can send audio from the Instreamer or the Annuncicom to the Exstreamer´s “Priority Ports”, this works in all Exstreamer modes.

Below are shown configuration examples with the Streaming Client firmware and the Standard firmware for the Exstreamer. It´s recommended to use the Exstreamer Streaming Client firmware! First you always should assign fix IP addresses to each unit. DHCP is also possible but a fix IP has some advantages.


Delay / Latency

In the Exstreamer web setup on parameter “Start Threshold” (under Streaming) you can adjust the delay. The delay can be from below 200 ms up to serveral seconds, depending from the used audio bandwidth (Codec, frequency/quality) in the Instreamer and the audio buffer (Start Threshold) in the Exstreamer. A higher audio bandwidth fills the buffer faster and causes a lower delay.

Calculation example with a 128 kbit stream and a default buffer of 60000 byte:

128000 / 8 = 16000 bytes /s 60000 / 16000 = 3,75 s

The start delay is approx. 3,75 seconds plus network delay, which is almost nothing in a local LAN . In our test lab we have reached by using MP3 a lowest possible delay of 175 ms, lower delays (below 100 ms) are possible by using PCM or G.711 . A delay of 200 – 250 ms by using MP3 should run in the most stable LANs.

Using the Exstreamer Streaming Client firmware

This firmware is a special firmware which can run on all Exstreamer platforms. It´s a dedicated streaming application with enhanced monitoring features and stream backup feature ! This firmware is downloadable from www.barix.com (under downloads) .


RTP:

Instreamer:
Audio / “Bit Reservoir Mode” = kept empty
Streaming / “Stream to” = RTP : (Exstreamer´s IP): 4444

This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !

Exstreamer Streaming Client:
1. URL  : = rtp://0.0.0.0:4444


BRTP:

Instreamer: (needs min. Firmware 2.06 !)
Audio / “Bit Reservoir Mode” = kept empty
Streaming / “Stream to” = BRTP : 0.0.0.0: 5555

Note, this is only on the first “Stream to” entry available, not on the entries 2-8 !!! This opens a BRTP listen port where multiple Exstreamers can pull a stream from !

Exstreamer Streaming Client:
1. URL  : = brtp://Instreamer-IP:5555


HTTP:
Instreamer:
Streaming / “Radio Path” = /xstream
Streaming / “Stream to” = Internet Radio : 0.0.0.0 : 80

Both are default values. The default Port 0 together with “Internet Radio” in the “Stream to” line would mean also port 80.

Exstreamer Streaming Client:
1. URL = http://Instreamer-IP/xstream

If you have changed the port number on the Instreamer´s “Stream to” entry to anything else than 0 or 80 (e.g to 3333) then you have to use the following URL line : http://Instreamer-IP:3333/xstream


Exstreamer standard firmware

With this Exstreamer firmware you can use RAW UDP , RAW TCP, HTTP or RTP. Our favorite mode is RTP streaming (more details in our RTP guide) !! RTP is UDP based which is the best for realtime streaming with lowest latency. RAW TCP is limited to max 8 connections, with HTTP the Instreamer allos maximum 6 connections at the same time. With UDP / RTP you can send the stream to max.8 Exstreamers directly or also as broadcast or to a multicast address to all Exstreamers in your network (could be 100 or more). Using broadcast or multicast addresses causes also a syncron playback on all Exstreamers if the same Buffer (UDP – Start Threshold) size is used.
NOTE, the Exstreamer standard firmware is obsolete, we recommend to use the Exstreamer Streaming Client firmware or the ABCL STL firmware !


RTP:
Instreamer: (needs minimum Firmware 2.02)
Audio / “Bit Reservoir Mode” = kept empty
Streaming / “Stream to” = RTP : (Exstreamer´s IP): 4444

This works also with a Broadcast (e.g. 192.168.1.255) or a Multicast (e.g. 224.0.0.1) IP address !

Exstreamer:
Streaming / “Mode” = 4 Streaming Receiver
Streaming / “RTP Receive Port” = 4444


RAW TCP:

Instreamer :
Streaming / “Stream to” = RAW TCP  : (Exstreamer´s IP) : 2020

Exstreamer:
Streaming / “Mode” = 4 Streaming Receiver
Streaming / “TCP Streaming Listen Port” = 2020

The Instreamer could send the RAW TCP stream also to the Exstreamer`s “TCP Priority Streaming Listen Port”.

Note, don`t use two times the same port number one the same Exstreamer !


RAW UDP:

Instreamer :
Streaming / “Stream to” = RAW UDP  : (Exstreamer´s IP) : 3030

Exstreamer:
Streaming / “Mode” = 4 Streaming Receiver
Streaming / “UDP Streaming Listen Port” = 3030

The Instreamer could send the RAW UDP stream also to the Exstreamer`s “UDP Priority Streaming Listen Port”. Note, don`t use two times the same port number one the same Exstreamer !


HTTP Pulling

Instreamer:
Streaming / “Radio Path” = /xstream
Streaming / “Stream to” = Internet Radio : 0.0.0.0 : 80

Both are default values. The default Port 0 together with “Internet Radio” in the “Stream to” line would mean also port 80.

Exstreamer:
(with Streaming Client firmware)
Streaming / “URL x” = http://"ip address of the Instreamer"/xstream

(with Standard firmware)
Streaming / “Mode” = 3 Streaming Puller
Streaming / “Server IP address” = (IP of the Instreamer)
Streaming / “Server Port” = 80
Streaming / “Server Path” = /xstream


Back to FAQ