mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
server: use user-provided ListenPacket in case of multicast
This commit is contained in:
@@ -96,7 +96,7 @@ func newServerUDPListener(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
tmp, err := net.ListenPacket("udp4", (&net.UDPAddr{
|
||||
tmp, err := s.ListenPacket("udp4", (&net.UDPAddr{
|
||||
IP: net.ParseIP("224.0.0.0"),
|
||||
Port: addr.Port,
|
||||
}).String())
|
||||
|
Reference in New Issue
Block a user