mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
allow to set NTP of outgoing packets in both client and server (#148)
This commit is contained in:
@@ -280,10 +280,9 @@ func (sc *ServerConn) readFuncTCP(readRequest chan readReq) error {
|
||||
|
||||
if h, ok := sc.s.Handler.(ServerHandlerOnPacketRTP); ok {
|
||||
h.OnPacketRTP(&ServerHandlerOnPacketRTPCtx{
|
||||
Session: sc.session,
|
||||
TrackID: track.id,
|
||||
Packet: pkt,
|
||||
PTSEqualsDTS: ptsEqualsDTS(track.track, pkt),
|
||||
Session: sc.session,
|
||||
TrackID: track.id,
|
||||
Packet: pkt,
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user