From cb8011909063b330f5da6cdb03c2e329b97b18a2 Mon Sep 17 00:00:00 2001
From: 朱俊杰 <502612493@qq.com>
Date: 星期四, 31 三月 2022 09:19:45 +0800
Subject: [PATCH] 订阅查询错误和空指针
---
src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java | 70 +++++++++++++++++++++++++++++++++--
1 files changed, 66 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 e0220dc..a2c38ac 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
@@ -27,6 +27,11 @@
*/
private String deviceId;
+ /**
+ * 鐩存挱娴佺殑搴旂敤鍚�
+ */
+ private String app;
+
/**
* 閫氶亾id
*/
@@ -40,10 +45,6 @@
*/
private int status = 0;
- /**
- * 璁惧鎺ㄦ祦鐨刟pp
- */
- private String app = "rtp";
/**
* 璁惧鎺ㄦ祦鐨剆treamId
@@ -64,6 +65,25 @@
* 鑷繁鎺ㄦ祦浣跨敤鐨勭鍙�
*/
private int localPort;
+
+ /**
+ * 浣跨敤鐨勬祦濯掍綋
+ */
+ private String mediaServerId;
+
+ /**
+ * invite鐨刢allId
+ */
+ private String CallId;
+
+ /**
+ * 鏄惁鏄痯lay锛� false鏄痯layback
+ */
+ private boolean isPlay;
+
+ private byte[] transaction;
+
+ private byte[] dialog;
public String getIp() {
return ip;
@@ -160,4 +180,46 @@
public void setTcpActive(boolean tcpActive) {
this.tcpActive = tcpActive;
}
+
+ public String getMediaServerId() {
+ return mediaServerId;
+ }
+
+ public void setMediaServerId(String mediaServerId) {
+ this.mediaServerId = mediaServerId;
+ }
+
+ public String getCallId() {
+ return CallId;
+ }
+
+ public void setCallId(String callId) {
+ CallId = callId;
+ }
+
+ public boolean isPlay() {
+ return isPlay;
+ }
+
+ public void setPlay(boolean play) {
+ isPlay = play;
+ }
+
+ public byte[] getTransaction() {
+ return transaction;
+ }
+
+ public void setTransaction(byte[] transaction) {
+ this.transaction = transaction;
+ }
+
+ public byte[] getDialog() {
+ return dialog;
+ }
+
+ public void setDialog(byte[] dialog) {
+ this.dialog = dialog;
+ }
+
+
}
--
Gitblit v1.8.0