注释优化

结构优化
648540858 2024-01-14 11:15:46 +08:00
parent be011a7c85
commit 25a46d1833
1 changed files with 4 additions and 21 deletions

View File

@ -15,33 +15,23 @@ public interface IStreamProxyService {
/** /**
* *
* @param param
*/ */
void save(StreamProxy param, GeneralCallback<StreamInfo> callback); void save(StreamProxy param, GeneralCallback<StreamInfo> callback);
/** /**
* *
* @param page
* @param count
* @return
*/ */
PageInfo<StreamProxy> getAll(String query, Boolean online, String mediaServerId, Integer page, Integer count); PageInfo<StreamProxy> getAll(String query, Boolean online, String mediaServerId, Integer page, Integer count);
/** /**
* *
* @param app
* @param stream
* @return
*/ */
void start(String app, String stream, GeneralCallback<StreamInfo> callback); void start(String app, String stream, GeneralCallback<StreamInfo> callback);
/** /**
* *
* @param status
* @param app
* @param stream
*/ */
void updateStatus(boolean status, String app, String stream); void updateStatus(boolean status, String app, String stream);
@ -49,42 +39,32 @@ public interface IStreamProxyService {
/** /**
* *
* @param app
* @param stream
* @return
*/ */
void stop(String app, String stream, GeneralCallback<StreamInfo> callback); void stop(String app, String stream, GeneralCallback<StreamInfo> callback);
/** /**
* ffmpeg.cmd * ffmpeg.cmd
* @return
*/ */
JSONObject getFFmpegCMDs(MediaServerItem mediaServerItem); JSONObject getFFmpegCMDs(MediaServerItem mediaServerItem);
/** /**
* appstreamstreamProxy * appstreamstreamProxy
* @return
*/ */
StreamProxy getStreamProxyByAppAndStream(String app, String streamId); StreamProxy getStreamProxyByAppAndStream(String app, String streamId);
/** /**
* *
* @param mediaServerId
* @return
*/ */
void zlmServerOnline(String mediaServerId); void zlmServerOnline(String mediaServerId);
/** /**
* 线 * 线
* @param mediaServerId
* @return
*/ */
void zlmServerOffline(String mediaServerId); void zlmServerOffline(String mediaServerId);
/** /**
* *
* @return
*/ */
ResourceBaseInfo getOverview(); ResourceBaseInfo getOverview();
@ -103,7 +83,10 @@ public interface IStreamProxyService {
*/ */
void add(StreamProxy param, GeneralCallback<StreamInfo> callback); void add(StreamProxy param, GeneralCallback<StreamInfo> callback);
void removeProxy(int gbId); /**
*
*/
void removeProxy(int id);
/** /**
* *