Joeb
Joeb

Reputation: 95

Livestreaming audio get metadata

With the help of this forum I have my app playing on chromecast now. I am trying to figure out how or if it is possible to retrieve the live streaming audio metadata and display it on my tv. I am using the default media player/receiver and the Cast Companion Library. The sample cast video app does not play a live stream. I have had no luck trying to figure out how to implement this. For now I am just displaying a static message, but I know the users will complain and will want the live song info.

Upvotes: 1

Views: 166

Answers (1)

Ali Naddaf
Ali Naddaf

Reputation: 19084

As far as providing metadata, there is no difference between live or buffered streams; you provide the metadata in the same MediaInfo object and load that for your receiver.

Upvotes: 1

Related Questions