mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: generate RTCP sender reports automatically; remote RTCP routing from examples
This commit is contained in:
@@ -863,8 +863,7 @@ func (ss *ServerSession) handleRequest(sc *ServerConn, req *base.Request) (*base
|
||||
// readers can send RTCP packets only
|
||||
sc.s.udpRTCPListener.addClient(ss.author.ip(), track.udpRTCPPort, ss, trackID, false)
|
||||
|
||||
// open the firewall by sending packets to the counterpart
|
||||
ss.WritePacketRTCP(trackID, &rtcp.ReceiverReport{})
|
||||
// firewall opening is performed by RTCP sender reports generated by ServerStream
|
||||
}
|
||||
|
||||
case TransportUDPMulticast:
|
||||
|
Reference in New Issue
Block a user