|
@@ -216,9 +216,9 @@ public class ZLMHttpHookListener {
|
|
|
|
|
|
|
|
|
HookResultForOnPublish result = HookResultForOnPublish.SUCCESS();
|
|
|
- if (!"rtp".equals(param.getApp())) {
|
|
|
- result.setEnable_audio(true);
|
|
|
- }
|
|
|
+
|
|
|
+ // 强制启用音频
|
|
|
+ result.setEnable_audio(true);
|
|
|
|
|
|
taskExecutor.execute(() -> {
|
|
|
ZlmHttpHookSubscribe.Event subscribe = this.subscribe.sendNotify(HookType.on_publish, json);
|