| | |
| | | package com.genersoft.iot.vmp.service.impl; |
| | | |
| | | import com.genersoft.iot.vmp.common.InviteSessionType; |
| | | import com.genersoft.iot.vmp.common.VideoManagerConstants; |
| | | import com.genersoft.iot.vmp.conf.DynamicTask; |
| | | import com.genersoft.iot.vmp.conf.UserSetting; |
| | |
| | | if (device == null) { |
| | | return null; |
| | | } |
| | | if (ObjectUtils.isEmpty(parentId) || parentId.equals(deviceId)) { |
| | | parentId = null; |
| | | if (ObjectUtils.isEmpty(parentId) ) { |
| | | parentId = deviceId; |
| | | } |
| | | List<DeviceChannel> rootNodes = deviceChannelMapper.getSubChannelsByDeviceId(deviceId, parentId, onlyCatalog); |
| | | return transportChannelsToTree(rootNodes, ""); |