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) } ```
SDK Version:
google-cast-sdk (4.6.1)iOS:
16.0Expectation:
What I have tried: