mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 21:37:48 +08:00
修复启动偶现报错
This commit is contained in:
parent
ebe24a6c32
commit
4eac6dcc94
@ -87,7 +87,9 @@ public class AudioBroadcastManager {
|
|||||||
public List<AudioBroadcastCatch> get(String deviceId) {
|
public List<AudioBroadcastCatch> get(String deviceId) {
|
||||||
List<AudioBroadcastCatch> audioBroadcastCatchList= new ArrayList<>();
|
List<AudioBroadcastCatch> audioBroadcastCatchList= new ArrayList<>();
|
||||||
if (SipUtils.isFrontEnd(deviceId)) {
|
if (SipUtils.isFrontEnd(deviceId)) {
|
||||||
audioBroadcastCatchList.add(data.get(deviceId));
|
if (data.get(deviceId) != null) {
|
||||||
|
audioBroadcastCatchList.add(data.get(deviceId));
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
for (String key : data.keySet()) {
|
for (String key : data.keySet()) {
|
||||||
if (key.startsWith(deviceId)) {
|
if (key.startsWith(deviceId)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user