| | |
| | | //// JSONArray arr2 = JSON.parseArray(res2.getString("list")); |
| | | //// JSONObject data2 = (JSONObject) arr2.get(0); |
| | | //// String code2 = data2.get("indexCode").toString(); |
| | | // //ff1f050afd1c47829dec1ec14575c9e3 |
| | | // //e2cb261e14144f53a300769839d54753 |
| | | // //根据子节点编号获取设备播放地址 |
| | | // String result3 = GetCameraPreviewURL(HkConstant.previewURLs, |
| | | // "59f945a2d0354eb3b2794979c62228f2", ProtocolConstant.HLS); |
| | | // "ff1f050afd1c47829dec1ec14575c9e3", ProtocolConstant.WS); |
| | | // JSONObject jsonObject = JSONObject.parseObject(result3); |
| | | // Map map = (Map) jsonObject.get("data"); |
| | | // //根据子节点编号获取音频对讲地址 |
| | | //// String result4 = GetTalkURLs(HkConstant.talkURLs, code1); |
| | | // |
| | |
| | | //// System.out.println("result1 = " + result1); |
| | | //// System.out.println("result2 = " + result2); |
| | | // System.out.println("result3 = " + result3); |
| | | // System.out.println("url = " + map.get("url")); |
| | | //// System.out.println("result4 = " + result4); |
| | | // } |
| | | } |