mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
headers: change Transport.Destination type to net.IP
This commit is contained in:
@@ -675,7 +675,7 @@ func (ss *ServerSession) handleRequest(sc *ServerConn, req *base.Request) (*base
|
||||
th.Delivery = &de
|
||||
v := uint(127)
|
||||
th.TTL = &v
|
||||
d := stream.multicastListeners[trackID].rtpListener.ip().String()
|
||||
d := stream.multicastListeners[trackID].rtpListener.ip()
|
||||
th.Destination = &d
|
||||
th.Ports = &[2]int{
|
||||
stream.multicastListeners[trackID].rtpListener.port(),
|
||||
|
Reference in New Issue
Block a user