| NetLinx Programming |
| |
|
|
Command | Description |
|
|
SET CONTROL MODE | 'MANUAL' mode lets the user to specify all parameters such as video decoder, |
Set the control mode of the | audio decoder, transport type, and video and audio ports. |
| |
stream. | 'SAP' mode allows the user to select a stream based on a SAP list. Streaming |
| will begin when the user chooses the stream from the SAP list and then send |
| the PLAY command |
| 'RTSP' mode allows the user to specify the URL to a RTSP server. Streaming |
| will begin when the user enters the URL and then sends the PLAY command. |
| Syntax: |
| SEND_COMMAND <DEV>,'SET CONTROL MODE <Mode>' |
| Variable: |
| Mode = MANUAL or SAP or RTSP |
| Example: |
| SEND_COMMAND DECODER, 'SET CONTROL MODE SAP' |
|
|
SET FORMAT | Syntax: |
Set the video format of the | SEND_COMMAND <DEV>,'SET FORMAT <Format>' |
incoming video stream. | Variable: |
| |
| Format = NTSC or PAL |
| Example: |
| SEND_COMMAND DECODER,'SET FORMAT PAL' |
| Tells the decoder to expect PAL video format. |
|
|
SET RTSP SERVER | The list is limited to a total of 10 entries. |
Sets an RTSP Server entry | Syntax: |
into a list. | SEND_COMMAND <DEV>, 'SET RTSP SERVER <num> <url> <ipaddr> |
| |
| <port>' |
| Variables: |
| num = 1 to 10 entries that the user may use |
| url = universal resource locator specifying the RTSP Server |
| ipaddr = ip address of RTSP Server. This value will be used if DNS is not |
| available. Otherwise DNS will be used with www.foo.com as the example |
| specifies. |
| port = ip port of the RTSP server. Set to 0 to contact RTSP server with the |
| 'default' port (RTSP default port is 554). |
| Example: |
| SEND_COMMAND DECODER, 'SET RTSP SERVER 1 rtsp:// |
| www.foo.com/myvideo.sdp 10.0.0.101 0' |
|
|
SET SAP IP MODE | 'DEFAULT' mode tells SAP Listener to use the well known multicast |
Sets the SAP Listener ip | address:port of 224.2.127.254:9875 |
| |
address mode. | 'ALT' modes tells the SAP Listener to use the alternative multicast |
| address:port. The alternative multicast address:port is configured via another |
| NetLinx command (see SET SAP IP ALT below). |
| Syntax: |
| SEND_COMMAND <DEV>, 'SET SAP IP MODE <Mode>' |
| Variable: |
| Mode=DEFAULT or ALT |
| Example: |
| SEND_COMMAND DECODER, 'SET SAP IP MODE ALT' |
|
|
87 | |
|
|