Download AMX MAX-CSE Product specifications
Transcript
NetLinx Programming MAX-CSE Streaming Send_Commands (Cont.) Command Description GET URL Requests the current configuration of the URL communication parameters. The returned information includes: communication protocol, IP Address, and port used. Get a description of the URL parameters being used by the current audio/video stream. 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 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 Get a description of the current video codec configuration. Requests the current configuration of the video system. The returned information includes: codec, resolution, bit rate, and mode. Syntax: 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 MPEG-2 stream, with a 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 MAX-CSE/MAX-CSD10 Operation/Reference Guide 83