googlecast / CastVideos-android

Reference Android Sender w/ Framework API: CastVideos-android application shows how to cast videos from an Android device that is fully compliant with the Cast Design Checklist.
Apache License 2.0
345 stars 183 forks source link

Media controls on Notification and Lockscreen don't show if metadata is not provided #87

Open lucafaggianelli opened 4 years ago

lucafaggianelli commented 4 years ago

I spent quite a lot of time to understand that the Notification and the Lockscreen Notification for controlling a media during playback, do not appear if I don't provide a metadata object in the MediaInfo, I don't know if this is normal, though at least I would mention it in the docs, at least here: https://developers.google.com/cast/docs/android_sender/integrate#add_media_controls_to_notification_and_lock_screen

Moreover, both the Android Home app and the Cast media router dialog (where you can select the cast device) don't work correctly without metadata, they keep saying No media selected.