| | |
| | | public R queryHkPreviewUrl(HkVO hk) { |
| | | String url = ""; |
| | | // 获取海康播放url |
| | | String result = GetCameraPreviewURL(HkConstant.previewURLs, hk.getCameraIndexCode(), ProtocolConstant.HLS); |
| | | String result = GetCameraPreviewURL(HkConstant.previewURLs, hk.getCameraIndexCode(), ProtocolConstant.WS); |
| | | if (null!=result) { |
| | | JSONObject jsonObject = JSONObject.parseObject(result); |
| | | Map map = (Map) jsonObject.get("data"); |
| | |
| | | // //e2cb261e14144f53a300769839d54753 |
| | | // //根据子节点编号获取设备播放地址 |
| | | // String result3 = GetCameraPreviewURL(HkConstant.previewURLs, |
| | | // "ff1f050afd1c47829dec1ec14575c9e3", ProtocolConstant.HLS); |
| | | // "0113d3498d2e41caaf9e5355d1575da3", ProtocolConstant.WS); |
| | | // JSONObject jsonObject = JSONObject.parseObject(result3); |
| | | // Map map = (Map) jsonObject.get("data"); |
| | | // //根据子节点编号获取音频对讲地址 |