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

Programming
50
Metreau Entry Communicators
RTP, RTCP Video and Audio Streaming Commands (Cont.)
SET AUDIO
Sets the current configuration of
the audio system.
Configuration includes codec, sam-
pling rate, and bit rate.
Sample rate is at 8khz.
Syntax:
SEND_COMMAND
Variable:
• Codec = OFF, G.711ALAW, G.711ULAW
Example:
SEND_COMMAND MET1,"'SET AUDIO G.711'"
Sets the audio configuration to G.711 sampling at 8khz.
Note: Do not change the Audio or Video Codec settings during a call.
GET GAIN
Retrieves the current gain setting
on the microphone input.
Syntax:
SEND_COMMAND
Example:
SEND_COMMAND MET1,"'GET GAIN'"
Returns:
GAIN = 127
SET GAIN
Sets the gain on the microphone
input.
Syntax:
SEND_COMMAND
Variable:
• Value = 0 to 255
Example:
SEND_COMMAND MET1,'"SET GAIN 0'"
Mutes the microphone.
GET VOLUME
Retrieves the current volume set-
ting on the speaker output.
Syntax:
SEND_COMMAND
Example:
SEND_COMMAND MET1,"'GET VOLUME'"
Returns:
VOLUME = 127
SET VOLUME
Sets the volume on the speaker
output.
Syntax:
SEND_COMMAND
Variable:
• Value = 0 to 255
Example:
SEND_COMMAND MET1,"'SET VOLUME 0'"
Mutes the speaker.