allow to set NTP of outgoing packets in both client and server (#148)

This commit is contained in:
Alessandro Ros
2022-11-14 16:55:40 +01:00
committed by GitHub
parent ae0df8d4c9
commit 7951b2e4af
19 changed files with 95 additions and 69 deletions

View File

@@ -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.