Commit 964d55431f4b2d064c756b4e6a5c845d3539dc3f
1 parent
76d09bca
修复推流无声音的问题
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
| ... | ... | @@ -244,6 +244,7 @@ public class ZLMHttpHookListener { |
| 244 | 244 | |
| 245 | 245 | |
| 246 | 246 | HookResultForOnPublish result = HookResultForOnPublish.SUCCESS(); |
| 247 | + result.setEnable_audio(true); | |
| 247 | 248 | taskExecutor.execute(() -> { |
| 248 | 249 | ZlmHttpHookSubscribe.Event subscribe = this.subscribe.sendNotify(HookType.on_publish, json); |
| 249 | 250 | if (subscribe != null) { | ... | ... |