[1078] 完善录像回放

This commit is contained in:
lin
2025-07-09 16:44:54 +08:00
parent 055bbc2dca
commit 1655e5903b
2 changed files with 17 additions and 24 deletions

View File

@@ -1,31 +1,23 @@
package com.genersoft.iot.vmp.media.abl.bean.hook;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
public class OnPlayABLHookParam extends ABLHookParam{
private String ip;
private Integer port;
private String params;
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public Integer getPort() {
return port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getParams() {
return params;
}
public void setParams(String params) {
this.params = params;
@Override
public String toString() {
return "OnPlayABLHookParam{" +
"ip='" + ip + '\'' +
", port=" + port +
", params='" + params + '\'' +
'}';
}
}

View File

@@ -414,6 +414,7 @@ export default {
chooseFile(index) {
this.chooseFileIndex = index
const chooseFile = this.detailFiles[this.chooseFileIndex]
console.log(chooseFile)
this.playTime = new Date(chooseFile.startTime).getTime()
this.playRecord(chooseFile.startTime, this.endTime)
},
@@ -428,8 +429,8 @@ export default {
this.$store.dispatch('jtDevice/startPlayback', {
phoneNumber: this.phoneNumber,
channelId: this.channelId,
startTime: this.startTime,
endTime: this.endTime,
startTime: startTime,
endTime: endTime,
type: 0,
rate: 0,
playbackType: 0,