修复通道重新编码后分屏播放失败的BUG

pull/1669/head
648540858 2024-10-23 09:57:44 +08:00
parent 92ccadf4bf
commit 02ab2ba311
1 changed files with 1 additions and 1 deletions

View File

@ -1636,7 +1636,7 @@ public class PlayServiceImpl implements IPlayService {
log.warn("[点播] 未找到可用媒体节点");
throw new PlayException(Response.SERVER_INTERNAL_ERROR, "server internal error");
}
DeviceChannel deviceChannel = deviceChannelService.getOneById(channel.getGbId());
DeviceChannel deviceChannel = deviceChannelService.getOneForSourceById(channel.getGbId());
play(mediaServer, device, deviceChannel, null, callback);
}