优化云端录像转化
This commit is contained in:
@@ -80,15 +80,9 @@ public class MediaServerItem{
|
||||
@Schema(description = "是否是默认ZLM")
|
||||
private boolean defaultServer;
|
||||
|
||||
@Schema(description = "录像存储路径")
|
||||
private String recordPath;
|
||||
|
||||
@Schema(description = "录像存储时长")
|
||||
private int recordDate;
|
||||
|
||||
|
||||
|
||||
|
||||
public MediaServerItem() {
|
||||
}
|
||||
|
||||
@@ -306,14 +300,6 @@ public class MediaServerItem{
|
||||
this.sendRtpPortRange = sendRtpPortRange;
|
||||
}
|
||||
|
||||
public String getRecordPath() {
|
||||
return recordPath;
|
||||
}
|
||||
|
||||
public void setRecordPath(String recordPath) {
|
||||
this.recordPath = recordPath;
|
||||
}
|
||||
|
||||
public int getRecordDate() {
|
||||
return recordDate;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class OnRecordMp4HookParam extends HookParam{
|
||||
private String url;
|
||||
private String vhost;
|
||||
private long start_time;
|
||||
private long time_len;
|
||||
private double time_len;
|
||||
|
||||
public String getApp() {
|
||||
return app;
|
||||
@@ -88,11 +88,11 @@ public class OnRecordMp4HookParam extends HookParam{
|
||||
this.start_time = start_time;
|
||||
}
|
||||
|
||||
public long getTime_len() {
|
||||
public double getTime_len() {
|
||||
return time_len;
|
||||
}
|
||||
|
||||
public void setTime_len(long time_len) {
|
||||
public void setTime_len(double time_len) {
|
||||
this.time_len = time_len;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user