Commit 5e5437b6306b1a044d5b5c393e01a79a13ed7c30
1 parent
4b4afa4e
添加国标级联录像控制功能
Showing
3 changed files
with
3 additions
and
3 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java
| ... | ... | @@ -150,7 +150,7 @@ public interface ISIPCommander { |
| 150 | 150 | * @param streamInfo |
| 151 | 151 | * @param content |
| 152 | 152 | */ |
| 153 | - void playbackControlCmd(Device device, StreamInfo streamInfo, String content,SipSubscribe.Event errorEvent, SipSubscribe.Event okEvent); | |
| 153 | + void playbackControlCmd(Device device, StreamInfo streamInfo, String content,SipSubscribe.Event errorEvent, SipSubscribe.Event okEvent); | |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | 156 | * 语音广播 | ... | ... |
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommander.java
| ... | ... | @@ -1833,7 +1833,7 @@ public class SIPCommander implements ISIPCommander { |
| 1833 | 1833 | public void playbackControlCmd(Device device, StreamInfo streamInfo, String content,SipSubscribe.Event errorEvent, SipSubscribe.Event okEvent) { |
| 1834 | 1834 | try { |
| 1835 | 1835 | Request request = headerProvider.createInfoRequest(device, streamInfo, content); |
| 1836 | - if (request == null) { | |
| 1836 | + if (request == null) { | |
| 1837 | 1837 | return; |
| 1838 | 1838 | } |
| 1839 | 1839 | logger.info(request.toString()); | ... | ... |
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/info/InfoRequestProcessor.java
| ... | ... | @@ -106,7 +106,7 @@ public class InfoRequestProcessor extends SIPRequestProcessorParent implements I |
| 106 | 106 | } |
| 107 | 107 | Device device1 = storager.queryVideoDevice(streamInfo.getDeviceID()); |
| 108 | 108 | cmder.playbackControlCmd(device1,streamInfo,new String(evt.getRequest().getRawContent()),eventResult -> { |
| 109 | - // 失败的回复 | |
| 109 | + // 失败的回复 | |
| 110 | 110 | try { |
| 111 | 111 | responseAck(evt, eventResult.statusCode, eventResult.msg); |
| 112 | 112 | } catch (SipException e) { | ... | ... |