我设法开始一个电话会议,在我用HUNG_UP原因启动它后立即关闭它,我在我的日志中得到了这个:
dispatch_async
有人可以帮我解决这个问题吗?
修改
我的情况是当用户点击通话按钮时,我问他是否要开始新的通话或加入已经创建的通话。
我设法让这个问题的代码(Sinch conference call error)起作用,因为我的11-03 17:28:08.940: E/sinch-android-rtc(19101): peermediaconnection: virtual void rebrtc::SetSDPObserver::OnFailure(const string&)Failed to set remote answer sdp: Offer and answer descriptions m-lines are not matching. Rejecting answer.
11-03 17:28:08.940: E/sinch-android-rtc(19101): mxp: Failed to set remote answer sdp: Offer and answer descriptions m-lines are not matching. Rejecting answer.
类有一些错误。
我这样开始打电话:
GroupService
和我的SinchClientService:
Intent intent1 = new Intent(CreateGroupCallActivity.this,SinchClientService.class);
intent1.setAction(SinchClientService.ACTION_GROUP_CALL);
String id = String.valueOf(uid) + "-" + call_id.getText().toString();
intent1.putExtra(SinchClientService.INTENT_EXTRA_ID,id);
startService(intent1);
这里是我的if(intent.getAction().equals(ACTION_GROUP_CALL))
{
String id = intent.getStringExtra(INTENT_EXTRA_ID);
if(id != null)
groupCall(id);
}
public void groupCall(String id) {
if (mCallClient != null) {
Call call = mCallClient.callConference(id);
CurrentCall.currentCall = call;
Log.d("call", "entered");
Intent intent = new Intent(this, GroupCallService.class);
startService(intent);
}
}
GroupCallService
}
我以相同的方式启动呼叫,无论用户是开始新呼叫还是加入已创建的呼叫。