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