NetLinx Programming
MAX-CSE: 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
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-CSE Streaming Send_Commands
Command | Description | |
|
| |
GET ASOURCE | Syntax: | |
Get a description of the | SEND_COMMAND <DEV>,"'GET ASOURCE'" | |
current incoming audio | Variable: | |
source. | ||
format = LINE (from the rear Stereo RCA connectors) or | ||
| ||
| MIC (from the rear Microphone port). | |
| Example: | |
| SEND_COMMAND ENCODER,"'GET ASOURCE'" | |
| System response: | |
| ASOURCE = LINE | |
| Indicates that the | |
| the rear | |
|
| |
GET AUDIO | Requests the configuration of the current audio system. The returned | |
Get a description of the | information includes: codec, sampling rate, and bit rate. | |
| ||
current audio system | Syntax: | |
configuration. | SEND_COMMAND <DEV>,"'GET AUDIO'" | |
| ||
| Variables: | |
| codec = Off, MP2, or MP3. | |
| sampling rate = 32 KHz, 44.1 KHz, and 48 KHz. Rate given in KHz | |
| (KiloHertz). | |
| bit rate = 96 Kbps and 192 Kbps. Effective bit rate in Kbps (kilobits | |
| per second). | |
| Example: | |
| SEND_COMMAND ENCODER,"'GET AUDIO'" | |
| System response: | |
| AUDIO = MP2 48 10 | |
| Indicates that the audio system is configured to use an MP2 audio stream, with | |
| a sampling rate of 48 KHz, and a bit rate of 10 Kbps. | |
|
|
80 |