Actions

Difference between revisions of "Stream audio from 3rd party"

From Zenitel Wiki

 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This article describes how to stream audio from a 3rd party source to the AlphaCom or ICX using an IP Dummy:
+
{{AI}}
 +
This article describes how to stream audio from a 3rd party source to the AlphaCom or ICX using an [[IP Dummy Station]]:
  
* Install Ffmpeg on PC: http://adaptivesamples.com/how-to-install-ffmpeg-on-windows/
+
* Download and install Ffmpeg on PC: https://www.ffmpeg.org/download.html
 
* From AlphaPro, create an IP Dummy, e.g. 165, and set codec = G722.
 
* From AlphaPro, create an IP Dummy, e.g. 165, and set codec = G722.
[[File:IPDummy.png|thumb|left|IP Dummy]]
+
[[File:IPDummy.png|thumb|left|700px|IP Dummy]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
 
* In AlphaWeb - Filters, open an UDP port for incoming audio, e.g.  4322.
 
* In AlphaWeb - Filters, open an UDP port for incoming audio, e.g.  4322.
[[File:PCStream.png|thumb|left|Filter settings]]
+
[[File:PCStream.png|thumb|left|700px|Filter settings]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
* Trigger the action command: $VAC L165 U8 '10.5.101.133' W1234 W4322
+
* Trigger the action command:  
[[File:PCStream2.png|thumb|left|Event Handler]]
+
[[File:PCStream2.png|thumb|left|700px|Event Handler]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
* From Windows command line, enter:
+
{{Code2|
 +
$VAC L165 U8 '10.5.101.133' W1234 W4322
 +
}}
  
ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322
+
* 165 = '''the Dummy'''
 +
* U8 = '''G.722'''
 +
* 10.5.101.133 = '''IP Address of PC'''
 +
* 4322 = '''UDP port for audio'''
 +
 
 +
From Windows command line, enter:
 +
 
 +
{{Code|ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322}}
 
   
 
   
* 165 = the Dummy
+
* "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source  
* U8 = G.722
+
* 10.5.101.30 = '''IP Address of the AlphaCom'''
* 10.5.101.133 = IP Address of PC
 
* 4322 = UDP port for audio
 
* "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source 10.5.101.30 = IP Address of the AlphaCom
 
  
[[Category:Applications]]
+
[[Category:AlphaCom Applications]]
 +
[[Category:ICX-AlphaCom Applications]]

Latest revision as of 15:06, 19 September 2024

AI.png

This article describes how to stream audio from a 3rd party source to the AlphaCom or ICX using an IP Dummy Station:

IP Dummy


  • In AlphaWeb - Filters, open an UDP port for incoming audio, e.g. 4322.
Filter settings


  • Trigger the action command:
Event Handler


Action commands:

$VAC L165 U8 '10.5.101.133' W1234 W4322


  • 165 = the Dummy
  • U8 = G.722
  • 10.5.101.133 = IP Address of PC
  • 4322 = UDP port for audio

From Windows command line, enter:

ffmpeg.exe -re -i "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" -ac 1 -acodec g722 -ar 16000 -f rtp rtp://10.5.101.30:4322


  • "C:\Programmer\ffmpeg\media\06 Paradise by the Dashboard Light.mp3" = audio source
  • 10.5.101.30 = IP Address of the AlphaCom