feat(streamProxy): Service接口新增getStreamProxyByCameraCode方法
- 在 IStreamProxyService 接口中新增 getStreamProxyByCameraCode(String cameraCode) 方法 - 支持根据 camera_code 查询拉流代理对象 - 为后续前端改造提供接口支持 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -87,4 +87,11 @@ public interface IStreamProxyService {
|
|||||||
|
|
||||||
void delete(int id);
|
void delete(int id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据 camera_code 获取拉流代理
|
||||||
|
* @param cameraCode 摄像头全局唯一编码
|
||||||
|
* @return StreamProxy 对象,不存在返回 null
|
||||||
|
*/
|
||||||
|
StreamProxy getStreamProxyByCameraCode(String cameraCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user