From c009637e0979741475e78c01551e7dcdcf99ecbf Mon Sep 17 00:00:00 2001 From: Lawrence <1934378145@qq.com> Date: 星期五, 13 十一月 2020 09:28:51 +0800 Subject: [PATCH] 增加录像回放结束后对设备发出的MediaStatus的回应并关流 --- src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java index 8381738..fdf4bc3 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IVideoManagerStorager.java @@ -1,6 +1,7 @@ package com.genersoft.iot.vmp.storager; import java.util.List; +import java.util.Map; import com.alibaba.fastjson.JSONObject; import com.genersoft.iot.vmp.common.PageResult; @@ -180,4 +181,14 @@ StreamInfo queryPlayBySSRC(String ssrc); StreamInfo queryPlayByDevice(String deviceId, String code); + + Map<String, StreamInfo> queryPlayByDeviceId(String deviceId); + + boolean startPlayback(StreamInfo streamInfo); + + boolean stopPlayback(StreamInfo streamInfo); + + StreamInfo queryPlaybackByDevice(String deviceId, String channelId); + + StreamInfo queryPlaybackBySSRC(String ssrc); } -- Gitblit v1.8.0