Note that there are some explanatory texts on larger screens.

plurals
  1. POGet ID3 tags from stream on iPhone
    text
    copied!<p>I can not get title of song and name of composer on iPhone from HTTP Live Stream (using m3u, m3u8 playlist files). I've tried get it from this site <a href="http://www.tempomixradio.com" rel="nofollow noreferrer">tempomix radio</a>. this is link to streaming - <a href="http://stream21.group-network.net:9012" rel="nofollow noreferrer">http://stream21.group-network.net:9012</a></p> <p>I'm trying use next code:</p> <pre><code> AVPlayerItem *playerItem = [AVPlayerItem playerItemWithURL:url]; _player = [[AVPlayer playerWithPlayerItem:playerItem] retain]; _player.actionAtItemEnd = AVPlayerActionAtItemEndNone; [_player addObserver:self forKeyPath:@"status" options:NSKeyValueObservingOptionNew context:NULL]; [_player addObserver:self forKeyPath:@"currentItem" options:NSKeyValueObservingOptionNew context:NULL]; [_player addObserver:self forKeyPath:@"timedMetadata" options:NSKeyValueObservingOptionNew context:NULL]; </code></pre> <p>And then waiting for callback here:</p> <pre><code>- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { </code></pre> <p>When callback comes - I check AVPlayerStatus and run play. Radio plays fine - but never comes to observeValueForKeyPath.</p> <p>I know this question looks similar to <a href="https://stackoverflow.com/questions/5085677/extracting-id3-tags-from-mp3-over-http-live-streaming">this question</a> but described methods don't work for me.</p> <p>Any ideas? Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload