From 39feebece9bf7e77280832e3fd8726188489e3d7 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 23 Aug 2023 18:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20ssrc=20=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/skcks/docking/gb28181/service/ssrc/SsrcService.java | 2 ++ starter/src/test/resources/application.yml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/ssrc/SsrcService.java b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/ssrc/SsrcService.java index d726bde..2bf5aec 100644 --- a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/ssrc/SsrcService.java +++ b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/ssrc/SsrcService.java @@ -8,11 +8,13 @@ import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.springframework.context.annotation.DependsOn; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; +@DependsOn("redisUtil") @Slf4j @Service @RequiredArgsConstructor diff --git a/starter/src/test/resources/application.yml b/starter/src/test/resources/application.yml index d98a704..26651ce 100644 --- a/starter/src/test/resources/application.yml +++ b/starter/src/test/resources/application.yml @@ -47,3 +47,10 @@ gb28181: password: 123456 # 是否存储alarm信息 alarm: true + +media: + ip: 10.10.10.200 + url: 'http://10.10.10.200:5080' + # url: 'http://10.10.10.200:12580/anything/' + id: amrWMKmbKqoBjRQ9 + secret: 4155cca6-2f9f-11ee-85e6-8de4ce2e7333