Product specifications
NetLinx Programming
88
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSD10: Streaming Commands (Port 1)
The streaming system on the MAX-CSD10 is located at Port 1 in NetLinx D:P:S nomenclature. The
MAX-CSD10 supports the following streaming commands.
For programming purposes, do not use a hyphen when specifying MPEG
functionality. Use MPEG2 and MPEG4 (no dash), do not use MPEG-2 or MPEG-4.
In order for the SET commands (Set Video, Set URL, etc.) to take effect, any active
stream must first be halted using the STOP command. Once these commands are
executed, you can then the PLAY command to restart the stream.
The only exception to this procedure is the SET AUDIO, which while during a stream
can on the fly be toggled between Microphone and Line.
MAX-CSD10 Streaming Send_Commands
Command Description
GET AUDIO
Get a description of the
current audio system
configuration.
Requests the configuration of the current audio system. The returned informa-
tion includes: codec and stream bit rate.
Syntax:
SEND_COMMAND <DEV>,"'GET AUDIO'"
Variables:
codec = AAC or MP3.
stream bit rate = current input bits per second.
Example:
SEND_COMMAND DECODER,"'GET AUDIO'"
System response:
AUDIO=AAC 206960
Indicates the system is configured for to decode an MPEG2 AAC audio stream,
and is currently receiving the stream at 206960 bits per second.
GET CONTROL MODE
Gets the control mode of the
stream.
Requests the configuration of how the decoder finds a stream.
Syntax:
SEND_COMMAND <DEV>,"'GET CONTROL MODE'"
Variables:
mode = MANUAL, RTSP, or SAP
Example:
SEND_COMMAND DECODER,"'GET CONTROL MODE'"
System response for MANUAL:
CONTROL MODE=MANUAL
Indicates that the stream source is manually configured in MAX-CSD10 using
the SET URL command.
System response for SAP:
CONTROL MODE=SAP
Indicates that the MAX-CSD10 listens for SAP/SDP advertisements on the net-
work for finding available streams.
System response for RTSP:
CONTROL MODE=RTSP
Indicates that the MAX-CSD10 is configured with a list of RTSP addresses for
each stream using the SET RTSP SERVER command.