修复启动偶现报错

This commit is contained in:
648540858
2023-03-21 14:22:40 +08:00
parent ebe24a6c32
commit 4eac6dcc94

View File

@@ -87,7 +87,9 @@ public class AudioBroadcastManager {
public List<AudioBroadcastCatch> get(String deviceId) {
List<AudioBroadcastCatch> audioBroadcastCatchList= new ArrayList<>();
if (SipUtils.isFrontEnd(deviceId)) {
audioBroadcastCatchList.add(data.get(deviceId));
if (data.get(deviceId) != null) {
audioBroadcastCatchList.add(data.get(deviceId));
}
}else {
for (String key : data.keySet()) {
if (key.startsWith(deviceId)) {