user468311
user468311

Reputation:

Android Online Radio Player

Is it possible to get track name while playing radio stream via MediaPlayer?

Upvotes: 0

Views: 1246

Answers (1)

Squonk
Squonk

Reputation: 48871

I would say pretty much with certainty - no, it isn't possible.

I can't see any MediaPlayer methods which suggest it's possible plus the way that metadata such as track name etc is presented in streaming media, will depend on the source, e.g, Shoutcast or otherwise.

If it can be done I'd be interested to know but I'd suspect you'd need to write something like a Shoutcast client (or other client depending on source). You'd still use MediaPlayer for streaming but would need extra code for accessing the metadata.

Upvotes: 1

Related Questions