0

このサイトからオーディオ ストリームを再生しようとしています: http://www.radioteofilotoni.com.br/

私は持っている:

MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:@"http://stream.jshost.com.br:1935/mobile/8056.stream/playlist.m3u8"]];
player.movieSourceType = MPMovieSourceTypeStreaming;
player.view.hidden = YES;
[self.view addSubview:player.view];
[player play];

何も再生されません。何が問題なのですか? この m3u8 リンクに Safari からアクセスして再生できます。

ありがとう。

4

1 に答える 1