feat: Correct isBehindLiveWindow Error Handling (#4143)
* feat: Correct isBehindLiveWindow Error Handling --------- Co-authored-by: young <young@afreecatv.com>
This commit is contained in:
parent
9707081ab9
commit
22c21ad249
@ -1733,7 +1733,10 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
playerNeedsSource = true;
|
||||
if (isBehindLiveWindow(e)) {
|
||||
clearResumePosition();
|
||||
initializePlayer();
|
||||
if (player != null) {
|
||||
player.seekToDefaultPosition();
|
||||
player.prepare();
|
||||
}
|
||||
} else {
|
||||
updateResumePosition();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user