修复码流类型的设置与重置

This commit is contained in:
648540858
2024-10-22 22:54:37 +08:00
parent 92ccadf4bf
commit 2be43429fb
4 changed files with 5 additions and 6 deletions

View File

@@ -327,7 +327,6 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
@Override
public void updateChannelStreamIdentification(DeviceChannel channel) {
Assert.isTrue(channel.getId() > 0, "通道ID必须存在");
Assert.hasLength(channel.getStreamIdentification(), "码流标识必须存在");
if (ObjectUtils.isEmpty(channel.getStreamIdentification())) {
log.info("[重置通道码流类型] 设备: {}, 码流: {}", channel.getDeviceId(), channel.getStreamIdentification());