minshikshin / google-cast-sdk

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

Widevine DRM Stream crashes Chromecast App on Nexus Player #645

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Chromecast implementation of the Nexus Player devices crashes if you cast 
streams or videos which are protected with widevine DRM.

Steps to reproduce:
- Cast a Widevine DRM protected stream, for example use the chromecast demo 
application from https://github.com/googlecast/CastMediaPlayerStreamingDRM 
(Cars.mdp)
- The stream starts playing for a couple of seconds
- the chromecast application crashes
- after a couple of times the nexus player no longer identifies itself as a a 
chromecast and needs to be rebooted 

Android Version: 5.1.1
Build: LMY48J

Expected behaviour: Streams should run as on a chromecast stick

Original issue reported on code.google.com by dominik....@gmail.com on 16 Sep 2015 at 7:39

GoogleCodeExporter commented 9 years ago
Can you reproduce the issue (including the issue where the Nexus Player no 
longer identifies itself as a Chromecast), enable and capture receiver logs, 
and provide them here as a text file? Also, please provide any stream(s) where 
you saw this issue occurring and make sure they're available for us to test.

Original comment by jonathan...@google.com on 18 Sep 2015 at 5:14

GoogleCodeExporter commented 9 years ago
Same issue here.  Debug log attached.

This is with the Cars.mpd stream from the SDK example 
(CastMediaPlayerStreamingDRM)
http://storage.googleapis.com/gtv-videos-bucket/dash/CarWidevine/car.mpd
Unmodified example app

from logcat:
D/CastCrashUploader( 2005): Checking for crash dumps
D/CastCrashUploader( 2005): Uploading dump crash log: 
5e29bf0d-e3aa-b976-115a2756-4bea2ce8.dmp4370
E/CastCrashUploader( 2005): File I/O error trying to upload crash dump
D/CastCrashUploader( 3295): Checking for crash dumps
D/CastCrashUploader( 3295): Uploading dump crash log: 
5e29bf0d-e3aa-b976-115a2756-4bea2ce8.dmp4370
D/CastCrashUploader( 3295): Successfully uploaded to 
http://clients2.google.com/cr/report, report ID: ed72a1bc25a6840c
D/CastCrashUploader( 3295): Uploading dump crash log: 
648846d0-e3b1-0671-36bf7035-47168ddb.dmp2005
D/CastCrashUploader( 3295): Successfully uploaded to 
http://clients2.google.com/cr/report, report ID: a6f9ac3cda2b4913

Trying again: Same result, after that, the device is no longer in the list

E/OMXNodeInstance(  164): !!! Observer died. Quickly, do something, ... 
anything...
I/Zygote  (  169): Process 3295 exited due to signal (11)
I/WindowState(  445): WIN DEATH: Window{1ad1af32 u0 SurfaceView}
I/OMXVideoDecoder(  164): Flushing port# 4294967295.
W/OMXVideoDecoder(  164): Flushing video pipeline.
I/ActivityManager(  445): Process com.google.android.apps.mediashell (pid 3295) 
has died
W/ActivityManager(  445): Service crashed 2 times, stopping: 
ServiceRecord{3888a57a u0 
com.google.android.apps.mediashell/.MediaShellCastReceiverService}
I/ActivityManager(  445): Killing 
5765:com.google.android.apps.mediashell:sandboxed_process0/u0a0i1 (adj 0): 
isolated not needed

Original comment by jo.deise...@gmail.com on 19 Sep 2015 at 3:47

Attachments:

GoogleCodeExporter commented 9 years ago
We're able to reproduce and are investigating fixes. Thanks for the extra 
information.

Original comment by gun...@google.com on 22 Sep 2015 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by jonathan...@google.com on 22 Sep 2015 at 3:48