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:
Raja Subramanian
2024-03-04 14:41:35 +05:30
committed by GitHub
parent 8c5d8730b1
commit fdd76c8734
+3
View File
@@ -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()
}
}