修复前端播放

This commit is contained in:
648540858
2022-09-05 09:40:14 +08:00
parent 03d6ad289b
commit cfe9c762d6
6 changed files with 44 additions and 44 deletions

View File

@@ -266,12 +266,11 @@ public class PlayController {
@Parameter(name = "channelId", description = "通道Id", required = true)
@GetMapping("/broadcast/stop/{deviceId}/{channelId}")
@PostMapping("/broadcast/stop/{deviceId}/{channelId}")
public WVPResult<String> stopBroadcastA(@PathVariable String deviceId, @PathVariable String channelId) {
public void stopBroadcastA(@PathVariable String deviceId, @PathVariable String channelId) {
if (logger.isDebugEnabled()) {
logger.debug("停止语音广播API调用");
}
playService.stopAudioBroadcast(deviceId, channelId);
return new WVPResult<>(0, "success", null);
}
@Operation(summary = "获取所有的ssrc")