AMX MET-ECOM-D manual RTP, RTCP Video and Audio Streaming Commands Cont, Programming, Set Audio

Models: MET-ECOM-D

1 88
Download 88 pages 17.43 Kb
Page 60
Image 60
RTP, RTCP Video and Audio Streaming Commands (Cont.)

Programming

RTP, RTCP Video and Audio Streaming Commands (Cont.)

SET AUDIO

Syntax:

Sets the current configuration of

SEND_COMMAND <DEV>,"'SET AUDIO <Codec>'"

the audio system.

Variable:

Configuration includes codec, sam-

• Codec = OFF, G.711ALAW, G.711ULAW

pling rate, and bit rate.

Example:

Sample rate is at 8khz.

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

Syntax:

Retrieves the current gain setting

SEND_COMMAND <DEV>,"'GET GAIN'"

on the microphone input.

Example:

 

 

SEND_COMMAND MET1,"'GET GAIN'"

 

Returns:

 

GAIN = 127

 

 

SET GAIN

Syntax:

Sets the gain on the microphone

SEND_COMMAND <DEV>,"'SET GAIN <Value>’"

input.

Variable:

 

 

• Value = 0 to 255

 

Example:

 

SEND_COMMAND MET1,'"SET GAIN 0'"

 

Mutes the microphone.

 

 

GET VOLUME

Syntax:

Retrieves the current volume set-

SEND_COMMAND <DEV>,"'GET VOLUME'"

ting on the speaker output.

Example:

 

 

SEND_COMMAND MET1,"'GET VOLUME'"

 

Returns:

 

VOLUME = 127

 

 

SET VOLUME

Syntax:

Sets the volume on the speaker

SEND_COMMAND <DEV>,"'SET VOLUME <Value>’"

output.

Variable:

 

 

• Value = 0 to 255

 

Example:

 

SEND_COMMAND MET1,"'SET VOLUME 0'"

 

Mutes the speaker.

 

 

54

Metreau Entry Communicators

Page 60
Image 60
AMX MET-ECOM-D RTP, RTCP Video and Audio Streaming Commands Cont, Programming, Set Audio, Get Gain, Set Gain, Get Volume