forked from External/mediamtx
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:
parent
8337a90b29
commit
49449eb5ad
7 changed files with 76 additions and 43 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue