修复点播调用判断

This commit is contained in:
648540858
2024-12-12 12:44:11 +08:00
parent 0a06ae9475
commit 4056955c59
2 changed files with 4 additions and 4 deletions

View File

@@ -293,7 +293,7 @@ public class PlayServiceImpl implements IPlayService {
public void play(Device device, DeviceChannel channel, ErrorCallback<StreamInfo> callback) {
// 判断设备是否属于当前平台, 如果不属于则发起自动调用
if (userSetting.getServerId().equals(device.getServerId())) {
if (!userSetting.getServerId().equals(device.getServerId())) {
redisRpcPlayService.play(device.getServerId(), channel.getId(), callback);
}else {
MediaServer mediaServerItem = getNewMediaServerItem(device);