Disable dynamic playout delay for screenshare track (#2663)

Screenshare video has inaccuracy jitter due to its low frame rate and bursty traffic
This commit is contained in:
cnderrauber
2024-04-19 15:25:48 +08:00
committed by GitHub
parent 483aafcfc0
commit 0b3587b10d
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -129,6 +129,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
downTrack, err := sfu.NewDownTrack(sfu.DowntrackParams{
Codecs: codecs,
Source: t.params.MediaTrack.Source(),
Receiver: wr,
BufferFactory: sub.GetBufferFactory(),
SubID: subscriberID,