File was renamed from src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java |
| | |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | @Schema(description = "流媒体服务信息") |
| | | public class MediaServerItem{ |
| | | public class MediaServer { |
| | | |
| | | @Schema(description = "ID") |
| | | private String id; |
| | |
| | | @Schema(description = "类型: zlm/abl") |
| | | private String type; |
| | | |
| | | public MediaServerItem() { |
| | | public MediaServer() { |
| | | } |
| | | |
| | | public MediaServerItem(ZLMServerConfig zlmServerConfig, String sipIp) { |
| | | public MediaServer(ZLMServerConfig zlmServerConfig, String sipIp) { |
| | | id = zlmServerConfig.getGeneralMediaServerId(); |
| | | ip = zlmServerConfig.getIp(); |
| | | hookIp = ObjectUtils.isEmpty(zlmServerConfig.getHookIp())? sipIp: zlmServerConfig.getHookIp(); |