mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-21 14:49:36 +08:00
This allows to proxy requests to other servers by using regular expressions.
This commit is contained in:
@@ -127,13 +127,12 @@ func TestSource(t *testing.T) {
|
||||
te := tester.New(
|
||||
func(p defs.StaticSourceParent) defs.StaticSource {
|
||||
return &Source{
|
||||
ReadTimeout: conf.StringDuration(10 * time.Second),
|
||||
Parent: p,
|
||||
ResolvedSource: "whep://localhost:9003/my/resource",
|
||||
ReadTimeout: conf.StringDuration(10 * time.Second),
|
||||
Parent: p,
|
||||
}
|
||||
},
|
||||
&conf.Path{
|
||||
Source: "whep://localhost:9003/my/resource",
|
||||
},
|
||||
&conf.Path{},
|
||||
)
|
||||
defer te.Close()
|
||||
|
||||
|
Reference in New Issue
Block a user