beautypg.com

AMX Metreau Entry Communicator with Display MET-ECOM-D User Manual

Page 54

background image

Programming

48

Metreau Entry Communicators

Touch Panel Intercom Commands (Cont.)

STREAM-SET (Cont.)

Example (H.263 video stream):

SEND_COMMAND MET1, "’STREAM-SET

192.168.0.3,9000,9002,video,H263,1"

SEND_COMMAND TP2, "’^ICS-192.168.0.4,9002,9000,2’"

Sets up a h.263 video stream between Metreau Entry
Communicators and a touch panel.

Note: Do not change the Audio or Video Codec settings during a call.

STREAM-GET

Retrieves a description of the
stream parameter being used by
the current stream.

Syntax:

"’STREAM-GET, ’"

• Stream end. This terminates an stream call/connection.
Variable:
• STREAM_TYPE: AUDIO, VIDEO
• STREAM_ID: 0 -10
Example:

SEND_COMMAND MET1, "’STREAM-GET, AUDIO, 1’"

Returns:

STREAM = 1 AUDIO 234.232.444.333 5000

Indicates that the audio stream has been configured to use and IP
address of 234.232.444.333 where it uses port 5000 for the audio
stream.

STREAM-PLAY

This command notifies the Metreau
Entry Communicator to start
streaming by enabling the micro-
phone, speaker and video source
and then, transmitting packets and
playing received packets.

Syntax:

SEND_COMMAND ,"'STREAM-PLAY '"

Variable:
integers are from 1-20.
Example:

SEND_COMMAND MET1,"STREAM-PLAY 1"

STREAM-STOP

Stops transmission and receive of
stream. This command terminates
the data from moving in a stream
connection.

Syntax:

SEND_COMMAND ,"'STREAM-STOP '"

Variable:
integers are from 1-20.
• If = "ALL" will remove all streams
Example:

SEND_COMMAND MET1,"’STREAM-STOP 1’"

Stops stream 1 from running.

^MOD?

Metreau Entry Communicator
model name.

The Metreau Entry Communicator will respond with its model name
as shown in the response below. Older hardware or newer hardware
that has intercom support disabled will not respond to this command.
The Metreau Entry Communicator will respond with one of the follow-
ing strings:
Syntax:

SEND_COMMAND ,"’^MOD?’"

Example:

SEND_COMMAND MET1,"’^MOD?’"

Returns:

^MODEL-MET-2007-A