zlm rtp_proxy 配置
This commit is contained in:
parent
a2f1fee7a2
commit
2f92fc6a86
@ -0,0 +1,22 @@
|
||||
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 RtpProxyConfig {
|
||||
@JsonProperty("dumpDir")
|
||||
private String dumpDir;
|
||||
private Integer gopCache;
|
||||
private Integer h264Pt;
|
||||
private Integer h265Pt;
|
||||
private Integer opusPt;
|
||||
private Integer port;
|
||||
private String portRange;
|
||||
private Integer psPt;
|
||||
@JsonProperty("timeoutSec")
|
||||
private Integer timeoutSec;
|
||||
}
|
@ -44,4 +44,7 @@ public class ServerConfig {
|
||||
|
||||
@JsonUnwrapped(prefix = "rtp.")
|
||||
private RtpConfig rtp;
|
||||
|
||||
@JsonUnwrapped(prefix = "rtp_proxy.")
|
||||
private RtpProxyConfig rtpProxy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user