From a42dda2bd3cc1cf8c20cc61e7ad9211eadecbaf3 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 24 二月 2022 16:55:06 +0800 Subject: [PATCH] 规范数据库,添加必要约束,优化通道批量导入功能 --- src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java | 33 ++++++++++++++++++++++++++++++++- 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java index 9f41377..8be07ca 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java @@ -1,5 +1,6 @@ package com.genersoft.iot.vmp.gb28181.transmit.cmd; +import com.genersoft.iot.vmp.common.StreamInfo; import com.genersoft.iot.vmp.gb28181.bean.Device; import com.genersoft.iot.vmp.gb28181.event.SipSubscribe; import com.genersoft.iot.vmp.media.zlm.ZLMHttpHookSubscribe; @@ -122,6 +123,26 @@ void streamByeCmd(String deviceId, String channelId); /** + * 鍥炴斁鏆傚仠 + */ + void playPauseCmd(Device device, StreamInfo streamInfo); + + /** + * 鍥炴斁鎭㈠ + */ + void playResumeCmd(Device device, StreamInfo streamInfo); + + /** + * 鍥炴斁鎷栧姩鎾斁 + */ + void playSeekCmd(Device device, StreamInfo streamInfo, long seekTime); + + /** + * 鍥炴斁鍊嶉�熸挱鏀� + */ + void playSpeedCmd(Device device, StreamInfo streamInfo, Double speed); + + /** * 璇煶骞挎挱 * * @param device 瑙嗛璁惧 @@ -235,8 +256,9 @@ * @param device 瑙嗛璁惧 * @param startTime 寮�濮嬫椂闂�,鏍煎紡瑕佹眰锛歽yyy-MM-dd HH:mm:ss * @param endTime 缁撴潫鏃堕棿,鏍煎紡瑕佹眰锛歽yyy-MM-dd HH:mm:ss + * @param sn */ - boolean recordInfoQuery(Device device, String channelId, String startTime, String endTime); + boolean recordInfoQuery(Device device, String channelId, String startTime, String endTime, int sn, SipSubscribe.Event errorEvent); /** * 鏌ヨ鎶ヨ淇℃伅 @@ -306,4 +328,13 @@ * @return true = 鍛戒护鍙戦�佹垚鍔� */ boolean catalogSubscribe(Device device, SipSubscribe.Event okEvent ,SipSubscribe.Event errorEvent); + + /** + * 鎷夋鎺у埗鍛戒护 + * + * @param device 鎺у埗璁惧 + * @param channelId 閫氶亾id + * @param cmdString 鍓嶇鎺у埗鎸囦护涓� + */ + boolean dragZoomCmd(Device device, String channelId, String cmdString); } -- Gitblit v1.8.0