linphone 录音
MakeCall() CallParams callParams = core.CreateCallParams(null); string path = WriteLog.GetCurDir() + "\\record\\" + DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss", DateTimeFormatInfo.InvariantInfo) + "-out" + txtdial.Text.Trim() + ".wav"; callParams.RecordFile = path; call = core.InviteAddressWithParams(addnew, callParams); CallStateChangedDelegate(Linphone.Core core, Linphone.Call call, Linphone.CallState state, string message) if (state == CallState.End) { call.StopRecording(); } if (state == CallState.Connected) { call.StartRecording(); } PickCall() CallParams callParams = core.CreateCallParams(null); string path = WriteLog.GetCurDir() + "\\record\\" + DateTime.Now.ToString("yyyy-MM-dd-HH-mm-ss", DateTimeFormatInfo.InvariantInfo) + "-in1005.wav"; callParams.RecordFile = path; call.AcceptWithParams(callParams); call.StartRecording();