mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-30 10:36:33 +08:00
Add new parameter 'runOnReady' (#752)
This is called when a stream is ready, whether it is published or proxied. It replaces 'runOnPublsh'.
This commit is contained in:
@@ -125,8 +125,10 @@ func loadConfPathData(ctx *gin.Context) (interface{}, error) {
|
||||
RunOnDemandRestart *bool `json:"runOnDemandRestart"`
|
||||
RunOnDemandStartTimeout *conf.StringDuration `json:"runOnDemandStartTimeout"`
|
||||
RunOnDemandCloseAfter *conf.StringDuration `json:"runOnDemandCloseAfter"`
|
||||
RunOnPublish *string `json:"runOnPublish"`
|
||||
RunOnPublishRestart *bool `json:"runOnPublishRestart"`
|
||||
RunOnReady *string `json:"runOnReady"`
|
||||
RunOnReadyRestart *bool `json:"runOnReadyRestart"`
|
||||
RunOnPublish *string `json:"runOnPublish"` // deprecated, replaced by runOnReady
|
||||
RunOnPublishRestart *bool `json:"runOnPublishRestart"` // deprecated, replaced by runOnReadyRestart
|
||||
RunOnRead *string `json:"runOnRead"`
|
||||
RunOnReadRestart *bool `json:"runOnReadRestart"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user