diff --git a/apidocs/openapi.yaml b/apidocs/openapi.yaml index fc5ac288..0144a086 100644 --- a/apidocs/openapi.yaml +++ b/apidocs/openapi.yaml @@ -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: diff --git a/internal/conf/path.go b/internal/conf/path.go index b74021fa..1b32b358 100644 --- a/internal/conf/path.go +++ b/internal/conf/path.go @@ -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"` diff --git a/internal/core/api.go b/internal/core/api.go index e7a35897..5e8c2fe1 100644 --- a/internal/core/api.go +++ b/internal/core/api.go @@ -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"`