私はストリーミングで作業しており、上の画像のような(コントロール ボリューム) とインジケーター (バッファリング/ローディング)URL
を作成する必要があります。私が使用しているコードはUISlider
_theAudio=[[AVPlayer alloc] initWithURL:streamURL];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
[[AVAudioSession sharedInstance] setActive: YES error: nil];
[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
[_theAudio play];