zlm 配置
This commit is contained in:
parent
1ac99217f5
commit
b61056e8b8
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user