mirror of
https://github.com/yuliskov/SmartTube.git
synced 2025-05-20 04:46:23 +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);
|
mPlayerData.setVideoBufferType(PlayerData.BUFFER_LOW);
|
||||||
}
|
}
|
||||||
} else if (Helpers.startsWithAny(error.getMessage(),
|
} 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
|
// Switch between network engines in hope that one of them fixes the error
|
||||||
//mPlayerTweaksData.setPlayerDataSource(getNextEngine());
|
//mPlayerTweaksData.setPlayerDataSource(getNextEngine());
|
||||||
YouTubeServiceManager.instance().applyNoPlaybackFix();
|
YouTubeServiceManager.instance().applyNoPlaybackFix();
|
||||||
|
Reference in New Issue
Block a user