修复开始点播功能接口调用返回参数与定义的不符 #635

This commit is contained in:
648540858
2022-10-17 14:33:25 +08:00
parent 2f11618199
commit 1e1364e51a
4 changed files with 41 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ public class PlayServiceImpl implements IPlayService {
String uuid = UUID.randomUUID().toString();
msg.setId(uuid);
playResult.setUuid(uuid);
DeferredResult<WVPResult<String>> result = new DeferredResult<>(userSetting.getPlayTimeout().longValue());
DeferredResult<WVPResult<StreamInfo>> result = new DeferredResult<>(userSetting.getPlayTimeout().longValue());
playResult.setResult(result);
// 录像查询以channelId作为deviceId查询
resultHolder.put(key, uuid, result);