zlm rtp_proxy 配置

This commit is contained in:
shikong 2023-08-18 16:32:25 +08:00
parent a2f1fee7a2
commit 2f92fc6a86
2 changed files with 25 additions and 0 deletions

View File

@ -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;
}

View File

@ -44,4 +44,7 @@ public class ServerConfig {
@JsonUnwrapped(prefix = "rtp.")
private RtpConfig rtp;
@JsonUnwrapped(prefix = "rtp_proxy.")
private RtpProxyConfig rtpProxy;
}