zlm rtp 配置

This commit is contained in:
shikong 2023-08-18 15:38:44 +08:00
parent 8c71104071
commit a2f1fee7a2
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package cn.skcks.docking.gb28181.media.dto.config;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class RtpConfig {
private Integer audioMtuSize;
@JsonProperty("h264_stap_a")
private Integer h264StapA;
private Integer lowLatency;
private Integer rtpMaxSize;
private Integer videoMtuSize;
}

View File

@ -41,4 +41,7 @@ public class ServerConfig {
@JsonUnwrapped(prefix = "rtmp.") @JsonUnwrapped(prefix = "rtmp.")
private RtmpConfig rtmp; private RtmpConfig rtmp;
@JsonUnwrapped(prefix = "rtp.")
private RtpConfig rtp;
} }