如何在 AVPlayer 中仅播放视频文件中的音频

use*_*169 5 ios avplayer swift

AVPlayer即使 url 流同时包含音频和视频,有没有办法只播放音频?

Max*_*ner 0

将视频播放器大小设置为 0x0 或将其放置在屏幕之外。