In the last ~24 hours, we\'ve seen a few thousand crashes within Google\'s MediaNotificationService
:
Fatal Exception: android.app.RemoteServiceExcep
We are also experiencing this issue with very similar symptoms. We are on cast SDK version 16.1.2
What we've tried (Updating to SDK 18.0.0)
Updating to v18.0.0 appears to fix the issue as reported by @Anjaneesh. However, 18.0.0 introduced behaviour changes around the retrieval of custom data. We have observed that the custom data we supply to the remoteMediaClient's mediaInfo (and then try to retrieve) gets nulled when the sender app disconnects and then re-connects. This will need guarding against if you aren't already!