Author: Site Editor Publish Time: 2024-06-17 Origin: Site
SINREY's SIP network audio equipment supports multiple network protocols and audio codec protocols. It can receive audio streams from the network and output high-quality audio signals through the line after module decoding. Currently, it supports the following audio formats: MP3, WAV (PCM +IMA ADPCM), G.711, G.722, etc. It can play audio streams with a maximum sampling rate of 48k and 320kps. Users can download the corresponding software development version package from the SINREY website to realize functions such as real-time paging, timed broadcasting, background music and emergency broadcasting.
This article will use RTP multicast software to realize the playback function of the device.
Preliminary preparation:
RTP multicast software developed by our company---- RtpSend , Manager configuration software , SIP network audio equipment
Steps:
1、 Connect the SIP network audio device and the PC with Manager software and RtpSend software installed to the same LAN, and start the PC and our SIP network audio device.
2、 Run the Manager software, execute the shortcut menu "Refresh", search for network devices in the same subnet in the LAN, and display the searched network devices in the main window.
3、 Double-click to enter the device properties interface, click " Base Parameter ", and set the device's IP address, gateway, subnet mask, and DNS server.
4、 Click "Monitor ip address " , then click the icon ...
5、 In the pop-up interface, fill in the IP multicast address: 224.5.6.20, port number 10008, as shown in the figure. Fill in the partition number and partition name as you like. Then click " Add " and finally click " OK ".
After adding, as shown in the figure, the SIP device will decode and play the audio stream when it receives the multicast audio stream with 224.5.6.20:10008 as the target.
6、 In the RTPPlayDemo_src\Release directory, run RtpSend.exe.
7、 Fill in the multicast IP 224.5.6.20 in Destination and 10008 in Port Number, import the wav audio file in File, select G711U in Protocol, and click Start to play.
Note: The audio file imported by File is a 16-bit, mono, PCM-encoded wav format file.
8、 The RtpSend software will send the multicast audio stream to 224.5.6.20:10008 , and when the SIP network audio device receives the multicast audio stream with 224.5.6.20:10008 as the target, it will decode the audio stream and play it out .