I have a live mp3 stream that I am playing using the BackgroundAudioAgent and an AudioPlayerAgent. Since the feed is a mp3 stream I didn't see a reason to create a AudioStreamingAgent. The stream plays as expected.
Is it possible to get track information from the audio stream? For example, when I play the stream in VLC it lists the artist/title/etc about the currently playing song. This meta information is provided in the stream; however, the BackgroundAudioAgent doesn't seem to use this information or update when the track changes.
I know it is possible to manually set the track information for the background agent, but I am trying to get is grab that information from the stream itself. Is this possible with an AudioPlayerAgent? Do I have to create an AudioStreamingAgent for this?
//This is how I am currently setting the audio track
AudioTrack track = new AudioTrack(new Uri(SourceString, UriKind.RelativeOrAbsolute), null, null, null, null);
Thanks in advance for your help.