update docs

This commit is contained in:
aler9 2021-12-22 00:27:58 +01:00
parent 7352244fd9
commit 779d5b61cd
3 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ components:
runOnConnectRestart:
type: boolean
# rtsp
# RTSP
rtspDisable:
type: boolean
protocols:
@ -82,13 +82,13 @@ components:
readBufferSize:
type: integer
# rtmp
# RTMP
rtmpDisable:
type: boolean
rtmpAddress:
type: string
# hls
# HLS
hlsDisable:
type: boolean
hlsAddress:
@ -150,7 +150,7 @@ components:
items:
type: string
# custom commands
# external commands
runOnInit:
type: string
runOnInitRestart:

View File

@ -58,7 +58,7 @@ type PathConf struct {
ReadPass Credential `json:"readPass"`
ReadIPs IPsOrNets `json:"readIPs"`
// custom commands
// external commands
RunOnInit string `json:"runOnInit"`
RunOnInitRestart bool `json:"runOnInitRestart"`
RunOnDemand string `json:"runOnDemand"`

View File

@ -117,7 +117,7 @@ func loadConfPathData(ctx *gin.Context) (interface{}, error) {
ReadPass *conf.Credential `json:"readPass"`
ReadIPs *conf.IPsOrNets `json:"readIPs"`
// custom commands
// external commands
RunOnInit *string `json:"runOnInit"`
RunOnInitRestart *bool `json:"runOnInitRestart"`
RunOnDemand *string `json:"runOnDemand"`