improve restore last video on crash

This commit is contained in:
Yuriy Liskov
2025-05-05 05:52:43 +03:00
parent 42dfaee0e7
commit 694d0aef67
2 changed files with 17 additions and 19 deletions

View File

@ -143,7 +143,7 @@ public class VideoStateController extends BasePlayerController {
@Override
public void onMetadata(MediaItemMetadata metadata) {
saveState(); // start watching?
persistState(); // ???
persistState(); // restore on crash???
// Channel info should be loaded at this point
restoreSubtitleFormat();