[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; package com.genersoft.iot.vmp.media.abl.bean.hook;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
public class OnPlayABLHookParam extends ABLHookParam{ public class OnPlayABLHookParam extends ABLHookParam{
private String ip; private String ip;
private Integer port; private Integer port;
private String params; private String params;
public String getIp() { @Override
return ip; public String toString() {
} return "OnPlayABLHookParam{" +
"ip='" + ip + '\'' +
public void setIp(String ip) { ", port=" + port +
this.ip = ip; ", params='" + params + '\'' +
} '}';
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;
} }
} }

View File

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