AMX MAX-CSD 10 Stereo Receiver User Manual


 
NetLinx Programming
86
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSD Streaming Send_Commands (Cont.)
Command Description
GET URL
Get a description of the
URL parameters being used
by the current audio/video
stream.
Requests the current configuration of the URL communication parameters. The
returned information includes: communication protocol, IP Address, and port
used.
Syntax:
SEND_COMMAND <DEV>,'GET URL'
Example:
SEND_COMMAND DECODER,'GET URL'
System response:
URL = UDP 224.0.0.1 5000
URL = RTP 224.0.0.1 5000 5002
GET VIDEO
Get a description of the
current video codec
configuration.
Requests the current configuration of the video system. The returned
information includes: codec, resolution, bit rate, and mode.
Syntax:
SEND_COMMAND <DEV>,"'GET VIDEO'"
Variables:
codec = Off, MPEG2, or MPEG4.
resolution = D1, or SIF, or <width>X<height> (up to a D1 resolution).
bit rate = Returned in Kbps (kilobits per second).
mode = CBR (constant Bit rate) or VBR (variable Bit rate).
Example:
SEND_COMMAND DECODER,"'GET VIDEO'"
System response:
VIDEO = MPEG-2 D1 4000
VIDEO = NONE
Indicates that the video codec is configured to use an MPEG-2 stream, with a
D1 resolution at 4000 Kbps.
PLAY
Starts reception of audio and/
or video.
Starts receiving of audio and/or video based on current configuration.
If system is in manual mode then this command will use parameters that are
set manually.
If system is in SAP mode or RTSP mode then this command will use parame-
ters referenced by the session cursor.
Syntax:
SEND_COMMAND <DEV>,'PLAY'
Example:
SEND_COMMAND DECODER, 'PLAY'
SET AUDIO
Set the configuration
parameters for the audio
system.
The configuration parameters include: codec, sampling rate, and bit rate.
Note: Setting the audio configuration during the 'play' state has undefined
results.
Syntax:
SEND_COMMAND <DEV>,'SET AUDIO <Codec>'
Variable:
Codec =MP3 or AAC
Example:
SEND_COMMAND DECODER,'SET AUDIO MP3'
Sets the audio configuration to MP3. The MP3 decoder also will decode MP2.