| | |
| | |
|
| | | 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;
|
| | |
|
| | | /**
|
| | |
| | | * @param device 视频设备
|
| | | * @param channelId 预览通道
|
| | | */
|
| | | void playStreamCmd(Device device, String channelId, ZLMHttpHookSubscribe.Event event);
|
| | | void playStreamCmd(Device device, String channelId, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 请求回放视频流
|
| | |
| | | * @param startTime 开始时间,格式要求:yyyy-MM-dd HH:mm:ss
|
| | | * @param endTime 结束时间,格式要求:yyyy-MM-dd HH:mm:ss
|
| | | */
|
| | | void playbackStreamCmd(Device device, String channelId, String startTime, String endTime, ZLMHttpHookSubscribe.Event event);
|
| | | void playbackStreamCmd(Device device, String channelId, String startTime, String endTime, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 视频流停止
|
| | |
| | | *
|
| | | * @param device 视频设备
|
| | | */
|
| | | boolean catalogQuery(Device device);
|
| | | boolean catalogQuery(Device device, SipSubscribe.Event errorEvent);
|
| | |
|
| | | /**
|
| | | * 查询录像信息
|
| | |
| | | * @param device 视频设备
|
| | | */
|
| | | boolean mobilePostitionQuery(Device device);
|
| | |
|
| | | /**
|
| | | * 释放rtpserver
|
| | | * @param device
|
| | | * @param channelId
|
| | | */
|
| | | void closeRTPServer(Device device, String channelId);
|
| | | }
|