SendRtpItem.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. public class SendRtpItem {
  3. /**
  4. * 推流ip
  5. */
  6. private String ip;
  7. /**
  8. * 推流端口
  9. */
  10. private int port;
  11. /**
  12. * 推流标识
  13. */
  14. private String ssrc;
  15. /**
  16. * 平台id
  17. */
  18. private String platformId;
  19. /**
  20. * 对应设备id
  21. */
  22. private String deviceId;
  23. /**
  24. * 直播流的应用名
  25. */
  26. private String app;
  27. /**
  28. * 通道id
  29. */
  30. private String channelId;
  31. /**
  32. * 推流状态
  33. * 0 等待设备推流上来
  34. * 1 等待上级平台回复ack
  35. * 2 推流中
  36. */
  37. private int status = 0;
  38. /**
  39. * 设备推流的streamId
  40. */
  41. private String streamId;
  42. /**
  43. * 是否为tcp
  44. */
  45. private boolean tcp;
  46. /**
  47. * 是否为tcp主动模式
  48. */
  49. private boolean tcpActive;
  50. /**
  51. * 自己推流使用的端口
  52. */
  53. private int localPort;
  54. /**
  55. * 使用的流媒体
  56. */
  57. private String mediaServerId;
  58. /**
  59. * invite的callId
  60. */
  61. private String CallId;
  62. /**
  63. * 是否是play, false是playback
  64. */
  65. private boolean isPlay;
  66. private byte[] transaction;
  67. private byte[] dialog;
  68. public String getIp() {
  69. return ip;
  70. }
  71. public void setIp(String ip) {
  72. this.ip = ip;
  73. }
  74. public int getPort() {
  75. return port;
  76. }
  77. public void setPort(int port) {
  78. this.port = port;
  79. }
  80. public String getSsrc() {
  81. return ssrc;
  82. }
  83. public void setSsrc(String ssrc) {
  84. this.ssrc = ssrc;
  85. }
  86. public String getPlatformId() {
  87. return platformId;
  88. }
  89. public void setPlatformId(String platformId) {
  90. this.platformId = platformId;
  91. }
  92. public String getDeviceId() {
  93. return deviceId;
  94. }
  95. public void setDeviceId(String deviceId) {
  96. this.deviceId = deviceId;
  97. }
  98. public String getChannelId() {
  99. return channelId;
  100. }
  101. public void setChannelId(String channelId) {
  102. this.channelId = channelId;
  103. }
  104. public int getStatus() {
  105. return status;
  106. }
  107. public void setStatus(int status) {
  108. this.status = status;
  109. }
  110. public String getApp() {
  111. return app;
  112. }
  113. public void setApp(String app) {
  114. this.app = app;
  115. }
  116. public String getStreamId() {
  117. return streamId;
  118. }
  119. public void setStreamId(String streamId) {
  120. this.streamId = streamId;
  121. }
  122. public boolean isTcp() {
  123. return tcp;
  124. }
  125. public void setTcp(boolean tcp) {
  126. this.tcp = tcp;
  127. }
  128. public int getLocalPort() {
  129. return localPort;
  130. }
  131. public void setLocalPort(int localPort) {
  132. this.localPort = localPort;
  133. }
  134. public boolean isTcpActive() {
  135. return tcpActive;
  136. }
  137. public void setTcpActive(boolean tcpActive) {
  138. this.tcpActive = tcpActive;
  139. }
  140. public String getMediaServerId() {
  141. return mediaServerId;
  142. }
  143. public void setMediaServerId(String mediaServerId) {
  144. this.mediaServerId = mediaServerId;
  145. }
  146. public String getCallId() {
  147. return CallId;
  148. }
  149. public void setCallId(String callId) {
  150. CallId = callId;
  151. }
  152. public boolean isPlay() {
  153. return isPlay;
  154. }
  155. public void setPlay(boolean play) {
  156. isPlay = play;
  157. }
  158. public byte[] getTransaction() {
  159. return transaction;
  160. }
  161. public void setTransaction(byte[] transaction) {
  162. this.transaction = transaction;
  163. }
  164. public byte[] getDialog() {
  165. return dialog;
  166. }
  167. public void setDialog(byte[] dialog) {
  168. this.dialog = dialog;
  169. }
  170. }