public async Task <AsyncCallbackMsg> StopRecord() { if (RecordId != 0) { Log.Logger.Debug($"【local record live stop begins】:liveId={RecordId}"); AsyncCallbackMsg stopAsynCallResult = await _sdkService.StopRecord(); RecordId = 0; Log.Logger.Debug( $"【local record live stop result】:result={stopAsynCallResult.Status}, msg={stopAsynCallResult.Message}"); return(stopAsynCallResult); } return(AsyncCallbackMsg.GenerateMsg(Messages.WarningNoLiveToStop)); }