mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-07 09:11:28 +08:00
Make new stream function public
This commit is contained in:
@@ -115,7 +115,7 @@ func TestRouting(t *testing.T) {
|
||||
assert.Len(t, cons.Medias, 3)
|
||||
|
||||
// setup stream with one producer
|
||||
stream := newStream("fake:")
|
||||
stream := NewStream("fake:")
|
||||
|
||||
// main check:
|
||||
err := stream.AddConsumer(cons)
|
||||
|
Reference in New Issue
Block a user