AMX MAX-CSE User Manual

Page 86

Advertising
background image

NetLinx Programming

80

MAX-CSE/MAX-CSD10 Operation/Reference Guide

MAX-CSE Streaming Send_Commands (Cont.)

Command

Description

GET VSOURCE
Get a description of the
source type used by the
current video stream.

Requests the a description of the current video source type. This video type
indicates which rear connector is being used as the video input.
Syntax:

SEND_COMMAND <DEV>,"'GET VSOURCE'"

Variable:

source = SVID (S-Video) or COMP (Composite).

Example:

SEND_COMMAND ENCODER,"'GET VSOURCE'"

System response:

VSOURCE = COMP

Indicates that the MAX unit is being supplied with a Composite video type.

PLAY
Start the transmission of the
audio and/or video stream.

Starts the streaming of either the audio and/or video based on current
configuration. A stream can also be started via the browser-based UI pages.
Syntax:

SEND_COMMAND <DEV>,"'PLAY'"

Example:

SEND_COMMAND ENCODER,"'PLAY'"

SET ASOURCE
Set the input source for the
encoded audio stream.

Assigns the source for the audio signals being fed into the MAX unit and then
encoded.
Syntax:

SEND_COMMAND <DEV>,"'SET ASOURCE'"

Variable:

format = LINE (from the rear Stereo RCA connectors) or
MIC (from the rear Microphone port).

Example:

SEND_COMMAND ENCODER,"'SET ASOURCE MIC'"

Instructs the MAX-CSE to use the rear Microphone port as the audio source for
the encoded audio stream.

SET AUDIO
Set the configuration
parameters for the audio
system.

The configuration parameters include: codec, sampling rate, and bit rate.
Note: Setting the audio configuration during the 'play' state has undefined
results.
Syntax:

SEND_COMMAND <DEV>,"'SET AUDIO <codec> <sampling>

<rate>'"

Variables:

codec = Off, MP2, or MP3.
sampling rate = 32 KHz, 44.1 KHz, and 48 KHz. Sampling rate given in
KHz (KiloHertz).
Note: A sampling rate of 44.1 KHz MUST be entered as 44, using
44.1 will not work properly.
bit rate = 96 Kbps and 192 Kbps. Effective bit rate in Kbps (kilobits per
second).

Example:

SEND_COMMAND ENCODER,"'SET AUDIO MP2 48 10'"

Sets the audio configuration to use an MP2 audio codec sampling at 48KHz,
while transmitting at 10 Kbps.

Advertising
This manual is related to the following products: