| | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Yaml配置参数 实体类 |
| | | */ |
| | |
| | | |
| | | public static String publicKey; |
| | | public static String privateKey; |
| | | |
| | | public static List<String> videoStreamIds; |
| | | |
| | | @Value("${custom.rsa.publicKey}") |
| | | public void setPublicKey(String publicKey) { |
| | |
| | | public void setFtpPassword(String ftpPassword){ |
| | | YamlProperties.ftpPassword=ftpPassword; |
| | | }*/ |
| | | |
| | | |
| | | @Value("${video.streamIds}") |
| | | public void setVideoStreamIds(List<String> videoStreamIds) { |
| | | YamlProperties.videoStreamIds = videoStreamIds; |
| | | } |
| | | } |