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

Unable to stream video, audio working ok. #12

Open
bobbysoftware opened this issue Jul 20, 2023 · 8 comments
Open

Unable to stream video, audio working ok. #12

bobbysoftware opened this issue Jul 20, 2023 · 8 comments

Comments

@bobbysoftware
Copy link

bobbysoftware commented Jul 20, 2023

Hi,
I'm unable to stream video, the audio is working fine. I've listed the errors below.
[Extraction] applying descrambler
[Extraction] finding initial function name
[Extraction] Failed to decode object from given start point: The data couldn’t be read because it isn’t in the correct format.
pattern (ytplayer.config\s*=\s*) failed: The operation couldn’t be completed. (YouTubeKit.YouTubeKitError error 1.)
signature found, skip decipher

Screenshot 2023-07-20 at 12 09 21 PM

The code fails on line 67 and the error is being thrown on line 69.
I'm using the 0.1.8 release. The audio plays but no video. I'm using SwiftUI Xcode 14.3.1, iOS 16.5.1 (c). Mac Mini M1.

Any help would be appreciated.
Thanks.

@alexeichhorn
Copy link
Owner

Can you give me 1-2 example youtube videos where you experience this behavior?

@bobbysoftware
Copy link
Author

bobbysoftware commented Jul 24, 2023 via email

@alexeichhorn
Copy link
Owner

Both of the videos work for me. I just copied both stream urls to Safari and it played flawlessly.
Which country are you trying it from? Can be a factor sometimes

@bobbysoftware
Copy link
Author

bobbysoftware commented Jul 25, 2023 via email

@bobbysoftware
Copy link
Author

Hey Eric,
I think the error was mine. Looks like you can't stream YouTube URL's in AVPlayer.
Thanks for your time,
Bobby

@JaydeepVirani303
Copy link

Hello @bobbysoftware @
Hope you are doing well.
i faced the same issue, can you help me to fix this issue?
thanks in advanced.

@hoangnam714
Copy link

Same issue, my case is worse than not having access to video
image

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

4 participants