AMX MAX-CSE manual MAX-CSD10:Streaming Commands Port, MAX-CSD10Streaming Send_Commands

Models: MAX-CSD10 MAX-CSE

1 116
Download 116 pages 15.94 Kb
Page 94
Image 94
MAX-CSD10: Streaming Commands (Port 1)

NetLinx Programming

MAX-CSD10: Streaming Commands (Port 1)

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.

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.

MAX-CSD10 Streaming Send_Commands

Command

Description

 

 

GET AUDIO

Requests the configuration of the current audio system. The returned informa-

Get a description of the

tion includes: codec and stream bit rate.

 

current audio system

Syntax:

configuration.

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

Requests the configuration of how the decoder finds a stream.

Gets the control mode of the

Syntax:

stream.

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.

 

 

88

MAX-CSE/MAX-CSD10 Operation/Reference Guide

Page 94
Image 94
AMX MAX-CSE manual MAX-CSD10:Streaming Commands Port, MAX-CSD10Streaming Send_Commands