Commit 77e168802b360b6d5aef6d78355a5a5433b72e74

Authored by liujun001
2 parents 84155f73 e58a56fc

Merge remote-tracking branch 'origin/pudong_jdk8' into pudong_jdk8

# Conflicts:
#	src/main/java/com/genersoft/iot/vmp/vmanager/jt1078/platform/Jt1078OfCarController.java
#	src/main/java/com/genersoft/iot/vmp/vmanager/jt1078/platform/config/Jt1078ConfigBean.java
#	src/main/java/com/genersoft/iot/vmp/vmanager/jt1078/platform/config/RtspConfigBean.java
#	src/main/java/com/genersoft/iot/vmp/vmanager/jt1078/platform/config/TuohuaConfigBean.java
#	src/main/java/com/genersoft/iot/vmp/vmanager/jt1078/platform/handler/HttpClientUtil.java
#	src/main/resources/application-local.yml
#	src/main/resources/application-localDev.yml
src/main/java/com/genersoft/iot/vmp/utils/DateUtil.java
@@ -2,6 +2,7 @@ package com.genersoft.iot.vmp.utils; @@ -2,6 +2,7 @@ package com.genersoft.iot.vmp.utils;
2 2
3 3
4 import org.apache.commons.lang3.ObjectUtils; 4 import org.apache.commons.lang3.ObjectUtils;
  5 +import org.apache.commons.lang3.time.FastDateFormat;
