From 3cb10100a3b417cd79e3cca2a4403c06410da21b Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Fri, 18 Aug 2023 13:57:49 +0800 Subject: [PATCH] =?UTF-8?q?zlm=20multicast=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gb28181/media/dto/config/MulticastConfig.java | 10 ++++++++++ .../docking/gb28181/media/dto/config/ServerConfig.java | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/MulticastConfig.java diff --git a/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/MulticastConfig.java b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/MulticastConfig.java new file mode 100644 index 0000000..7d5e5a8 --- /dev/null +++ b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/MulticastConfig.java @@ -0,0 +1,10 @@ +package cn.skcks.docking.gb28181.media.dto.config; + +import lombok.Data; + +@Data +public class MulticastConfig { + private String addrMax; + private String addrMin; + private Integer udpTTL; +} diff --git a/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/ServerConfig.java b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/ServerConfig.java index 4ee9cc9..45582f8 100644 --- a/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/ServerConfig.java +++ b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/dto/config/ServerConfig.java @@ -26,4 +26,7 @@ public class ServerConfig { @JsonUnwrapped(prefix = "http.") private HttpConfig http; + + @JsonUnwrapped(prefix = "multicast.") + private MulticastConfig multicast; }