648540858
2023-03-20 b3c4636520e58c27a71409c764c2017c695682c1
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java
@@ -249,7 +249,7 @@
   @Parameter(name = "timeout", description = "推流超时时间(秒)", required = true)
   @GetMapping("/broadcast/{deviceId}/{channelId}")
   @PostMapping("/broadcast/{deviceId}/{channelId}")
    public AudioBroadcastResult broadcastApi(@PathVariable String deviceId, @PathVariable String channelId, Integer timeout) {
    public AudioBroadcastResult broadcastApi(@PathVariable String deviceId, @PathVariable String channelId, Integer timeout, Boolean broadcastMode) {
        if (logger.isDebugEnabled()) {
            logger.debug("语音广播API调用");
        }
@@ -261,7 +261,7 @@
         throw new ControllerException(ErrorCode.ERROR400.getCode(), "未找到通道: " + channelId);
      }
      return playService.audioBroadcast(device, channelId);
      return playService.audioBroadcast(device, channelId, broadcastMode);
   }