iphone - AVPlayer vs. AVAudioPlayer -


Mentioned below:

[the] player equally with local and remote The media files works well

However, the following describes:

Apple recommends that you use this class for audio playback Use unless you are playing audio captured from a network stream

What I am doing, let me have some capabilities of AvAudioPlayer Required, but all my audio is being streamed. What is the main thing from AvAudioPlayer is that "Play" property does not need AVPlayer

What is the difference between AVPlayer and AVAudioPlayer which makes network unusable for later? What is the way to get some information from AVPlayer that provides AVAudioPlayer like "sports" property?

  1. AVPlayer can play AVPlayerItem using an IPod library url using AVURLAsset Are there. AVAudioPlayer can not play with an IPod library url

  2. AVPlayer does not have any volume and is required to use the system volume settings which can be controlled only by hardware switches or MPVLOW views. But you can set the mix quantity of AVAudioPlayer.

  3. AVPlayer seems to report a wrong current time after the search but AVAudioPlayer reports right.


Comments