Product specifications

NetLinx Programming
94
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSD10 Streaming Send_Commands (Cont.)
Command Description
SET URL
Set the URL parameters for
the current audio/video
stream, when in manual
control mode.
The communication parameters must include: communication protocol, IP
Address, and port used.
Syntax:
SEND_COMMAND <DEV>,"'SET URL <protocol> <addr><port>
[<audio port>]'"
Variables:
protocol = RTP or UDP.
address = Address of stream in IPv4 dot notation (ex: X.X.X.X).
port = Primary port for audio/video transport.
audio port = Port for audio stream (RTP only).
Example:
SEND_COMMAND DECODER,"'SET URL UDP 239.168.42.10 5000'"
Sets the URL to a multicast session (UDP) where it will use port 5000 at an IP
Address of 239.168.42.10. Since the protocol is UDP, a second audio port is
not needed.
Example 2:
SEND_COMMAND DECODER,"'SET URL RTP 239.168.42.10 5000
5002'"
Sets the URL to an IP Address of 239.168.42.10. Since the protocol is RTP,
two ports are needed; port 5000 is used for the video stream and port 5002 is
used for the audio stream.
SET VIDEO
Set the configuration
parameters for the video
codec.
The configuration parameters include: codec and resolution.
Note: Setting the video configuration during 'play' state has undefined results.
Syntax:
SEND_COMMAND <DEV>,"'SET VIDEO <codec> <res>'"
Variables:
codec = MPEG2, or MPEG4.
res = D1, or SIF, or <width>X<height> (up to a D1 resolution).
Example:
SEND_COMMAND DECODER,"'SET VIDEO MPEG2 D1'"
Sets the video configuration to use a very high quality video stream set at
MPEG2, with a D1 resolution at constant bit rate of 6000 Kbps.
START RTSP SERVER
Select an RTSP session.
Sets the current RTSP server session.
Syntax:
SEND_COMMAND <DEV>,"'START RTSP SERVER <position>'"
Variable:
position = numeric index (1-10)
Example:
SEND_COMMAND DECODER,"'START RTSP SERVER 2'"
Sets the RTSP server to the server described in position 2 of the RTSP server
list.
STOP
Stop the playback of both the
audio and video stream.
A stream can also be halted via the browser-based UI pages.
Syntax:
SEND_COMMAND <DEV>,"'STOP'"
Example:
SEND_COMMAND DECODER,"'STOP'"