zlm protocol 配置
This commit is contained in:
parent
3cb10100a3
commit
d1f95c5598
@ -0,0 +1,31 @@
|
||||
package cn.skcks.docking.gb28181.media.dto.config;
|
||||
|
||||
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
||||
public class ProtocolConfig {
|
||||
private Integer addMuteAudio;
|
||||
private Integer autoClose;
|
||||
private Integer continuePushMs;
|
||||
private Integer enableAudio;
|
||||
private Integer enableFmp4;
|
||||
private Integer enableHls;
|
||||
private Integer enableHlsFmp4;
|
||||
private Integer enableMp4;
|
||||
private Integer enableRtmp;
|
||||
private Integer enableRtsp;
|
||||
private Integer enableTs;
|
||||
private Integer fmp4Demand;
|
||||
private Integer hlsDemand;
|
||||
private String hlsSavePath;
|
||||
private Integer modifyStamp;
|
||||
private Integer mp4AsPlayer;
|
||||
private Integer mp4MaxSecond;
|
||||
private String mp4SavePath;
|
||||
private Integer rtmpDemand;
|
||||
private Integer rtspDemand;
|
||||
private Integer tsDemand;
|
||||
}
|
@ -29,4 +29,7 @@ public class ServerConfig {
|
||||
|
||||
@JsonUnwrapped(prefix = "multicast.")
|
||||
private MulticastConfig multicast;
|
||||
|
||||
@JsonUnwrapped(prefix = "protocol.")
|
||||
private ProtocolConfig protocol;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user