fix(wms): 更新关闭拉流 API 接口参数

- 修改了 API URL 的构造方式,增加了 key 参数
- 更新了参数格式,以适应 API 接口的最新要求
This commit is contained in:
JR
2025-08-08 16:18:17 +08:00
parent 6cddcd0837
commit b649399399

View File

@@ -121,7 +121,7 @@ public class WmsCameraManagementController extends BaseController {
}
// 2. 构造关闭拉流API地址
String apiUrl = String.format("%s/index/api/delStreamProxy?app=live&stream=%s&secret=%s",
String apiUrl = String.format("%s/index/api/delStreamProxy?key=__defaultVhost__/live/%s&secret=%s",
cameraConfig.getMediaServerHost(),
camera.getCameraCode(),
cameraConfig.getApiSecret());