| | |
| | | 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.bean.InviteStreamCallback;
|
| | | import com.genersoft.iot.vmp.gb28181.bean.*;
|
| | | import com.genersoft.iot.vmp.gb28181.event.SipSubscribe;
|
| | | import com.genersoft.iot.vmp.media.zlm.ZLMHttpHookSubscribe;
|
| | | import com.genersoft.iot.vmp.media.zlm.ZlmHttpHookSubscribe;
|
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem;
|
| | | import com.genersoft.iot.vmp.service.bean.SSRCInfo;
|
| | |
|
| | |
| | | * @param device 视频设备
|
| | | * @param channelId 预览通道
|
| | | */
|
| | | void playStreamCmd(MediaServerItem mediaServerItem, SSRCInfo ssrcInfo, Device device, String channelId, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent);
|
| | | |
| | | void playStreamCmd(MediaServerItem mediaServerItem, SSRCInfo ssrcInfo, Device device, String channelId, ZlmHttpHookSubscribe.Event event, SipSubscribe.Event okEvent, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 请求回放视频流
|
| | | *
|
| | |
| | | * @param startTime 开始时间,格式要求:yyyy-MM-dd HH:mm:ss
|
| | | * @param endTime 结束时间,格式要求:yyyy-MM-dd HH:mm:ss
|
| | | */
|
| | | void playbackStreamCmd(MediaServerItem mediaServerItem, SSRCInfo ssrcInf, Device device, String channelId, String startTime, String endTime,InviteStreamCallback inviteStreamCallback, InviteStreamCallback event, SipSubscribe.Event errorEvent);
|
| | | void playbackStreamCmd(MediaServerItem mediaServerItem, SSRCInfo ssrcInf, Device device, String channelId, String startTime, String endTime,InviteStreamCallback inviteStreamCallback, InviteStreamCallback event, SipSubscribe.Event okEvent, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 请求历史媒体下载
|
| | |
| | | * 回放倍速播放
|
| | | */
|
| | | void playSpeedCmd(Device device, StreamInfo streamInfo, Double speed);
|
| | | |
| | | /**
|
| | | * 回放控制
|
| | | * @param device
|
| | | * @param streamInfo
|
| | | * @param content
|
| | | */
|
| | | void playbackControlCmd(Device device, StreamInfo streamInfo, String content,SipSubscribe.Event errorEvent, SipSubscribe.Event okEvent);
|
| | |
|
| | | /**
|
| | | * 语音广播
|
| | |
| | | *
|
| | | * @param device 视频设备
|
| | | */
|
| | | boolean catalogQuery(Device device, SipSubscribe.Event errorEvent);
|
| | | boolean catalogQuery(Device device, int sn, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 查询录像信息
|
| | |
| | | * @param cmdString 前端控制指令串
|
| | | */
|
| | | boolean dragZoomCmd(Device device, String channelId, String cmdString);
|
| | |
|
| | |
|
| | | /**
|
| | | * 向设备发送报警NOTIFY消息, 用于互联结构下,此时将设备当成一个平级平台看待
|
| | | * @param device 设备
|
| | | * @param deviceAlarm 报警信息信息
|
| | | * @return
|
| | | */
|
| | | boolean sendAlarmMessage(Device device, DeviceAlarm deviceAlarm);
|
| | | }
|