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

View File

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

View File

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