|
@@ -1111,12 +1111,22 @@ namespace WingDeviceService.Service
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 上报观看直播状态
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="request">上报观看直播状态请求实体</param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public async Task<bool> ReportLiveViewStateAsync(ReportLiveViewStateRequest request)
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 上报直播状态
|
|
|
/// </summary>
|
|
|
/// <param name="request">上报直播状态请求实体</param>
|
|
|
/// <returns></returns>
|
|
|
- public async Task<ReportLiveStateResult> ReportLiveStateAsync(ReportLiveStateRequest request)
|
|
|
+ public async Task<bool> ReportLiveStateAsync(ReportLiveStateRequest request)
|
|
|
{
|
|
|
var tokenInfo = await _authenticationService.GetTokenAsync(request);
|
|
|
switch (request.LiveState)
|
|
@@ -1141,10 +1151,7 @@ namespace WingDeviceService.Service
|
|
|
{
|
|
|
|
|
|
}
|
|
|
- return new ReportLiveStateResult
|
|
|
- {
|
|
|
-
|
|
|
- };
|
|
|
+ return await Task.FromResult(true);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|