Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WatchOS Offline issue #64

Open
emilismayilov095 opened this issue Nov 18, 2024 · 2 comments
Open

WatchOS Offline issue #64

emilismayilov095 opened this issue Nov 18, 2024 · 2 comments

Comments

@emilismayilov095
Copy link

let videos = YouTube(videoID: video.videoId, methods: [.remote])
let streams = try await videos.streams
let stream = streams
.filterVideoAndAudio()
.filter { $0.isNativelyPlayable }
.highestResolutionStream()

iOS working good, wathOS 11.1:
Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSErrorFailingURLKey=https://youtubekit-remote.losjet.com/v1?videoID=KQ_oVpydLng, NSErrorFailingURLStringKey=https://youtubekit-remote.losjet.com/v1?videoID=KQ_oVpydLng, NSLocalizedDescription=The Internet connection appears to be offline.}

@alexeichhorn
Copy link
Owner

Does this still occur? Can't reproduce it. Looks like a temporary issue on the remote server.

@emilismayilov095
Copy link
Author

@alexeichhorn yes, still not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants