Mr Dipuna Mr Dipuna - 1 year ago 71
Swift Question

AVFoundation Framework and Mediaplyer Framework: Which is the best framework to play audio/video in iOS Application?

I am new to iOS. I need to implement both video and audio player in my app. So please advice me which player is most suitable as per developer point of view.


  • AVplayer (AVFoundation )

  • MPMovieplayerController(MediaPlayer)

Answer Source

You should use AVPlayer since MPMovieplayerController is deprecated.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download