Commit 77a255d3 authored by tianbo's avatar tianbo

fix(amos-boot-module-common):海康视频前端返回hlsHk视频类型标识

- 将视频类型字段从 "protocol" 修改为 "viewProtocol"
parent b6b6939b
......@@ -114,7 +114,7 @@ public class BaseEnterpriseVideoServiceImpl extends BaseService<BaseEnterpriseVi
JSONObject dataObj = (JSONObject) result.get("data");
String cameraUrl = dataObj.getString("url");
video.setUrl(cameraUrl);
video.setType(param.getString("protocol"));
video.setType(param.getString("viewProtocol"));
}
} catch (URISyntaxException e) {
throw new RuntimeException("URL格式解析异常", e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment