648540858
2020-11-13 33b51c40ddd9750a19b2c6a6618fb22386f87cd7
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommander.java
@@ -1,10 +1,11 @@
package com.genersoft.iot.vmp.gb28181.transmit.cmd;
import com.genersoft.iot.vmp.common.StreamInfo;
import com.genersoft.iot.vmp.gb28181.bean.Device;
/**    
 * @Description:设备能力接口,用于定义设备的控制、查询能力   
 * @author: songww
 * @author: swwheihei
 * @date:   2020年5月3日 下午9:16:34     
 */
public interface ISIPCommander {
@@ -64,12 +65,24 @@
   public boolean ptzCmd(Device device,String channelId,int leftRight, int upDown, int inOut, int moveSpeed, int zoomSpeed);
   
   /**
    * 前端控制,包括PTZ指令、FI指令、预置位指令、巡航指令、扫描指令和辅助开关指令
    *
    * @param device        控制设备
    * @param channelId      预览通道
    * @param cmdCode      指令码
     * @param parameter1   数据1
     * @param parameter2   数据2
     * @param combineCode2   组合码2
    */
   public boolean frontEndCmd(Device device, String channelId, int cmdCode, int parameter1, int parameter2, int combineCode2);
   /**
    * 请求预览视频流
    * 
    * @param device  视频设备
    * @param channelId  预览通道
    */
   public String playStreamCmd(Device device,String channelId);
   public StreamInfo playStreamCmd(Device device, String channelId);
   
   /**
    * 请求回放视频流
@@ -79,7 +92,14 @@
    * @param startTime 开始时间,格式要求:yyyy-MM-dd HH:mm:ss
    * @param endTime 结束时间,格式要求:yyyy-MM-dd HH:mm:ss
    */
   public String playbackStreamCmd(Device device,String channelId, String startTime, String endTime);
   public StreamInfo playbackStreamCmd(Device device,String channelId, String startTime, String endTime);
   /**
    * 视频流停止
    *
    * @param ssrc  ssrc
    */
   public void streamByeCmd(String ssrc);
   
   /**
    * 语音广播