headers: change Transport.Destination type to net.IP

This commit is contained in:
aler9
2021-06-19 18:58:31 +02:00
parent 84f174f10f
commit ff8c485b11
6 changed files with 24 additions and 13 deletions

View File

@@ -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(),