zlm hook 配置
This commit is contained in:
parent
aa71e4c019
commit
adb70ec606
@ -0,0 +1,34 @@
|
||||
package cn.skcks.docking.gb28181.media.dto.config;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
||||
public class HookConfig {
|
||||
private Double aliveInterval;
|
||||
private Integer enable;
|
||||
private String onFlowReport;
|
||||
private String onHttpAccess;
|
||||
private String onPlay;
|
||||
private String onPublish;
|
||||
private String onRecordMp4;
|
||||
private String onRecordTs;
|
||||
private String onRtpServerTimeout;
|
||||
private String onRtspAuth;
|
||||
private String onRtspRealm;
|
||||
private String onSendRtpStopped;
|
||||
private String onServerExited;
|
||||
private String onServerKeepalive;
|
||||
private String onServerStarted;
|
||||
private String onShellLogin;
|
||||
private String onStreamChanged;
|
||||
private String onStreamNoneReader;
|
||||
private String onStreamNotFound;
|
||||
private Long retry;
|
||||
private Double retryDelay;
|
||||
@JsonProperty("timeoutSec")
|
||||
private Integer timeoutSec;
|
||||
}
|
@ -21,5 +21,6 @@ public class ServerConfig {
|
||||
@JsonUnwrapped(prefix = "hls.")
|
||||
private HlsConfig hls;
|
||||
|
||||
|
||||
@JsonUnwrapped(prefix = "hook.")
|
||||
private HookConfig hook;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user