diff --git a/srt/server_test.go b/srt/server_test.go index c7fe456..311f5ed 100644 --- a/srt/server_test.go +++ b/srt/server_test.go @@ -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)