AVPlayer无法播放3gp视频格式

时间:2019-07-01 14:12:17

标签: ios12 swift5 xcode10.1

是否有一种方法可以在AVPlayer中支持.3gp格式?它似乎不播放它,但是它播放任何其他格式,例如.mov.mp4

let player = AVPlayer(url: videoURL)

let playerViewController = AVPlayerViewController()
playerViewController.player = player

self.present(playerViewController, animated: true) {                            
    playerViewController.player!.play()
}

0 个答案:

没有答案