fix(wms): 更新关闭拉流 API 接口参数
- 修改了 API URL 的构造方式,增加了 key 参数 - 更新了参数格式,以适应 API 接口的最新要求
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user