From f61051c46361c4863faf73db81062de0889900d4 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 24 十一月 2021 11:19:52 +0800 Subject: [PATCH] 优化streamchannge hook以及对推流的识别 --- src/main/java/com/genersoft/iot/vmp/service/IStreamProxyService.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IStreamProxyService.java b/src/main/java/com/genersoft/iot/vmp/service/IStreamProxyService.java index 2f7388a..4c68c61 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/IStreamProxyService.java +++ b/src/main/java/com/genersoft/iot/vmp/service/IStreamProxyService.java @@ -1,7 +1,10 @@ package com.genersoft.iot.vmp.service; import com.alibaba.fastjson.JSONObject; +import com.genersoft.iot.vmp.common.StreamInfo; +import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem; +import com.genersoft.iot.vmp.vmanager.bean.WVPResult; import com.github.pagehelper.PageInfo; public interface IStreamProxyService { @@ -10,7 +13,7 @@ * 淇濆瓨瑙嗛浠g悊 * @param param */ - String save(StreamProxyItem param); + WVPResult<StreamInfo> save(StreamProxyItem param); /** * 娣诲姞瑙嗛浠g悊鍒皕lm @@ -61,5 +64,5 @@ * 鑾峰彇ffmpeg.cmd妯℃澘 * @return */ - JSONObject getFFmpegCMDs(); + JSONObject getFFmpegCMDs(MediaServerItem mediaServerItem); } -- Gitblit v1.8.0