1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove ios bandwidth limit

This commit is contained in:
Bill Thornton 2021-02-27 23:30:14 -05:00
parent 4e66faa638
commit 9e3ca71b91

View file

@ -471,18 +471,9 @@ class AppRouter {
return null;
}
getMaxBandwidthIOS() {
return 800000;
}
onApiClientCreated(e, newApiClient) {
newApiClient.normalizeImageOptions = this.normalizeImageOptions;
if (browser.iOS) {
newApiClient.getMaxBandwidth = this.getMaxBandwidthIOS;
} else {
newApiClient.getMaxBandwidth = this.getMaxBandwidth;
}
newApiClient.getMaxBandwidth = this.getMaxBandwidth;
Events.off(newApiClient, 'requestfail', this.onRequestFail);
Events.on(newApiClient, 'requestfail', this.onRequestFail);