Use monotonic time util. (#3112)

Thank you @paulwe for doing this. I was promising to do this for a
while, but just like other times, empty promises :-(
This commit is contained in:
Raja Subramanian
2024-10-17 10:49:24 +05:30
committed by GitHub
parent 19c5ed6343
commit 40b10af960
14 changed files with 23 additions and 117 deletions
-2
View File
@@ -57,7 +57,6 @@ type MediaTrack struct {
}
type MediaTrackParams struct {
BaseTime time.Time
SignalCid string
SdpCid string
ParticipantID livekit.ParticipantID
@@ -277,7 +276,6 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track *webrtc.Tra
newWR := sfu.NewWebRTCReceiver(
receiver,
t.params.BaseTime,
track,
ti,
LoggerWithCodecMime(t.params.Logger, mime),