1
0
Fork 0
forked from External/mediamtx

support setting a maximum number of readers per path (#1286) (#2154)

This commit is contained in:
Alessandro Ros 2023-08-05 17:41:54 +02:00 committed by GitHub
parent b198cc5952
commit d00b22b5e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 323 additions and 263 deletions

View file

@ -50,6 +50,7 @@ type PathConf struct {
SourceOnDemand bool `json:"sourceOnDemand"`
SourceOnDemandStartTimeout StringDuration `json:"sourceOnDemandStartTimeout"`
SourceOnDemandCloseAfter StringDuration `json:"sourceOnDemandCloseAfter"`
MaxReaders int `json:"maxReaders"`
// authentication
PublishUser Credential `json:"publishUser"`