Commit 38a85d432ae9bb861dbcbf090d68fb3dca0d85f6

Authored by 648540858
1 parent 6c9d6f00

修复合并的bug

src/main/java/com/genersoft/iot/vmp/common/StreamInfo.java
... ... @@ -236,8 +236,8 @@ public class StreamInfo implements Serializable, Cloneable{
236 236 }
237 237 }
238 238  
239   - public void setRtc(String host, int port, int sslPort, String app, String stream, String callIdParam) {
240   - String file = String.format("index/api/webrtc?app=%s&stream=%s&type=play%s", app, stream, callIdParam);
  239 + public void setRtc(String host, int port, int sslPort, String app, String stream, String callIdParam, boolean isPlay) {
  240 + String file = String.format("index/api/webrtc?app=%s&stream=%s&type=%s%s", app, stream, isPlay?"play":"push", callIdParam);
241 241 if (port > 0) {
242 242 this.rtc = new StreamURL("http", host, port, file);
243 243 }
... ...
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/NotifyRequestProcessor.java
... ... @@ -127,8 +127,6 @@ public class NotifyRequestProcessor extends SIPRequestProcessorParent implements
127 127 }
128 128 }catch (Exception e) {
129 129 logger.error("处理NOTIFY消息时错误", e);
130   - }finally {
131   - taskQueueHandlerRun = false;
132 130 }
133 131 });
134 132 }
... ...