phawind111 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Remote Display API results in blank screen for all sample apps #644

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download and remote display sample app (such as: 
https://github.com/googlecast/CastRemoteDisplay-android )
2. Build in Android Studio (latest version)
3. Test on 5.1.1 device running CyanogenMod (I have the problem on 2 devices: 
oneplus one and galaxy S3)

What is the expected output? What do you see instead?
Should see something on TV, instead I get black screen (and no sound).

What version of the product are you using? On what operating system?
5.1.1 device running CyanogenMod (I have the problem on 2 devices: oneplus one 
and galaxy S3) + Chromecast

Please provide any additional information below.
In android studio, I get this message in logcat:
Presentation is being immediately dismissed because the display metrics have 
changed since it was created.

Same message in all Remote Display sample apps I've tested.

Original issue reported on code.google.com by holyspi...@gmail.com on 8 Sep 2015 at 9:49

Attachments:

GoogleCodeExporter commented 8 years ago
Are you able to mirror your screen using the devices that are seeing this 
remote display issue?

Original comment by jonathan...@google.com on 8 Sep 2015 at 11:30

GoogleCodeExporter commented 8 years ago
Yes, screen mirroring works, all chromecast apps work (castpad, youtube, 
doodlecast). Will provide any log/info you need to fix issue.

Original comment by holyspi...@gmail.com on 8 Sep 2015 at 11:32

GoogleCodeExporter commented 8 years ago
Are you using the latest version of Google Play Services?
Have you seen the issue on any devices that aren't running CyanogenMod? 

Original comment by jonathan...@google.com on 9 Sep 2015 at 5:47

GoogleCodeExporter commented 8 years ago
Issue on both 7.8.99 (2134222-438) and  8.1.05 (2218116-238)

Will try putting a non-CM rom on one phone tonight, but stock OnePlusOne needs 
to work.

I also notice that in all remote display sample apps, when I go to stop 
casting, the casting volume control is too small. Bug or something that can be 
adjusted in code?

Original comment by holyspi...@gmail.com on 9 Sep 2015 at 6:11

Attachments:

GoogleCodeExporter commented 8 years ago
Flashed oxygen OS instead of the default CM on Oneplusone and it works. I still 
feel it is a critical issue if it doesn't work on CM though. 

Original comment by holyspi...@gmail.com on 10 Sep 2015 at 1:27

GoogleCodeExporter commented 8 years ago
I believe it's more appropriate to discuss that with the CM developers.

Original comment by jonathan...@google.com on 10 Sep 2015 at 5:51