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:
2026-02-13 11:02:01 +08:00
parent 2b61113bab
commit 754677e11d

View File

@@ -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);
} }