AMX MAX-CSE User Manual

Page 93

Advertising
background image

NetLinx Programming

87

MAX-CSE/MAX-CSD10 Operation/Reference Guide

MAX-CSD Streaming Send_Commands (Cont.)

Command

Description

SET CONTROL MODE
Set the control mode of the
stream.

'MANUAL' mode lets the user to specify all parameters such as video decoder,
audio decoder, transport type, and video and audio ports.
'SAP' mode allows the user to select a stream based on a SAP list. Streaming
will begin when the user chooses the stream from the SAP list and then send
the PLAY command
'RTSP' mode allows the user to specify the URL to a RTSP server. Streaming
will begin when the user enters the URL and then sends the PLAY command.
Syntax:

SEND_COMMAND <DEV>,'SET CONTROL MODE <Mode>'

Variable:

Mode = MANUAL or SAP or RTSP

Example:

SEND_COMMAND DECODER, 'SET CONTROL MODE SAP'

SET FORMAT
Set the video format of the
incoming video stream.

Syntax:

SEND_COMMAND <DEV>,'SET FORMAT <Format>'

Variable:

Format = NTSC or PAL

Example:

SEND_COMMAND DECODER,'SET FORMAT PAL'

Tells the decoder to expect PAL video format.

SET RTSP SERVER
Sets an RTSP Server entry
into a list.

The list is limited to a total of 10 entries.
Syntax:

SEND_COMMAND <DEV>, 'SET RTSP SERVER <num> <url> <ipaddr>

<port>'

Variables:

num = 1 to 10 entries that the user may use
url = universal resource locator specifying the RTSP Server
ipaddr = ip address of RTSP Server. This value will be used if DNS is not
available. Otherwise DNS will be used with www.foo.com as the example
specifies.
port = ip port of the RTSP server. Set to 0 to contact RTSP server with the
'default' port (RTSP default port is 554).

Example:

SEND_COMMAND DECODER, 'SET RTSP SERVER 1 rtsp://

www.foo.com/myvideo.sdp 10.0.0.101 0'

SET SAP IP MODE
Sets the SAP Listener ip
address mode.

'DEFAULT' mode tells SAP Listener to use the well known multicast
address:port of 224.2.127.254:9875
'ALT' modes tells the SAP Listener to use the alternative multicast
address:port. The alternative multicast address:port is configured via another
NetLinx command (see SET SAP IP ALT below).
Syntax:

SEND_COMMAND <DEV>, 'SET SAP IP MODE <Mode>'

Variable:

Mode=DEFAULT or ALT

Example:

SEND_COMMAND DECODER, 'SET SAP IP MODE ALT'

Advertising
This manual is related to the following products: