W/AudioGroup﹕ device loop timeout

一世执手 提交于 2019-12-07 09:37:59

问题


i'm trying to do a SIP call in my android. Sound works great on the first call, but when this call is ended and i start a second call, sound is interrupted and i get following warning (multiple lines per second):

W/AudioGroup﹕ device loop timeout`

I start the call with:

mSipManager.makeAudioCall(
    getAccount().getLocalSipProfile(),
    getAccount().getPeerSipProfile(),
    new SipCallListener(),
    0
);

Contents of call listener:

@Override
public void onCallEstablished(SipAudioCall call) {
    call.startAudio();
}

@Override
public void onCallEnded(SipAudioCall call) {
    call.close();
}

// ...

Any idea how to solve that problem?

Thanks in advance

Matthias

// EDIT: Currently i can reproduce this behaviour only on a Nexus 5 with Dalvik runtime. Changing the Runtime to ART "solves" the problem for this device, but it's not an acceptable solution.

来源:https://stackoverflow.com/questions/23803180/w-audiogroup-device-loop-timeout

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!