[Linphone Android] 应答请求

来源:互联网 发布:17173天刀捏脸数据站 编辑:程序博客网 时间:2024/06/15 04:39

接受呼叫请求:

    public int acceptCall(){        LinphoneCall call = mLinphoneCore.getCurrentCall();        try{            mLinphoneCore.acceptCall(call);            mLinphoneCore.enableSpeaker(true);        }catch(LinphoneCoreException exception){            Log.d(TAG, exception.toString());            return -1;        }        stopRinging();        return 0;    }
0 0