From c8b9e590efaf5e7a10724b5f26f14de741e3c8a7 Mon Sep 17 00:00:00 2001 From: chenjialing <595168663@qq.com> Date: 星期五, 25 二月 2022 09:23:46 +0800 Subject: [PATCH] 日志优化--优化本地的日志记录方式,增加druid的sql的日志打印和监控面板,修改druid的配置方式 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java | 35 +++++++++++++++++++++++++++++++---- 1 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java index f3ec337..2c9c494 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java @@ -22,7 +22,17 @@ */ private String platformId; + /** + * 瀵瑰簲璁惧id + */ + private String deviceId; + /** + * 鐩存挱娴佺殑搴旂敤鍚� + */ + private String app; + + /** * 閫氶亾id */ private String channelId; @@ -35,10 +45,6 @@ */ private int status = 0; - /** - * 璁惧鎺ㄦ祦鐨刟pp - */ - private String app = "rtp"; /** * 璁惧鎺ㄦ祦鐨剆treamId @@ -59,6 +65,11 @@ * 鑷繁鎺ㄦ祦浣跨敤鐨勭鍙� */ private int localPort; + + /** + * 浣跨敤鐨勬祦濯掍綋 + */ + private String mediaServerId; public String getIp() { return ip; @@ -90,6 +101,14 @@ public void setPlatformId(String platformId) { this.platformId = platformId; + } + + public String getDeviceId() { + return deviceId; + } + + public void setDeviceId(String deviceId) { + this.deviceId = deviceId; } public String getChannelId() { @@ -147,4 +166,12 @@ public void setTcpActive(boolean tcpActive) { this.tcpActive = tcpActive; } + + public String getMediaServerId() { + return mediaServerId; + } + + public void setMediaServerId(String mediaServerId) { + this.mediaServerId = mediaServerId; + } } -- Gitblit v1.8.0