Re: playing a streamed audio file
Re: playing a streamed audio file
- Subject: Re: playing a streamed audio file
- From: Fritz Anderson <email@hidden>
- Date: Fri, 21 Oct 2011 09:58:33 -0500
On 21 Oct 2011, at 7:31 AM, John Love wrote:
> I discovered that I cannot use the AVAudioPlayer methods for playing a streamed audio file because this class only supports embedded audio (file:// links). OK, so I use the UIViewController method:
>
> - presentMoviePlayerViewControllerAnimated:myMPMoviePlayerController
>
> That works well, except that I have the lyrics showing in my UIView and this method totally hides the lyrics and shows the usual ((Q)) Quicktime logo and the Done button.
>
> So, instead I call:
>
> [moviePlayerController_ setControlStyle:MPMovieControlStyleNone];
>
> and the lyrics continue to show, with the audio playing in the background as I want, but then I lose total control of audio playback.
Does AVPlayer do what you want? You'll have to provide your own controls, but you get the total control you're looking for.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden