mirror of
https://github.com/aler9/gortsplib
synced 2025-10-24 15:43:18 +08:00
add *Server argument to NewServerStream()
This commit is contained in:
@@ -328,7 +328,7 @@ func TestServerRecordRead(t *testing.T) {
|
||||
}, fmt.Errorf("someone is already publishing")
|
||||
}
|
||||
|
||||
stream = gortsplib.NewServerStream(ctx.Medias)
|
||||
stream = gortsplib.NewServerStream(ctx.Server, ctx.Medias)
|
||||
publisher = ctx.Session
|
||||
|
||||
return &base.Response{
|
||||
|
||||
Reference in New Issue
Block a user