|
|
@ -612,9 +612,10 @@ public class DhDeviceUtil { |
|
|
|
list.add(channel); |
|
|
|
String channelId = jsonItem.get("channelId").toString(); |
|
|
|
String[] channelIds = channelId.split("\\$"); |
|
|
|
String videoUrl = "http://112.6.213.175:7086/live/cameraid/" + channelIds[0] + "%24" + channelIds[channelIds.length - 1] + "/substream/1.m3u8"; |
|
|
|
String videoUrl = "https://rxs-video.elinkservice.cn/live/cameraid/" + channelIds[0] + "%24" + channelIds[channelIds.length - 1] + "/substream/1.m3u8"; |
|
|
|
if (jsonItem.get("deviceName").toString().contains("顺德")) { |
|
|
|
// System.out.println(jsonItem.get("channelId").toString());
|
|
|
|
// System.out.println(jsonItem.get("channelName").toString());
|
|
|
|
System.out.println("INSERT INTO epv_monitor_details (url,customer_id,create_time) VALUES ('" + videoUrl + "','1550309684576591874',NOW());"); |
|
|
|
} |
|
|
|
// System.out.println(jsonItem.get("channelId").toString() + "//" + jsonItem.get("deviceName").toString());
|
|
|
|