zlm 配置

This commit is contained in:
shikong 2024-03-13 21:44:54 +08:00
parent 1ac99217f5
commit b61056e8b8

View File

@ -29,7 +29,7 @@ public class ZlmInitService {
hook.setOnStreamChanged(zlmHookConfig.getHook() + "/on_stream_changed");
hook.setOnStreamNoneReader(zlmHookConfig.getHook() + "/on_stream_none_reader");
hook.setOnPublish(zlmHookConfig.getHook() + "/on_publish");
config.getRtmp().setHandshakeSecond(5);
config.getRtmp().setHandshakeSecond(10);
config.getRtmp().setKeepAliveSecond(10);
zlmMediaService.setServerConfig(config);
}