Programming

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

Syntax:

Retrieves a description of the

"’STREAM-GET, <stream type> <stream_ID>’"

stream parameter being used by

• Stream end. This terminates an stream call/connection.

the current stream.

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

Syntax:

This command notifies the Metreau

SEND_COMMAND <DEV>,"'STREAM-PLAY <stream id>'"

Entry Communicator to start

Variable:

streaming by enabling the micro-

• <stream ID> integers are from 1-20.

phone, speaker and video source

 

and then, transmitting packets and

Example:

playing received packets.

SEND_COMMAND MET1,"STREAM-PLAY 1"

 

 

 

STREAM-STOP

Syntax:

Stops transmission and receive of

SEND_COMMAND <DEV>,"'STREAM-STOP <stream id>'"

stream. This command terminates

Variable:

the data from moving in a stream

• <stream ID> integers are from 1-20.

connection.

• If <stream ID> = "ALL" will remove all streams

 

 

Example:

 

SEND_COMMAND MET1,"’STREAM-STOP 1’"

 

Stops stream 1 from running.

 

 

^MOD?

The Metreau Entry Communicator will respond with its model name

Metreau Entry Communicator

as shown in the response below. Older hardware or newer hardware

that has intercom support disabled will not respond to this command.

model name.

The Metreau Entry Communicator will respond with one of the follow-

 

 

ing strings:

 

Syntax:

 

SEND_COMMAND <DEV>,"’^MOD?’"

 

Example:

 

SEND_COMMAND MET1,"’^MOD?’"

 

Returns:

 

^MODEL-MET-2007-A

 

 

52

Metreau Entry Communicators

Page 58
Image 58
AMX MET-ECOM-D manual Stream-Get, Stream-Play, Stream-Stop, Mod?