Commit 38a85d432ae9bb861dbcbf090d68fb3dca0d85f6
1 parent
6c9d6f00
修复合并的bug
Showing
2 changed files
with
2 additions
and
4 deletions
src/main/java/com/genersoft/iot/vmp/common/StreamInfo.java
| @@ -236,8 +236,8 @@ public class StreamInfo implements Serializable, Cloneable{ | @@ -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 | if (port > 0) { | 241 | if (port > 0) { |
| 242 | this.rtc = new StreamURL("http", host, port, file); | 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,8 +127,6 @@ public class NotifyRequestProcessor extends SIPRequestProcessorParent implements | ||
| 127 | } | 127 | } |
| 128 | }catch (Exception e) { | 128 | }catch (Exception e) { |
| 129 | logger.error("处理NOTIFY消息时错误", e); | 129 | logger.error("处理NOTIFY消息时错误", e); |
| 130 | - }finally { | ||
| 131 | - taskQueueHandlerRun = false; | ||
| 132 | } | 130 | } |
| 133 | }); | 131 | }); |
| 134 | } | 132 | } |