5 6
6 import java.time.Instant; 7 import java.time.Instant;
7 import java.time.LocalDate; 8 import java.time.LocalDate;
@@ -66,6 +67,8 @@ public class DateUtil { @@ -66,6 +67,8 @@ public class DateUtil {
66 public static final DateTimeFormatter DateFormatter = DateTimeFormatter.ofPattern(date_PATTERN, Locale.getDefault()).withZone(ZoneId.of(zoneStr)); 67 public static final DateTimeFormatter DateFormatter = DateTimeFormatter.ofPattern(date_PATTERN, Locale.getDefault()).withZone(ZoneId.of(zoneStr));
67 public static final DateTimeFormatter urlFormatter = DateTimeFormatter.ofPattern(URL_PATTERN, Locale.getDefault()).withZone(ZoneId.of(zoneStr)); 68 public static final DateTimeFormatter urlFormatter = DateTimeFormatter.ofPattern(URL_PATTERN, Locale.getDefault()).withZone(ZoneId.of(zoneStr));
68 69
  70 + public static final FastDateFormat FAST_DATE_FORMAT_PATTERN= FastDateFormat.getInstance(PATTERN);
  71 +
69 public static String yyyy_MM_dd_HH_mm_ssToISO8601(String formatTime) { 72 public static String yyyy_MM_dd_HH_mm_ssToISO8601(String formatTime) {
70 73
71 return formatterISO8601.format(formatter.parse(formatTime)); 74 return formatterISO8601.format(formatter.parse(formatTime));
src/main/resources/application-local.yml
@@ -13,7 +13,7 @@ spring: @@ -13,7 +13,7 @@ spring:
13 # REDIS数据库配置 13 # REDIS数据库配置
14 redis: 14 redis:
15 # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 15 # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
16 - host: 192.168.169.100 16 + host: 127.0.0.1
17 # [必须修改] 端口号 17 # [必须修改] 端口号
18 port: 6379 18 port: 6379
19 # [可选] 数据库 DB 19 # [可选] 数据库 DB
@@ -60,7 +60,7 @@ sip: @@ -60,7 +60,7 @@ sip:
60 # 如果要监听多张网卡,可以使用逗号分隔多个IP, 例如: 192.168.1.4,10.0.0.4 60 # 如果要监听多张网卡,可以使用逗号分隔多个IP, 例如: 192.168.1.4,10.0.0.4
61 # 如果不明白,就使用0.0.0.0,大部分情况都是可以的 61 # 如果不明白,就使用0.0.0.0,大部分情况都是可以的
62 # 请不要使用127.0.0.1,任何包括localhost在内的域名都是不可以的。 62 # 请不要使用127.0.0.1,任何包括localhost在内的域名都是不可以的。
63 - ip: 192.169.1.92 63 + ip: 192.169.1.89
64 # [可选] 28181服务监听的端口 64 # [可选] 28181服务监听的端口
65 port: 5060 65 port: 5060
66 66
@@ -84,15 +84,15 @@ media: @@ -84,15 +84,15 @@ media:
84 # [必须修改] zlm服务器的http.port 84 # [必须修改] zlm服务器的http.port
85 http-port: 1091 85 http-port: 1091
86 # [可选] 返回流地址时的ip,置空使用 media.ip 86 # [可选] 返回流地址时的ip,置空使用 media.ip
87 - stream-ip: 192.169.1.92 87 + stream-ip: 192.168.169.100
88 # [可选] wvp在国标信令中使用的ip,此ip为摄像机可以访问到的ip, 置空使用 media.ip 88 # [可选] wvp在国标信令中使用的ip,此ip为摄像机可以访问到的ip, 置空使用 media.ip
89 - sdp-ip: 192.169.1.92 89 + sdp-ip: 192.168.169.100
90 # [可选] zlm服务器的hook所使用的IP, 默认使用sip.ip 90 # [可选] zlm服务器的hook所使用的IP, 默认使用sip.ip
91 - hook-ip: 192.169.1.92 91 + hook-ip: 192.168.169.100
92 # [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置 92 # [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置
93 http-ssl-port: 443 93 http-ssl-port: 443
94 # [可选] zlm服务器的hook.admin_params=secret 94 # [可选] zlm服务器的hook.admin_params=secret
95 - secret: RPorcBlIw26uHGnEHYGesIYyFDXpgjkP1 95 + secret: RPorcBlIw26uHGnEHYGesIYyFDXpgjkP
96 # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试 96 # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试
97 rtp: 97 rtp:
98 # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输 98 # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输
@@ -132,16 +132,15 @@ tuohua: @@ -132,16 +132,15 @@ tuohua:
132 bsth: 132 bsth:
133 login: 133 login:
134 pageURL: http://192.169.1.92:9088/user/login/jCryptionKey 134 pageURL: http://192.169.1.92:9088/user/login/jCryptionKey
135 - url: http://127.0.0.1:9088/user/login 135 + url: http://192.169.1.92:9088/user/login
136 userName: yuanxiaohu 136 userName: yuanxiaohu
137 password: Yxiaohu1.0 137 password: Yxiaohu1.0
138 tree: 138 tree:
139 url: 139 url:
140 - company: http://127.0.0.1:9088/video/tree  
141 - car: http://127.0.0.1:9088/video/tree/carNo/{0}  
142 - sim: http://127.0.0.1:9088/video//tree/caNO/sim/{0} 140 + company: http://192.169.1.92:9088/video/tree
  141 + car: http://192.169.1.92:9088/video/tree/carNo/{0}
  142 + sim: http://192.169.1.92:9088/video//tree/caNO/sim/{0}
143 wvp28181: 143 wvp28181:
144 -  
145 rtsp: 144 rtsp:
146 tcpPort: 1078 145 tcpPort: 1078
147 udpPort: 1078 146 udpPort: 1078
@@ -151,7 +150,7 @@ tuohua: @@ -151,7 +150,7 @@ tuohua:
151 jt1078: 150 jt1078:
152 url: http://192.168.168.241:8100/device/{0} 151 url: http://192.168.168.241:8100/device/{0}
153 historyListPort: 9205 152 historyListPort: 9205
154 - playHistoryPort: 9201 153 + historyPlayPort: 9201
155 sendPort: 9101 154 sendPort: 9101
156 stopSendPort: 9102 155 stopSendPort: 9102
157 playURL: /play/wasm/ws%3A%2F%2F{ip}%3A{port}%2Fschedule%2F{sim}-{channel}.live.flv%3FcallId%{publickey} 156 playURL: /play/wasm/ws%3A%2F%2F{ip}%3A{port}%2Fschedule%2F{sim}-{channel}.live.flv%3FcallId%{publickey}
web_src/src/layout/UiHeader.vue
@@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
9 <el-menu-item index="/deviceList">国标设备</el-menu-item> 9 <el-menu-item index="/deviceList">国标设备</el-menu-item>
10 <el-menu-item index="/deviceList1078">1078设备</el-menu-item> 10 <el-menu-item index="/deviceList1078">1078设备</el-menu-item>
11 <el-menu-item index="/map">电子地图</el-menu-item> 11 <el-menu-item index="/map">电子地图</el-menu-item>
  12 + <el-menu-item index="/deviceList1078">1078设备</el-menu-item>
12 <el-menu-item index="/pushVideoList">推流列表</el-menu-item> 13 <el-menu-item index="/pushVideoList">推流列表</el-menu-item>
13 <el-menu-item index="/streamProxyList">拉流代理</el-menu-item> 14 <el-menu-item index="/streamProxyList">拉流代理</el-menu-item>
14 <el-menu-item index="/cloudRecord">云端录像</el-menu-item> 15 <el-menu-item index="/cloudRecord">云端录像</el-menu-item>
web_src/src/router/index.js
@@ -20,6 +20,7 @@ import minhangChannel from &#39;../components/common/minhangChannel.vue&#39; @@ -20,6 +20,7 @@ import minhangChannel from &#39;../components/common/minhangChannel.vue&#39;
20 import console from '../components/console.vue' 20 import console from '../components/console.vue'
21 import live from '../components/live.vue' 21 import live from '../components/live.vue'
22 import map from '../components/map.vue' 22 import map from '../components/map.vue'
  23 +import map1078 from '../components/map1078.vue'
23 import media from '../components/setting/Media.vue' 24 import media from '../components/setting/Media.vue'
24 import sip from '../components/setting/Sip.vue' 25 import sip from '../components/setting/Sip.vue'
25 import web from '../components/setting/Web.vue' 26 import web from '../components/setting/Web.vue'
@@ -99,6 +100,11 @@ export default new VueRouter({ @@ -99,6 +100,11 @@ export default new VueRouter({
99 component: map, 100 component: map,
100 }, 101 },
101 { 102 {
  103 + path: '/map1078',
  104 + name: 'map1078',
  105 + component: map1078,
  106 + },
  107 + {
102 path: '/cloudRecord', 108 path: '/cloudRecord',
103 name: 'cloudRecord', 109 name: 'cloudRecord',
104 component: cloudRecord, 110 component: cloudRecord,