Compare commits

...

4 Commits

Author SHA1 Message Date
阿斌
fd0afa606b
Pre Merge pull request !36 from 阿斌/N/A 2026-05-26 08:07:25 +00:00
lin
9775a24c6d 部标-TCP服务-IDLE状态超时时间设置为0,默认不启用超时 2026-05-26 16:02:25 +08:00
lin
1adcd32e43 修复国标录像回放页面BUG 2026-05-26 15:31:09 +08:00
阿斌
da98101aac
update src/main/resources/civilCode.csv.
行政规划错误。江苏南通海门市,修改为海门区,浙江杭州删除下城区、江干区,新增钱塘区,临平区

Signed-off-by: 阿斌 <38912748@qq.com>
2024-12-15 08:58:42 +00:00
4 changed files with 168 additions and 137 deletions

View File

@ -1,6 +1,5 @@
package com.genersoft.iot.vmp.jt1078.config;
import com.genersoft.iot.vmp.jt1078.bean.common.ConfigAttribute;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.annotation.Order;
@ -19,7 +18,8 @@ public class JT1078Config {
private Boolean record = false;
/**
* IdleStateHandler reader idle timeout, unit: minutes
* IDLE状态超时时间单位默认0表示不启用启用后当连接进入IDLE状态超过该时间时将被断开连接
连接进入IDLE状态的条件是在readerIdleTime时间内没有收到任何数据包并且在writerIdleTime时间内没有发送任何数据包
*/
private Integer readerIdleTime = 15;
private Integer readerIdleTime = 0;
}

View File

@ -861,7 +861,7 @@
320623,如东县,3206
320681,启东市,3206
320682,如皋市,3206
320684,海门,3206
320684,海门,3206
320685,海安市,3206
3207,连云港市,32
320703,连云区,3207
@ -918,8 +918,6 @@
33,浙江省,
3301,杭州市,33
330102,上城区,3301
330103,下城区,3301
330104,江干区,3301
330105,拱墅区,3301
330106,西湖区,3301
330108,滨江区,3301
@ -927,6 +925,8 @@
330110,余杭区,3301
330111,富阳区,3301
330112,临安区,3301
330113,临平区,3301
330114,钱塘区,3301
330122,桐庐县,3301
330127,淳安县,3301
330182,建德市,3301

1 编号 名称 上级
861 320623 如东县 3206
862 320681 启东市 3206
863 320682 如皋市 3206
864 320684 海门市 海门区 3206
865 320685 海安市 3206
866 3207 连云港市 32
867 320703 连云区 3207
918 33 浙江省
919 3301 杭州市 33
920 330102 上城区 3301
330103 下城区 3301
330104 江干区 3301
921 330105 拱墅区 3301
922 330106 西湖区 3301
923 330108 滨江区 3301
925 330110 余杭区 3301
926 330111 富阳区 3301
927 330112 临安区 3301
928 330113 临平区 3301
929 330114 钱塘区 3301
930 330122 桐庐县 3301
931 330127 淳安县 3301
932 330182 建德市 3301

View File

@ -273,6 +273,11 @@ export default {
},
setPlaybackRate: function() {
},
resize(width, height) {
if (jessibucaPlayer[this._uid]) {
jessibucaPlayer[this._uid].resize()
}
}
}
}

View File

@ -50,7 +50,10 @@
</div>
</div>
<div id="playerBox" style="width: 100%;">
<div class="playBox" style="height: calc(100vh - 220px); width: 100%; background-color: #000000">
<div :class="{
'play-box': true,
'play-box-fullscreen': isFullScreen,
}">
<div
v-if="playLoading"
style="position: relative; left: calc(50% - 32px); top: 43%; z-index: 100;color: #fff;float: left; text-align: center;"
@ -88,8 +91,13 @@
@playTimeChange="showPlayTimeChange"
/>
</div>
<div class="player-option-box">
<div :class="{
'player-option-box': true,
'player-option-box-bottom': isFullScreen
}">
<div v-if="showTime" class="time-line-show">{{ showTimeValue }}</div>
<VideoTimeline
style="height: 55px"
ref="Timeline"
:init-time="initTime"
:time-segments="timeSegments"
@ -98,8 +106,6 @@
@mousedown="timelineMouseDown"
@mouseup="mouseupTimeline"
/>
<div v-if="showTime" class="time-line-show">{{ showTimeValue }}</div>
</div>
<div style="height: 40px; background-color: #383838; display: grid; grid-template-columns: 1fr 400px 1fr">
<div style="text-align: left;">
<div class="record-play-control" style="background-color: transparent; box-shadow: 0 0 10px transparent">
@ -182,13 +188,13 @@
title="下一个"
@click="playNext()"
/>
<el-dropdown @command="changePlaySpeed">
<el-dropdown @command="changePlaySpeed" placement="top">
<a
target="_blank"
class="record-play-control-item record-play-control-speed"
title="倍速播放"
>{{ playSpeed }}X</a>
<el-dropdown-menu slot="dropdown">
<el-dropdown-menu slot="dropdown" :append-to-body="false">
<el-dropdown-item
v-for="item in playSpeedRange"
:key="item"
@ -201,13 +207,13 @@
</div>
<div style="text-align: right;">
<div class="record-play-control" style="background-color: transparent; box-shadow: 0 0 10px transparent">
<el-dropdown @command="changePlayer">
<el-dropdown @command="changePlayer" placement="top">
<a
target="_blank"
class="record-play-control-item record-play-control-speed"
title="切换播放器"
>{{ playerLabel }}</a>
<el-dropdown-menu slot="dropdown">
<el-dropdown-menu slot="dropdown" :append-to-body="false">
<el-dropdown-item command="jessibuca">Jessibuca</el-dropdown-item>
<el-dropdown-item command="webRTC">WebRTC</el-dropdown-item>
<el-dropdown-item command="h265web">H265Web</el-dropdown-item>
@ -232,6 +238,7 @@
</div>
</div>
</div>
</div>
<record-download ref="recordDownload" />
<chooseTimeRange ref="chooseTimeRange" />
</div>
@ -444,8 +451,10 @@ export default {
const playerHeight = this.$refs.recordVideoPlayer.playerHeight
screenfull.request(document.getElementById('playerBox'))
screenfull.on('change', (event) => {
this.$refs.recordVideoPlayer.resize(playerWidth, playerHeight)
this.isFullScreen = screenfull.isFullscreen
if (this.$refs.recordVideoPlayer && this.$refs.recordVideoPlayer.resize) {
this.$refs.recordVideoPlayer.resize(playerWidth, playerHeight)
}
})
this.isFullScreen = true
},
@ -674,14 +683,31 @@ export default {
}
.player-option-box {
height: 50px
height: 95px;
}
.player-option-box-bottom {
width: 100%;
position: absolute;
bottom: 0;
}
.time-line-show {
position: relative;
color: rgba(250, 249, 249, 0.89);
left: calc(50% - 85px);
top: -72px;
top: -24px;
height: 0;
width: stretch;
float: left;
text-align: center;
text-shadow: 1px 0 #5f6b7c, -1px 0 #5f6b7c, 0 1px #5f6b7c, 0 -1px #5f6b7c, 1.1px 1.1px #5f6b7c, 1.1px -1.1px #5f6b7c, -1.1px 1.1px #5f6b7c, -1.1px -1.1px #5f6b7c;
}
.play-box {
width: 100%; aspect-ratio: 16 / 9;
background-color: #000000;
height: calc(100vh - 220px);
}
.play-box-fullscreen {
height: 100vh !important;
}
</style>