install go2rtc on bob

This commit is contained in:
julien committed 2026-04-04 19:36:14 +02:00
1 parent f0b56e63d1
commit ccf88187b8
537 files changed
+69213

No files matched your search

@@ -0,0 +1,15 @@
package creds
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestString(t *testing.T) {
AddSecret("admin")
AddSecret("pa$$word")
s := SecretString("rtsp://admin:pa$$word@192.168.1.123/stream1")
require.Equal(t, "rtsp://***:***@192.168.1.123/stream1", s)
}