liusuyi
2026-05-12 9f327c33730ba10cb2d89aff99b727502232e968
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
package com.ard.zlm.api.config;
 
import com.alibaba.fastjson2.annotation.JSONField;
import com.ard.zlm.api.hook.HookParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
/**
 * ZLM配置
 *
 * @author fengcheng
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ZLMServerConfig extends HookParam {
 
    @JSONField(name = "api.apiDebug")
    private String apiDebug;
 
    @JSONField(name = "api.secret")
    private String apiSecret;
 
    @JSONField(name = "api.snapRoot")
    private String apiSnapRoot;
 
    @JSONField(name = "api.defaultSnap")
    private String apiDefaultSnap;
 
    @JSONField(name = "ffmpeg.bin")
    private String ffmpegBin;
 
    @JSONField(name = "ffmpeg.cmd")
    private String ffmpegCmd;
 
    @JSONField(name = "ffmpeg.snap")
    private String ffmpegSnap;
 
    @JSONField(name = "ffmpeg.log")
    private String ffmpegLog;
 
    @JSONField(name = "ffmpeg.restart_sec")
    private String ffmpegRestartSec;
 
    @JSONField(name = "protocol.modify_stamp")
    private String protocolModifyStamp;
 
    @JSONField(name = "protocol.enable_audio")
    private String protocolEnableAudio;
 
    @JSONField(name = "protocol.add_mute_audio")
    private String protocolAddMuteAudio;
 
    @JSONField(name = "protocol.continue_push_ms")
    private String protocolContinuePushMs;
 
    @JSONField(name = "protocol.enable_hls")
    private String protocolEnableHls;
 
    @JSONField(name = "protocol.enable_mp4")
    private String protocolEnableMp4;
 
    @JSONField(name = "protocol.enable_rtsp")
    private String protocolEnableRtsp;
 
    @JSONField(name = "protocol.enable_rtmp")
    private String protocolEnableRtmp;
 
    @JSONField(name = "protocol.enable_ts")
    private String protocolEnableTs;
 
    @JSONField(name = "protocol.enable_fmp4")
    private String protocolEnableFmp4;
 
    @JSONField(name = "protocol.mp4_as_player")
    private String protocolMp4AsPlayer;
 
    @JSONField(name = "protocol.mp4_max_second")
    private String protocolMp4MaxSecond;
 
    @JSONField(name = "protocol.mp4_save_path")
    private String protocolMp4SavePath;
 
    @JSONField(name = "protocol.hls_save_path")
    private String protocolHlsSavePath;
 
    @JSONField(name = "protocol.hls_demand")
    private String protocolHlsDemand;
 
    @JSONField(name = "protocol.rtsp_demand")
    private String protocolRtspDemand;
 
    @JSONField(name = "protocol.rtmp_demand")
    private String protocolRtmpDemand;
 
    @JSONField(name = "protocol.ts_demand")
    private String protocolTsDemand;
 
    @JSONField(name = "protocol.fmp4_demand")
    private String protocolFmp4Demand;
 
    @JSONField(name = "general.enableVhost")
    private String generalEnableVhost;
 
    @JSONField(name = "general.flowThreshold")
    private String generalFlowThreshold;
 
    @JSONField(name = "general.maxStreamWaitMS")
    private String generalMaxStreamWaitMS;
 
    @JSONField(name = "general.streamNoneReaderDelayMS")
    private int generalStreamNoneReaderDelayMS;
 
    @JSONField(name = "general.resetWhenRePlay")
    private String generalResetWhenRePlay;
 
    @JSONField(name = "general.mergeWriteMS")
    private String generalMergeWriteMS;
 
    @JSONField(name = "general.mediaServerId")
    private String generalMediaServerId;
 
    @JSONField(name = "general.wait_track_ready_ms")
    private String generalWaitTrackReadyMs;
 
    @JSONField(name = "general.wait_add_track_ms")
    private String generalWaitAddTrackMs;
 
    @JSONField(name = "general.unready_frame_cache")
    private String generalUnreadyFrameCache;
 
 
    @JSONField(name = "ip")
    private String ip;
 
    private String sdpIp;
 
    private String streamIp;
 
    private String hookIp;
 
    private String updateTime;
 
    private String createTime;
 
    @JSONField(name = "hls.fileBufSize")
    private String hlsFileBufSize;
 
    @JSONField(name = "hls.filePath")
    private String hlsFilePath;
 
    @JSONField(name = "hls.segDur")
    private String hlsSegDur;
 
    @JSONField(name = "hls.segNum")
    private String hlsSegNum;
 
    @JSONField(name = "hls.segRetain")
    private String hlsSegRetain;
 
    @JSONField(name = "hls.broadcastRecordTs")
    private String hlsBroadcastRecordTs;
 
    @JSONField(name = "hls.deleteDelaySec")
    private String hlsDeleteDelaySec;
 
    @JSONField(name = "hls.segKeep")
    private String hlsSegKeep;
 
    @JSONField(name = "hook.access_file_except_hls")
    private String hookAccessFileExceptHLS;
 
    @JSONField(name = "hook.admin_params")
    private String hookAdminParams;
 
    @JSONField(name = "hook.alive_interval")
    private Float hookAliveInterval;
 
    @JSONField(name = "hook.enable")
    private String hookEnable;
 
    @JSONField(name = "hook.on_flow_report")
    private String hookOnFlowReport;
 
    @JSONField(name = "hook.on_http_access")
    private String hookOnHttpAccess;
 
    @JSONField(name = "hook.on_play")
    private String hookOnPlay;
 
    @JSONField(name = "hook.on_publish")
    private String hookOnPublish;
 
    @JSONField(name = "hook.on_record_mp4")
    private String hookOnRecordMp4;
 
    @JSONField(name = "hook.on_rtsp_auth")
    private String hookOnRtspAuth;
 
    @JSONField(name = "hook.on_rtsp_realm")
    private String hookOnRtspRealm;
 
    @JSONField(name = "hook.on_shell_login")
    private String hookOnShellLogin;
 
    @JSONField(name = "hook.on_stream_changed")
    private String hookOnStreamChanged;
 
    @JSONField(name = "hook.on_stream_none_reader")
    private String hookOnStreamNoneReader;
 
    @JSONField(name = "hook.on_stream_not_found")
    private String hookOnStreamNotFound;
 
    @JSONField(name = "hook.on_server_started")
    private String hookOnServerStarted;
 
    @JSONField(name = "hook.on_server_keepalive")
    private String hookOnServerKeepalive;
 
    @JSONField(name = "hook.on_send_rtp_stopped")
    private String hookOnSendRtpStopped;
 
    @JSONField(name = "hook.on_rtp_server_timeout")
    private String hookOnRtpServerTimeout;
 
    @JSONField(name = "hook.timeoutSec")
    private String hookTimeoutSec;
 
    @JSONField(name = "http.charSet")
    private String httpCharSet;
 
    @JSONField(name = "http.keepAliveSecond")
    private String httpKeepAliveSecond;
 
    @JSONField(name = "http.maxReqCount")
    private String httpMaxReqCount;
 
    @JSONField(name = "http.maxReqSize")
    private String httpMaxReqSize;
 
    @JSONField(name = "http.notFound")
    private String httpNotFound;
 
    @JSONField(name = "http.port")
    private int httpPort;
 
    @JSONField(name = "http.rootPath")
    private String httpRootPath;
 
    @JSONField(name = "http.sendBufSize")
    private String httpSendBufSize;
 
    @JSONField(name = "http.sslport")
    private int httpSSLport;
 
    @JSONField(name = "multicast.addrMax")
    private String multicastAddrMax;
 
    @JSONField(name = "multicast.addrMin")
    private String multicastAddrMin;
 
    @JSONField(name = "multicast.udpTTL")
    private String multicastUdpTTL;
 
    @JSONField(name = "record.appName")
    private String recordAppName;
 
    @JSONField(name = "record.filePath")
    private String recordFilePath;
 
    @JSONField(name = "record.fileSecond")
    private String recordFileSecond;
 
    @JSONField(name = "record.sampleMS")
    private String recordFileSampleMS;
 
    @JSONField(name = "rtmp.handshakeSecond")
    private String rtmpHandshakeSecond;
 
    @JSONField(name = "rtmp.keepAliveSecond")
    private String rtmpKeepAliveSecond;
 
    @JSONField(name = "rtmp.modifyStamp")
    private String rtmpModifyStamp;
 
    @JSONField(name = "rtmp.port")
    private int rtmpPort;
 
    @JSONField(name = "rtmp.sslport")
    private int rtmpSslPort;
 
    @JSONField(name = "rtp.audioMtuSize")
    private String rtpAudioMtuSize;
 
    @JSONField(name = "rtp.clearCount")
    private String rtpClearCount;
 
    @JSONField(name = "rtp.cycleMS")
    private String rtpCycleMS;
 
    @JSONField(name = "rtp.maxRtpCount")
    private String rtpMaxRtpCount;
 
    @JSONField(name = "rtp.videoMtuSize")
    private String rtpVideoMtuSize;
 
    @JSONField(name = "rtp_proxy.checkSource")
    private String rtpProxyCheckSource;
 
    @JSONField(name = "rtp_proxy.dumpDir")
    private String rtpProxyDumpDir;
 
    @JSONField(name = "rtp_proxy.port")
    private int rtpProxyPort;
 
    @JSONField(name = "rtp_proxy.port_range")
    private String portRange;
 
    @JSONField(name = "rtp_proxy.timeoutSec")
    private String rtpProxyTimeoutSec;
 
    @JSONField(name = "rtsp.authBasic")
    private String rtspAuthBasic;
 
    @JSONField(name = "rtsp.handshakeSecond")
    private String rtspHandshakeSecond;
 
    @JSONField(name = "rtsp.keepAliveSecond")
    private String rtspKeepAliveSecond;
 
    @JSONField(name = "rtsp.port")
    private int rtspPort;
 
    @JSONField(name = "rtsp.sslport")
    private int rtspSSlport;
 
    @JSONField(name = "shell.maxReqSize")
    private String shellMaxReqSize;
 
    @JSONField(name = "shell.shell")
    private String shellPhell;
 
    @JSONField(name = "transcode.suffix")
    private String transcodeSuffix;
 
}