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 cast #441

Open
basharsaba opened this issue Apr 10, 2024 · 16 comments
Open

Unable to cast #441

basharsaba opened this issue Apr 10, 2024 · 16 comments

Comments

@basharsaba
Copy link

Hi,

Suddenly uYou YouTube started to prevent me from casting and it keeps asking to enable Local Network Access which is already enabled.

It happened on all my 3 devices. I restarted them and uninstalled/reinstalled uYou YouTube but it didn’t help.

Casting is working fine from the original YouTube App.

IMG_2147
IMG_2148

@Write
Copy link

Write commented Apr 12, 2024

Same issue as here : qnblackcat#1395

@basharsaba
Copy link
Author

The casting “weirdly” just came back yesterday on all my 3 devices. I never had to do any kind of troubleshooting, reset or update. It just started to work on its own !!!!

However, I found a workaround when the casting wasn’t directly working.
Go to Settings, General, Watch on TV, AirPlay & Bluetooth devices and click on Link. This will force the AirPlay devices list to open and you can connect to any device from there.

IMG_2190

@Write
Copy link

Write commented Apr 14, 2024

The casting “weirdly” just came back yesterday on all my 3 devices. I never had to do any kind of troubleshooting, reset or update. It just started to work on its own !!!!

However, I found a workaround when the casting wasn’t directly working. Go to Settings, General, Watch on TV, AirPlay & Bluetooth devices and click on Link. This will force the AirPlay devices list to open and you can connect to any device from there.

Still not working for me.

Your workaround only shows Airplay menu and not actual cast devices though.

I can confirm the bug happens on sideloaded YouTube even without any addons / plugins added.

@Stavrak2
Copy link

I think I’ve fixed it. Here’s how:

Go to You —> Settings —> A/B —> Enable to show A/B settings (if not already enabled). Reopen YouTube

again go to You —> Settings —> A/B. In search settings enter ‘local’. Enable the one ending ‘wififixes’ and the one ending ‘reliabilityfixes’. Go back, force close and app and reopen.

Seems to work for me.

@Write
Copy link

Write commented Apr 17, 2024

I think I’ve fixed it. Here’s how:

Go to You —> Settings —> A/B —> Enable to show A/B settings (if not already enabled). Reopen YouTube

again go to You —> Settings —> A/B. In search settings enter ‘local’. Enable the one ending ‘wififixes’ and the one ending ‘reliabilityfixes’. Go back, force close and app and reopen.

Seems to work for me.

Thanks a lot, it seems to work for me too !

I couldn't find wififixes you mentioned but I just enabled

cxClientEnablelosLocalNetworkPermissionReliabilityFixes

And it works great so far !!

image

@basharsaba
Copy link
Author

basharsaba commented Apr 17, 2024

Thank you for your input, but I'm unable to find the A/B settings. How do I enable it?
I'm using YouTube v19.06.2 + uYou v3.0.3 which seems to be the latest. Do I have to upgrade to a higher version if it exists?

This is what I see when I go to You —> Settings

IMG_2222

@Write
Copy link

Write commented Apr 17, 2024

Thank you for your input, but I'm unable to find the A/B settings. How do I enable it? I'm using YouTube v19.06.2 + uYou v3.0.3 which seems to be the latest. Do I have to upgrade to a higher version if it exists?

This is what I see when I go to You —> Settings

Well, I mean, you don't have any option I have so IDK. Maybe try uYouEnhanced ?
It supposed to be at the very top

Here's what it looks like for me (but I use uYouEnhanced)

Details

IMAGE 2024-04-17 18:31:37

@Write
Copy link

Write commented Apr 17, 2024

Thank you for your input, but I'm unable to find the A/B settings. How do I enable it? I'm using YouTube v19.06.2 + uYou v3.0.3 which seems to be the latest. Do I have to upgrade to a higher version if it exists?

This is what I see when I go to You —> Settings

I just built it for you, but please download it fast because I have to remove it : https://github.com/Write/uYouEnhanced/actions/runs/8725539688

@basharsaba
Copy link
Author

basharsaba commented Apr 17, 2024 via email

@basharsaba
Copy link
Author

basharsaba commented Apr 24, 2024

Hi again,

The casting has just suddenly stopped on all my devices at the same time although the local network permission is enabled via iPhone settings and A/B. It’s unbelievably weird. I’m dying of curiosity to know how such a thing happens from time to time on all the devices. I think I will just wait and it will come back on its own like last time…. looool

IMG_2283

@Stavrak2
Copy link

Turn off the ‘sockets’ one - that isn’t one of the fixes I mentioned

@basharsaba
Copy link
Author

You’re right… Only these 2 settings should be enabled... It’s working now… Thanks again.

YTColdConfig.cxClientEnableIosLocalNetworkPermissionReliabilityFixes
YTColdConfig.cxClientEnableIosLocalNetworkPermissionWifiFixes

@b007zk
Copy link

b007zk commented Jun 6, 2024

I have the same problem and for me there's only this setting available:

cxClientEnableIosLocalNetworkPermissionReliabilityFixes

I turned it on and I also turned off cxClientEnableIosLocalNetworkPermissionUsingSockets and it still doesn't work! Not sure what else to try. I'm using uYouPlus-19.08.2-3.0.3

@Write
Copy link

Write commented Jun 6, 2024

I have the same problem and for me there's only this setting available:

cxClientEnableIosLocalNetworkPermissionReliabilityFixes

I turned it on and I also turned off cxClientEnableIosLocalNetworkPermissionUsingSockets and it still doesn't work! Not sure what else to try. I'm using uYouPlus-19.08.2-3.0.3

Try this :

YTColdConfig.cxClientEnableIosLocalNetworkPermissionReliabilityFixes: 1
YTColdConfig.cxClientEnableIosLocalNetworkPermissionUsingSockets: 0
YTColdConfig.cxClientEnableIosLocalNetworkPermissionWifiFixes: 1
YTHotConfig.isPromptForLocalNetworkPermissionsEnabled: 1

@b007zk
Copy link

b007zk commented Jun 6, 2024

Yeah so I forgot to mention in my comment that I also enabled isPromptForLocalNetworkPermissionsEnabled. I also don't have the cxClientEnableIosLocalNetworkPermissionWifiFixes option available.

@Write
Copy link

Write commented Jun 6, 2024

Yeah so I forgot to mention in my comment that I also enabled isPromptForLocalNetworkPermissionsEnabled. I also don't have the cxClientEnableIosLocalNetworkPermissionWifiFixes option available.

Well I can only give you what I use then :

Total: 9
YTColdConfig.clientInfraClientConfigEnableIosLocalPlaybackSequence2: 1
YTColdConfig.cxClientEnableIosLocalNetworkPermissionReliabilityFixes: 1
YTColdConfig.cxClientEnableIosLocalNetworkPermissionUsingSockets: 0
YTColdConfig.cxClientFallbackToLocalInitialPlaybackDescriptor: 1
YTColdConfig.cxClientSaveCloudScreenInfoInLocalStorageForSmoothPairingOnVerticals: 0
YTColdConfig.enableIosLocalPlaybackSequence: 0
YTColdConfig.isLocalTransportEncryptionEnabled: 1
YTHotConfig.deviceContextOnlySendOnWifi: 1
YTHotConfig.isPromptForLocalNetworkPermissionsEnabled: 0

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