|
@ -512,7 +512,7 @@ public class MediaServerServiceImpl implements IMediaServerService { |
|
|
param.put("hook.on_stream_not_found",String.format("%s/on_stream_not_found", hookPrex)); |
|
|
param.put("hook.on_stream_not_found",String.format("%s/on_stream_not_found", hookPrex)); |
|
|
param.put("hook.on_server_keepalive",String.format("%s/on_server_keepalive", hookPrex)); |
|
|
param.put("hook.on_server_keepalive",String.format("%s/on_server_keepalive", hookPrex)); |
|
|
param.put("hook.timeoutSec","20"); |
|
|
param.put("hook.timeoutSec","20"); |
|
|
param.put("general.streamNoneReaderDelayMS","-1".equals(mediaServerItem.getStreamNoneReaderDelayMS())?"3600000":mediaServerItem.getStreamNoneReaderDelayMS() ); |
|
|
param.put("general.streamNoneReaderDelayMS",mediaServerItem.getStreamNoneReaderDelayMS()==-1?"3600000":mediaServerItem.getStreamNoneReaderDelayMS() ); |
|
|
|
|
|
|
|
|
JSONObject responseJSON = zlmresTfulUtils.setServerConfig(mediaServerItem, param); |
|
|
JSONObject responseJSON = zlmresTfulUtils.setServerConfig(mediaServerItem, param); |
|
|
|
|
|
|
|
|