mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 06:46:42 +08:00
allow to set NTP of outgoing packets in both client and server (#148)
This commit is contained in:
@@ -218,9 +218,8 @@ func (u *clientUDPListener) processPlayRTP(now time.Time, payload []byte) {
|
||||
u.ct.udpRTCPReceiver.ProcessPacketRTP(time.Now(), pkt, ptsEqualsDTS)
|
||||
|
||||
u.c.OnPacketRTP(&ClientOnPacketRTPCtx{
|
||||
TrackID: u.ct.id,
|
||||
Packet: pkt,
|
||||
PTSEqualsDTS: ptsEqualsDTS,
|
||||
TrackID: u.ct.id,
|
||||
Packet: pkt,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user