Skip to content

Commit

Permalink
doc++
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmidi authored and iSchluff committed Dec 26, 2024
1 parent 01a9bfd commit 31cfd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srt/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ func TestServerImpl_GetStatistics(t *testing.T) {
streams := s.GetStatistics()

expected := []*relay.StreamStatistics{
//{Name: "s1", URL: "srt://testserver.de:1337?streamid=play/s1", Clients: 2, Created: streams[0].Created},
{Name: "s1", URL: "srt://testserver.de:1337?streamid=#!::m=request,r=s1", Clients: 2, Created: streams[0].Created},
//{Name: "s1", URL: "srt://testserver.de:1337?streamid=play/s1", Clients: 2, Created: streams[0].Created}, // Old Format
{Name: "s1", URL: "srt://testserver.de:1337?streamid=#!::m=request,r=s1", Clients: 2, Created: streams[0].Created}, // New Format
}
if err := compareStats(streams, expected); err != nil {
t.Error(err)
Expand Down

0 comments on commit 31cfd34

Please sign in to comment.