SendRtpItem.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. public String getIp() {
  67. return ip;
  68. }
  69. public void setIp(String ip) {
  70. this.ip = ip;
  71. }
  72. public int getPort() {
  73. return port;
  74. }
  75. public void setPort(int port) {
  76. this.port = port;
  77. }
  78. public String getSsrc() {
  79. return ssrc;
  80. }
  81. public void setSsrc(String ssrc) {
  82. this.ssrc = ssrc;
  83. }
  84. public String getPlatformId() {
  85. return platformId;
  86. }
  87. public void setPlatformId(String platformId) {
  88. this.platformId = platformId;
  89. }
  90. public String getDeviceId() {
  91. return deviceId;
  92. }
  93. public void setDeviceId(String deviceId) {
  94. this.deviceId = deviceId;
  95. }
  96. public String getChannelId() {
  97. return channelId;
  98. }
  99. public void setChannelId(String channelId) {
  100. this.channelId = channelId;
  101. }
  102. public int getStatus() {
  103. return status;
  104. }
  105. public void setStatus(int status) {
  106. this.status = status;
  107. }
  108. public String getApp() {
  109. return app;
  110. }
  111. public void setApp(String app) {
  112. this.app = app;
  113. }
  114. public String getStreamId() {
  115. return streamId;
  116. }
  117. public void setStreamId(String streamId) {
  118. this.streamId = streamId;
  119. }
  120. public boolean isTcp() {
  121. return tcp;
  122. }
  123. public void setTcp(boolean tcp) {
  124. this.tcp = tcp;
  125. }
  126. public int getLocalPort() {
  127. return localPort;
  128. }
  129. public void setLocalPort(int localPort) {
  130. this.localPort = localPort;
  131. }
  132. public boolean isTcpActive() {
  133. return tcpActive;
  134. }
  135. public void setTcpActive(boolean tcpActive) {
  136. this.tcpActive = tcpActive;
  137. }
  138. public String getMediaServerId() {
  139. return mediaServerId;
  140. }
  141. public void setMediaServerId(String mediaServerId) {
  142. this.mediaServerId = mediaServerId;
  143. }
  144. public String getCallId() {
  145. return CallId;
  146. }
  147. public void setCallId(String callId) {
  148. CallId = callId;
  149. }
  150. public boolean isPlay() {
  151. return isPlay;
  152. }
  153. public void setPlay(boolean play) {
  154. isPlay = play;
  155. }
  156. }