Dynamic Channel from a Media Stream
In a dynamic channel there is one part for the terminal and one part for the media server. Note that the file must be in .wav mono format. For the cross coding capabilities see documentation for MX-ONE Media Server.
Set up a channel dynamic_2 to send data from server at IP-address: 192.168.26.60/32.
Receive data from the stream: "http://134.25.4.151/p3-ogg-64"
Use port 60000 + random number (from 1 to 500)
- Setup uri to terminal. Note that since this is used by multiple terminals we use 0's instead of IP-address.
streaming_data -i --channel dynamic_2 --description "KSMC Radio" --execution-uri "RTPRx:0.0.0.0:60000” --port-limit 500
- Setup uri from where the media server is retrieving data:
streaming_data -c --channel dynamic_2 --media-server-input-uri "http://134.25.4.151/p3-ogg-64"
- Setup where the output is sent from. The port must match the port in the execution-uri:.
streaming_data -c --channel dynamic_2 --media-server-address 192.168.26.60/32
- Setup volume and synchronous mode. Since this file shall be played from beginning to end, it shall be played synchronously.
streaming_data -c --channel dynamic_2 --volume -6 --synchronous false
If we now look the channel we have the following parameter settings:
Streaming channel = dynamic_2
Description: KSMC Radio
Execution URI: RTPRx:0.0.0.0:60000
Server Input URI: http://134.25.4.151/p3-ogg-64
Server Address: 192.168.26.60/32
Codec: G.711 mu-law
Packet Size: 20ms
Port limit: 500
Volume: -6 dB
Synchronous: true