修复语音对讲

This commit is contained in:
648540858
2024-09-11 16:59:52 +08:00
parent 91a8dc59a8
commit e078360928
11 changed files with 194 additions and 180 deletions

View File

@@ -457,7 +457,10 @@ public class StreamPushServiceImpl implements IStreamPushService {
}
List<CommonGBChannel> commonGBChannelList = new ArrayList<>();
for (StreamPush streamPush : streamPushList) {
commonGBChannelList.add(streamPush.buildCommonGBChannel());
CommonGBChannel commonGBChannel = streamPush.buildCommonGBChannel();
if (commonGBChannel != null) {
commonGBChannelList.add(streamPush.buildCommonGBChannel());
}
}
gbChannelService.offline(commonGBChannelList);
}