yattee/Model/Player
Toni Förster 6eba2a45c8
Conditional proxying
I added a new feature. When instances are not proxied, Yattee first checks the URL to make sure it is not a restricted video. Usually, music videos and sports content can only be played back by the same IP address that requested the URL in the first place. That is why some videos do not play when the proxy is disabled.

This approach has multiple advantages. First and foremost, It reduced the load on Invidious/Piped instances, since users can now directly access the videos without going through the instance, which might be severely bandwidth limited. Secondly, users don't need to manually turn on the proxy when they want to watch IP address bound content, since Yattee automatically proxies such content.

Furthermore, adding the proxy option allows mitigating some severe playback issues with invidious instances. Invidious by default returns proxied URLs for videos, and due to some bug in the Invidious proxy, scrubbing or continuing playback at a random timestamp can lead to severe wait times for the users.

This should fix numerous playback issues: #666, #626, #590, #585, #498, #457, #400
2024-05-16 19:35:31 +02:00
..
Backends Conditional proxying 2024-05-16 19:35:31 +02:00
ControlsOverlayModel.swift Minor controls changes 2022-12-05 10:13:19 +01:00
PiPDelegate.swift Fix PiP close on Mac 2023-05-25 18:36:02 +02:00
PlayerControlsModel.swift Fix lint issues 2023-07-24 19:45:30 +02:00
PlayerModel.swift Conditional proxying 2024-05-16 19:35:31 +02:00
PlayerQueue.swift Conditional proxying 2024-05-16 19:35:31 +02:00
PlayerQueueItem.swift Watch next improvements, clear queue buttons 2023-02-05 14:24:16 +01:00
PlayerQueueItemBridge.swift Use cache for loading player queue and history 2023-02-05 14:24:09 +01:00
PlayerSponsorBlock.swift SponsorBlock jump to end instead of pausing 2024-04-26 14:03:13 +02:00
PlayerStreams.swift Conditional proxying 2024-05-16 19:35:31 +02:00
PlayerTimeModel.swift Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
PlayerTVMenu.swift Add close item action to AVPlayer on tvOS 2022-12-04 13:32:29 +01:00
ScreenSaverManager.swift Code style changes 2023-04-22 23:10:28 +02:00