Commit c32ba1dea8302a72af321534081bda6282ea0171
1 parent
60dffa58
修复语音对讲
Showing
1 changed file
with
4 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
| @@ -302,6 +302,10 @@ public class ZLMHttpHookListener { | @@ -302,6 +302,10 @@ public class ZLMHttpHookListener { | ||
| 302 | result.setEnable_audio(true); | 302 | result.setEnable_audio(true); |
| 303 | } | 303 | } |
| 304 | } | 304 | } |
| 305 | + }else if (param.getApp().equals("broadcast")) { | ||
| 306 | + result.setEnable_audio(true); | ||
| 307 | + }else if (param.getApp().equals("talk")) { | ||
| 308 | + result.setEnable_audio(true); | ||
| 305 | } | 309 | } |
| 306 | 310 | ||
| 307 | if (mediaInfo.getRecordAssistPort() > 0 && userSetting.getRecordPath() == null) { | 311 | if (mediaInfo.getRecordAssistPort() > 0 && userSetting.getRecordPath() == null) { |