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 |