mirror of
https://github.com/yuliskov/SmartTube.git
synced 2025-05-17 19:35:54 +08:00
player: error fixer upd
This commit is contained in:
@ -501,7 +501,8 @@ public class VideoLoaderController extends PlayerEventListenerHelper implements
|
||||
mPlayerData.setVideoBufferType(PlayerData.BUFFER_LOW);
|
||||
}
|
||||
} else if (Helpers.startsWithAny(error.getMessage(),
|
||||
"Unable to connect to", "Invalid NAL length", "Response code: 421", "Invalid integer size")) {
|
||||
"Unable to connect to", "Invalid NAL length", "Response code: 421",
|
||||
"Invalid integer size", "Unexpected ArrayIndexOutOfBoundsException")) {
|
||||
// Switch between network engines in hope that one of them fixes the error
|
||||
//mPlayerTweaksData.setPlayerDataSource(getNextEngine());
|
||||
YouTubeServiceManager.instance().applyNoPlaybackFix();
|
||||
|
Reference in New Issue
Block a user