streaming

Media streaming and broadcast systems in Go
Log | Files | Refs | README | LICENSE

commit c09ddbced03b4d97e812871bcfe48b196390f3b3
parent 52483617f8dc2116b504a6a85274b3c44a119ecd
Author: Oliver Lowe <o@olowe.co>
Date:   Mon, 19 Aug 2024 12:16:01 +1000

rtp: let test session only accept local connections

Diffstat:
Mrtp/session_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtp/session_test.go b/rtp/session_test.go @@ -98,7 +98,7 @@ func textPackets(dur time.Duration, count int) chan Packet { } func TestSession(t *testing.T) { - ln, err := net.ListenPacket("udp", "[::]:0") + ln, err := net.ListenPacket("udp", "[::1]:0") if err != nil { t.Fatal(err) }