mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-23 23:53:19 +08:00
update docs
This commit is contained in:
@@ -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:
|
||||||
|
@@ -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"`
|
||||||
|
@@ -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"`
|
||||||
|
Reference in New Issue
Block a user