startMicVuMeter(false);
startSpeakerVuMeter(false);
}
public void startMicVuMeter(final boolean startVuMeter) {
SoftphoneControl sc = SoftphoneControlImpl.getInstance();
boolean isConnected = false;
try {
isConnected = sc.isConnected();
} catch (IOException e) {
}
if (isConnected) {
if (startVuMeter) {
try {
sc.sendCommandToSoftphone("getMicrophoneVolume");
} catch (IOException e) {
LOGGER.log(Level.WARNING,
"Unable to get Microphone volume", e);
}
}
try {
sc.startMicVuMeter(startVuMeter);
} catch (IOException e) {
LOGGER.log(Level.WARNING,
"Unable to start mic VU meter: " + e.getMessage());
}
}