[1078] 完善录像回放
This commit is contained in:
@@ -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 + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user