Product specifications
NetLinx Programming
92
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSD10 Streaming Send_Commands (Cont.)
Command Description
GET VIDEO
Get a description of the
current video codec configu-
ration.
Requests the current configuration of the video system. The returned
information includes: codec, resolution and stream bit rate.
Syntax:
SEND_COMMAND <DEV>,"'GET VIDEO'"
Variables:
codec = MPEG2 or MPEG4.
resolution = D1, or SIF, or <width>X<height> (up to a D1 resolution).
stream bit rate = current input bits per second.
Example:
SEND_COMMAND DECODER,"'GET VIDEO'"
System response:
VIDEO=MPEG2 D1 3111160
Indicates that the video codec is configured to use an MPEG-2 stream, with a
D1 resolution and is currently receiving the stream at 3111160 bits per second.
PLAY
Start playing the content of
the audio and video stream.
Starts the playback of the audio and video based on current configuration.
The playback can also be started via the browser-based UI pages.
Syntax:
SEND_COMMAND <DEV>,"'PLAY'"
Example:
SEND_COMMAND DECODER,"'PLAY'"
SET AUDIO
Set the configuration
parameters for the audio
system.
Configure the audio codec.
Note: Setting the audio configuration during the 'play' state has undefined
results.
Syntax:
SEND_COMMAND <DEV>,"'SET AUDIO <codec>'"
Variables:
codec = AAC, or MP3.
Example:
SEND_COMMAND DECODER,"'SET AUDIO AAC'"
Sets the audio configuration to use an MPEG2 AAC audio codec.
SET CONTROL MODE
Set the stream control mode
method.
Configures the method of how the decoder finds a stream.
Syntax:
SEND_COMMAND <DEV>,"'SET CONTROL MODE <method>'"
Variables:
method = MANUAL, RTSP, or SAP
Example:
SEND_COMMAND DECODER,"'SET CONTROL MODE SAP'"
Instructs the MAX-CSD10 to listen to SAP advertisements for obtaining stream
information.
SET FORMAT
Set the video format of the
outgoing video signal.
Syntax:
SEND_COMMAND <DEV>,"'SET FORMAT <format>'"
Variable:
format = NTSC or PAL.
Example:
SEND_COMMAND DECODER,"'SET FORMAT NTSC'"
Instructs the MAX-CSD10 to use NTSC video format for the outgoing video
signal.