|
|
@@ -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)) {
|