mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
move host resolution from headers to client/server (#883)
This commit is contained in:
@@ -1468,8 +1468,8 @@ func (ss *ServerSession) handleRequestInner(sc *ServerConn, req *base.Request) (
|
||||
th.Delivery = &de
|
||||
v := uint(127)
|
||||
th.TTL = &v
|
||||
d := stream.medias[medi].multicastWriter.ip()
|
||||
th.Destination = &d
|
||||
dest := stream.medias[medi].multicastWriter.ip().String()
|
||||
th.Destination2 = &dest
|
||||
th.Ports = &[2]int{ss.s.MulticastRTPPort, ss.s.MulticastRTCPPort}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user