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

Casting session is not being ended after the user kills the application #128

Open
chirag05k opened this issue Dec 28, 2022 · 1 comment
Open

Comments

@chirag05k
Copy link

SDK Version: google-cast-sdk (4.6.1)
iOS: 16.0

Expectation:

  • Once I kill the application the current ongoing session should be ended currently it continually playing the video

What I have tried:

  • Uses of end session:
    func applicationWillTerminate(_ application: UIApplication) {
             GCKCastContext.sharedInstance().discoveryManager.stopDiscovery()
             GCKCastContext.sharedInstance().sessionManager.endSession()
             GCKCastContext.sharedInstance().sessionManager.endSessionAndStopCasting(true)
    }
@Ngsetest
Copy link

Ngsetest commented Oct 20, 2024

I get the same problem.
SDK Version: 'google-cast-sdk', '4.8.3'
iOS: 16.5.1

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