| 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'" | |
| ||
| Variables: | |
| protocol = RTP or UDP. | |
| address = Address of stream in IPv4 dot notation (ex: X.X.X.X). | |
| port = Primary port for audio/video transport. | |
| audio port = Port for audio stream (RTP only). | |
| Example: | |
| SEND_COMMAND ENCODER,"'GET URL'" | |
| System response for UDP: | |
| URL = UDP 239.168.42.10 5000 | |
| Indicates that the UDP audio/video stream has previously been configured to | |
| use a multicast session (UDP) at an IP Address of 239.168.42.10 where it uses | |
| port 5000. | |
| System response for RTP: | |
| URL = RTP 239.168.42.10 5000 5002 | |
| Indicates that the individual RTP audio/video streams has previously been | |
| configured to use an IP Address of 224.168.42.10 where it uses port 5000 for | |
| the video stream and port 5002 for the audio stream. | |
|
| |
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 ENCODER,"'GET VIDEO'" | |
| System response: | |
| VIDEO = MPEG2 D1 4000 CBR | |
| Indicates that the video codec is configured to use an | |
| D1 resolution at 4000 Kbps using a constant bit rate (CBR). | |
|
| |
GET VIDEO PORT STATUS | The system will either return 'SYNC' or 'LOS'. | |
Returns the Video In Port Sta- | Syntax: | |
tus. | SEND_COMMAND <DEV>, 'GET VIDEO PORT STATUS' | |
| ||
| Example: | |
| SEND_COMMAND ENCODER, 'GET VIDEO PORT STATUS' | |
| System response: | |
| VIDEO PORT STATUS=SYNC | |
|
|
79 | |
|
|