本机android sip上的audiogroup设备循环超时

时间:2014-10-29 13:16:19

标签: android cordova sip

我正在开发一个Cordova插件,它使用原生的android sip进行voip调用。它似乎与W/AudioGroup﹕ device loop timeout

相同

我的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");
}

建立呼叫时(呼入或拨出呼叫)会显示以下日志:

10-28 16:12:24.444: W/AudioGroup(28686): device loop timeout

它会多次显示。音频在通话的两端进行哈希处理。

0 个答案:

没有答案