1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30
yattee/Shared/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
..
Controls Conditional proxying 2024-05-16 19:35:31 +02:00
MPV mpvkit implementation fixes 2023-09-23 21:59:37 +02:00
Video Details Swiftformat fixes 2024-05-16 19:01:02 +02:00
AppleAVPlayerView.swift Fix build on tvOS 2023-06-07 23:37:28 +02:00
AppleAVPlayerViewController.swift Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
ControlsGradientView.swift Minor fixes 2023-02-05 14:24:15 +01:00
PlaybackBar.swift Hello, mpv! 🎉 2022-10-27 18:03:57 +02:00
PlaybackSettings.swift Swiftformat fixes 2024-05-16 19:01:02 +02:00
PlaybackSettingsPresentationDetents+Backport.swift Fix playback settings sheet height 2023-05-18 11:32:45 +02:00
PlayerBackendView.swift Fix lint issues 2023-07-24 19:45:30 +02:00
PlayerDragGesture.swift Revert "small delay before vertical scrubbing is possible" 2024-05-16 18:59:54 +02:00
PlayerGestures.swift Show stream opening status with AVPlayer 2023-05-21 19:13:42 +02:00
PlayerLayerView.swift Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
PlayerQueueRow.swift Add buttons for hiding watched videos 2023-05-25 18:36:02 +02:00
PlayerViewController.swift Add option to rotate to landscape on entering fullscreen with button 2022-01-07 22:19:11 +01:00
RelatedView.swift Revert "Drop iOS 14 and macOS 11 support" 2023-10-15 13:35:23 +02:00
StreamControl.swift Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
TapRecognizerViewModifier.swift Change controls tap behavior 2023-02-24 18:23:26 +01:00
VideoPlayerSizeModifier.swift fix broken fullscreen on macOS 2023-11-21 17:58:44 +01:00
VideoPlayerView.swift Swiftformat fixes 2024-05-16 19:01:02 +02:00