mirror of
https://github.com/livekit/livekit.git
synced 2026-07-28 12:09:26 +00:00
Post a PLI check request on connected. (#2542)
Otherwise, it gets delayed by timer and could wait upto to interval (which could be 200 ms when there is no RTT information yet).
This commit is contained in:
@@ -1858,6 +1858,9 @@ func (d *DownTrack) onBindAndConnectedChange() {
|
||||
if d.activePaddingOnMuteUpTrack.Load() {
|
||||
go d.sendPaddingOnMute()
|
||||
}
|
||||
|
||||
// kick off PLI request if allocation is pending
|
||||
d.postKeyFrameRequestEvent()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user