I am working on a Cordova plugin that uses the native android sip to make voip calls. It seems to be the same problem as W/AudioGroup﹕ device loop timeout
my SipAudioCall.Listener :
@Override
public void onCallEstablished(SipAudioCall call) {
Log.i(LOG_TAG, "Call has been established");
call.startAudio();
call.setSpeakerMode(false);
if (call.isMuted()) {
call.toggleMute();
}
ServiceStatus status = getServiceStatus(call,
call.getLocalProfile());
SipPlugin.this.onSipEvent(status, "onCallEstablished");
}
@Override
public void onCallEnded(SipAudioCall call) {
call.close();
Log.i(LOG_TAG, "Call has been terminated");
ServiceStatus status = getServiceStatus(call,
call.getLocalProfile());
SipPlugin.this.onSipEvent(status, "onCallEnded");
}
The following log is displayed when a call is established (incoming or outgoing calls) :
10-28 16:12:24.444: W/AudioGroup(28686): device loop timeout
And it is displayed multiple times. The audio is hashed on both ends of the call.