From 42d8fff57403500b880886e13093e1841bf47e54 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 03 十二月 2021 10:18:50 +0800 Subject: [PATCH] 兼容流注销时流产生类型错误的问题 --- src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java index 69bcd84..172213d 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java @@ -127,7 +127,7 @@ * 鍙戦�佹帹娴佺敓鎴愪笌鎺ㄦ祦娑堝け娑堟伅 * @param jsonObject 娑堟伅鍐呭 */ - void sendStreamChangeMsg(JSONObject jsonObject); + void sendStreamChangeMsg(String type, JSONObject jsonObject); /** * 娣诲姞娴佷俊鎭埌redis @@ -135,7 +135,7 @@ * @param app * @param streamId */ - void addStream(MediaServerItem mediaServerItem, String app, String streamId, StreamInfo streamInfo); + void addStream(MediaServerItem mediaServerItem, String type, String app, String streamId, StreamInfo streamInfo); /** * 绉婚櫎娴佷俊鎭粠redis @@ -143,5 +143,13 @@ * @param app * @param streamId */ - void removeStream(MediaServerItem mediaServerItem, String app, String streamId); + void removeStream(MediaServerItem mediaServerItem, String type, String app, String streamId); + + /** + * 寮�濮嬩笅杞藉綍鍍忔椂瀛樺叆 + * @param streamInfo + */ + boolean startDownload(StreamInfo streamInfo); + + StreamInfo queryDownloadByStreamId(String streamId); } -- Gitblit v1.8.0