Make new stream function public

This commit is contained in:
Alexey Khit
2022-08-18 22:44:38 +03:00
parent 77c4590170
commit 69d45c3216
3 changed files with 4 additions and 4 deletions

View File

@@ -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)