NetLinx Programming
Command | Description | |
|
| |
SET SAP IP ALT | Syntax: | |
Set the SAP Listener IP Alter- | SEND_COMMAND <DEV>, 'SET SAP IP ALT <Addr>:<Port>' | |
native multicast address. | Variable: | |
| ||
| Addr = multicast IP address | |
| Port = port number | |
| Example: | |
| SEND_COMMAND DECODER, 'SET SAP IP ALT 224.3.127.254:1234' | |
|
| |
SET SESSION CURSOR | This command allows the user to select the session for later streaming when | |
Selects the session for | the user sends the play command. | |
| ||
streaming later. | Syntax: | |
| SEND_COMMAND <DEV>, 'SET SESSION CURSOR <num>' | |
| Variable: | |
| Num = 1 to "SESSION LIST=" | |
| Example: | |
| SEND_COMMAND DECODER, 'SET SESSON CURSOR 1' | |
|
| |
SET URL | The 'UDP' protocol represents | |
Set the URL description of | UDP. This protocol is only available for | |
video, so no audio port is needed. | ||
the audio/video stream. | ||
The 'RTP' protocol represents | ||
| ||
| MPV (33) data as defined by RFC 3550 and 3551. If no audio port is given, it is | |
| assumed to be the video port plus 2. | |
| Syntax: | |
| SEND_COMMAND <DEV>,'SET URL <Protocol> <Addr> <Port> | |
| [<Audio Port>]' | |
| Variables: | |
| Protocol = RTP or UDP | |
| Address = Address of stream in IPv4 dot notation | |
| Port = Primary port for audio/video transport. | |
| Audio Port = Port for audio stream (RTP only) | |
| Example: | |
| SEND_COMMAND DECODER,'SET URL UDP 224.0.0.1 5000' | |
| Sets the URL for a multicast session at 24.0.0.1 and port 5000. Since the | |
| protocol is UDP, a second audio port is not needed. | |
|
| |
SET VIDEO | Sets the current configuration of the video system. Configuration includes | |
Set the configuration | codec and resolution. Setting the video configuration during 'play' state has | |
undefined results. | ||
parameters for the video | ||
| ||
codec. | Syntax: | |
| SEND_COMMAND <DEV>,'SET VIDEO <Codec>' | |
| Variable: | |
| Codec = OFF or MPEG2 or MPEG4 | |
| Example: | |
| SEND_COMMAND DECODER,'SET VIDEO MPEG2 ' | |
|
|
88 |