NetLinx Programming
Command | Description |
|
|
GET VSOURCE | Requests the a description of the current video source type. This video type |
Get a description of the | indicates which rear connector is being used as the video input. |
| |
source type used by the | Syntax: |
current video stream. | SEND_COMMAND <DEV>,"'GET VSOURCE'" |
| |
| Variable: |
| source = SVID |
| Example: |
| SEND_COMMAND ENCODER,"'GET VSOURCE'" |
| System response: |
| VSOURCE = COMP |
| Indicates that the MAX unit is being supplied with a Composite video type. |
|
|
PLAY | Starts the streaming of either the audio and/or video based on current |
Start the transmission of the | configuration. A stream can also be started via the |
| |
audio and/or video stream. | Syntax: |
| SEND_COMMAND <DEV>,"'PLAY'" |
| Example: |
| SEND_COMMAND ENCODER,"'PLAY'" |
|
|
SET ASOURCE | Assigns the source for the audio signals being fed into the MAX unit and then |
Set the input source for the | encoded. |
| |
encoded audio stream. | 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 |
| the encoded audio stream. |
|
|
SET AUDIO | The configuration parameters include: codec, sampling rate, and bit rate. |
Set the configuration | Note: Setting the audio configuration during the 'play' state has undefined |
parameters for the audio | results. |
system. | 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. |
|
|
80 |