I'm using code from Github sample project - googlecast/CastHelloText-android but they have hardcoded in AndroidManifest
android:screenOrientation="portrait"
and I want to be able to rotate screen and use split-screen (android nougat). It closes the custom channel and I cant restart it.
Asked
Active
Viewed 80 times
0
-
I'm using sender sdk v3 – kris Oct 07 '17 at 13:25
1 Answers
0
Automatic reconnection is handled by the Cast SDK. You have to ensure that you call the right API to join an existing session if one already exists.

Leon Nicholls
- 4,623
- 2
- 16
- 17