
NetLinx Programming
91
MAX-CSE/MAX-CSD10 Operation/Reference Guide
MAX-CSD10 Streaming Send_Commands (Cont.)
Command Description
GET SESSION LIST
Get the number of streaming
sessions in the SAP session
list.
Requests the number of entries in the SAP session list.
Syntax:
SEND_COMMAND <DEV>,"'GET SESSION LIST'"
Variable:
sessions = number of entries in the list
Example:
SEND_COMMAND DECODER,"'GET SESSION LIST'"
System response:
SESSION LIST=3
Indicates that there are 3 entries in the SAP session list.
GET STREAM STATUS
Get a description of the
streaming state.
Requests the status of whether the decoder is playing or stopped.
Syntax:
SEND_COMMAND <DEV>,"'GET STREAM STATUS'"
Variable:
status = IDLE or STREAMING.
Example:
SEND_COMMAND DECODER,"'GET STREAM STATUS'"
System response:
STREAM STATUS =IDLE
Indicates that the MAX-CSD10 is currently idle.
GET URL
Get a description of the URL
parameters being used by the
current audio/video stream.
Requests the current configuration of the URL communication parameters. The
returned information includes: communication protocol, IP Address, and port
used.
Syntax:
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 DECODER,"'GET URL'"
System response for UDP:
URL=UDP 239.168.42.10 1234 1234
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 1234.
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.
Komentarze do niniejszej Instrukcji