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

Problem with seek and push notification #61

Open
Be4t5 opened this issue Apr 29, 2020 · 4 comments
Open

Problem with seek and push notification #61

Be4t5 opened this issue Apr 29, 2020 · 4 comments

Comments

@Be4t5
Copy link

Be4t5 commented Apr 29, 2020

Hi,
everytime i seek using the seek function, everything works as expected except from the push notification: it restarts from 00.00 everytime you seek.
Is that a known issue?
Thanks

@Lindsay-Needs-Sleep
Copy link
Collaborator

I haven’t used the plugin from push notifications before.
(I actually haven’t used push notifications at all yet... Too many other priorities)

But, if you tell me some additional details (android ios) / code samples, maybe I can help figure out why it is being weird.

How does the push notification trigger seek?

@Be4t5
Copy link
Author

Be4t5 commented Apr 29, 2020

I'm on Android.
In my app UI I implemented the seek feature using the seek function. It worked as expected in my app UI but if I lock the screen, the push notification that shows the progress bar is not in sync with the video anymore, it starts again from 00.00

@Lindsay-Needs-Sleep
Copy link
Collaborator

Oh interesting.
I never looked at notifications while casting.

I’m guessing some configuration work needs to be done on the Android side (maybe ios too) to configure that. (Assuming that the chromecast SDK is the one controlling that.)

@Lindsay-Needs-Sleep
Copy link
Collaborator

I don’t have time to work on chromecast right now, but I found the portion of the guide that talks about how to set up the controller for notifications/lock screen:

https://developers.google.com/cast/docs/android_sender/integrate#add_media_controls_to_notification_and_lock_screen

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

2 participants