|  |  | 
 |  |  | 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;
 | 
 |  |  | 
 |  |  |    /**
 | 
 |  |  |     * 视频流停止
 | 
 |  |  |     */
 | 
 |  |  |    void streamByeCmd(String deviceId, String channelId, SipSubscribe.Event okEvent);
 | 
 |  |  |    void streamByeCmd(String deviceId, String channelId);
 | 
 |  |  |    void streamByeCmd(String deviceId, String channelId, String stream, SipSubscribe.Event okEvent);
 | 
 |  |  |    void streamByeCmd(String deviceId, String channelId, String stream);
 | 
 |  |  | 
 | 
 |  |  |    /**
 | 
 |  |  |     * 回放暂停
 | 
 |  |  |     */
 | 
 |  |  |    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 视频设备
 | 
 |  |  |     * @param startTime 开始时间,格式要求:yyyy-MM-dd HH:mm:ss
 | 
 |  |  |     * @param endTime 结束时间,格式要求:yyyy-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,  Integer Secrecy, String type, SipSubscribe.Event okEvent, SipSubscribe.Event errorEvent);
 | 
 |  |  |    
 | 
 |  |  |    /**
 | 
 |  |  |     * 查询报警信息
 | 
 |  |  | 
 |  |  |     * @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);
 | 
 |  |  | }
 |