NetLinx Programming
Command | Description | |
|
| |
GET URL | Requests the current configuration of the URL communication parameters. The | |
Get a description of the | returned information includes: communication protocol, IP Address, and port | |
used. | ||
URL parameters being used | ||
Syntax: | ||
by the current audio/video | ||
stream. | SEND_COMMAND <DEV>,'GET URL' | |
| ||
| Example: | |
| SEND_COMMAND DECODER,'GET URL' | |
| System response: | |
| URL = UDP 224.0.0.1 5000 | |
| URL = RTP 224.0.0.1 5000 5002 | |
|
| |
GET VIDEO | Requests the current configuration of the video system. The returned | |
Get a description of the | information includes: codec, resolution, bit rate, and mode. | |
| ||
current video codec | Syntax: | |
configuration. | SEND_COMMAND <DEV>,"'GET VIDEO'" | |
| ||
| Variables: | |
| codec = Off, MPEG2, or MPEG4. | |
| resolution = D1, or SIF, or <width>X<height> (up to a D1 resolution). | |
| bit rate = Returned in Kbps (kilobits per second). | |
| mode = CBR (constant Bit rate) or VBR (variable Bit rate). | |
| Example: | |
| SEND_COMMAND DECODER,"'GET VIDEO'" | |
| System response: | |
| VIDEO = | |
| VIDEO = NONE | |
| Indicates that the video codec is configured to use an | |
| D1 resolution at 4000 Kbps. | |
|
| |
PLAY | Starts receiving of audio and/or video based on current configuration. | |
Starts reception of audio and/ | If system is in manual mode then this command will use parameters that are | |
or video. | set manually. | |
| If system is in SAP mode or RTSP mode then this command will use parame- | |
| ters referenced by the session cursor. | |
| Syntax: | |
| SEND_COMMAND <DEV>,'PLAY' | |
| Example: | |
| SEND_COMMAND DECODER, 'PLAY' | |
|
| |
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>' | |
| Variable: | |
| Codec =MP3 or AAC | |
| Example: | |
| SEND_COMMAND DECODER,'SET AUDIO MP3' | |
| Sets the audio configuration to MP3. The MP3 decoder also will decode MP2. | |
|
|
86 |