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() {
|
if d.activePaddingOnMuteUpTrack.Load() {
|
||||||
go d.sendPaddingOnMute()
|
go d.sendPaddingOnMute()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// kick off PLI request if allocation is pending
|
||||||
|
d.postKeyFrameRequestEvent()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user