无法初始化,错误为error.code = 1954115647.
因为AVAudioPlayer不支持mov格式的文件。
可用AVPlayer代替,而且无需设置AVPlayerLayer。
参考https://stackoverflow.com/questions/12531330/play-sound-of-mov-file-with-avaudioplayer
无法初始化,错误为error.code = 1954115647.
因为AVAudioPlayer不支持mov格式的文件。
可用AVPlayer代替,而且无需设置AVPlayerLayer。
参考https://stackoverflow.com/questions/12531330/play-sound-of-mov-file-with-avaudioplayer
本文标题:AVAudioPlayer 无法播放mov文件(AVFileTy
本文链接:https://www.haomeiwen.com/subject/ypwtkqtx.html
网友评论