mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-04 07:16:43 +08:00
allow using MTX_QUERY inside source (#3486)
this allows to pass query parameters to sources, for instance: source: rtsp://my_host/my_path?$MTX_QUERY sourceOnDemand: true
This commit is contained in:
@@ -23,7 +23,8 @@ type StaticSourceParent interface {
|
||||
|
||||
// StaticSourceRunParams is the set of params passed to Run().
|
||||
type StaticSourceRunParams struct {
|
||||
Context context.Context
|
||||
Conf *conf.Path
|
||||
ReloadConf chan *conf.Path
|
||||
Context context.Context
|
||||
ResolvedSource string
|
||||
Conf *conf.Path
|
||||
ReloadConf chan *conf.Path
|
||||
}
|
||||
|
Reference in New Issue
Block a user