fix: update rtsp url builder test to use secure flag

This commit is contained in:
Jake Daynes
2026-03-13 02:38:02 -07:00
parent 9195485b99
commit 4535a38ad8
+1 -1
View File
@@ -95,7 +95,7 @@ func TestBuildRTSPURL(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
s := stream
s.Secure = test.secure
_, gotURL, err := buildRTSPURL(stream, test.route, test.username, test.password)
_, gotURL, err := buildRTSPURL(s, test.route, test.username, test.password)
require.NoError(t, err)
require.Equal(t, test.wantURL, gotURL)
})