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:
@@ -199,10 +199,9 @@ type ServerHandlerOnSetParameter interface {
|
||||
|
||||
// ServerHandlerOnPacketRTPCtx is the context of OnPacketRTP.
|
||||
type ServerHandlerOnPacketRTPCtx struct {
|
||||
Session *ServerSession
|
||||
TrackID int
|
||||
Packet *rtp.Packet
|
||||
PTSEqualsDTS bool
|
||||
Session *ServerSession
|
||||
TrackID int
|
||||
Packet *rtp.Packet
|
||||
}
|
||||
|
||||
// ServerHandlerOnPacketRTP can be implemented by a ServerHandler.
|
||||
|
Reference in New Issue
Block a user