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

Chromecast not responding (iOS only) #77

Open
dairondv1986 opened this issue Dec 2, 2020 · 3 comments
Open

Chromecast not responding (iOS only) #77

dairondv1986 opened this issue Dec 2, 2020 · 3 comments

Comments

@dairondv1986
Copy link

When I send a content to Chromecast if I turn off the phone screen, when I go to de app again the sender can't send commands to de receiver, Ex: The play/pause action does not work and no notifications are received.

@Lindsay-Needs-Sleep
Copy link
Collaborator

Lindsay-Needs-Sleep commented Dec 4, 2020

It might be your code.

(ios and android) I can start a cast, lock the screen, unlock the screen, and pause/play still work.
(ios and android) My controls work even after force closing and restarting the app.

I'm not sure what notifications you are talking about though? I thought there were only chromecast notifications on android?

I would also recommend using the latest version of this plugin on miloproductionsinc

@dairondv1986
Copy link
Author

Ok Thanks I wil try, I was testing from jellyfin branch not from that one.

@ghenry22
Copy link

Your iOS app needs to have the background mode entitlement for audio/airplay enabled.
I would recommend using the cordova-plugin-ionic-webview which has a setting to NOT immediately suspend in the background, make sure this is set correctly. Otherwise wkwebview immediately suspends when the app isn't in the foreground.

If you have both of these then you should be good to go.

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

No branches or pull requests

3 participants