使用Exoplayer MediaSessionConnector使用汽车媒体应用显示媒体元数据
我的媒体应用使用Exoplayer的MediaSessionConnector将MediaSession Metadata发送到Car Media App。汽车媒体应用应该显示当前曲目的标题,专辑和艺术家。 但这只是显示了专辑的标题,而艺术家则留下了空白。
问题是TimelineQueuenavigator使用MediaDescriptionCompat,该comprycompat采用标题和描述。没有明确的方法来设置艺术家和专辑。如何将这种情况hande?
My media app using Exoplayer's mediasessionconnector to send the mediasession metadata to the Car media App. Car media app supposed to show the title, album and artist of the current track.
But it just shows the title with album and artist left blank.
The problem is TimelineQueueNavigator uses MediaDescriptionCompat which takes title and descriptions. There is no explicitly way to set artist and album. How to hanlde this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据Defalutmetadataprovider的专辑,并且需要在MediaDescriptionCompat中捆绑。然后它起作用
As per DefalutMetadataProvider Album and Artists needs to be bundled in MediaDescriptionCompat. Then it worked