我在tvos应用中播放.mp4网址时遇到问题

时间:2018-09-30 17:34:35

标签: swift avplayer tvos

最近我的tvOS应用由于消息我可以在日志中看到而停止工作:

[avas] AVAudioSessionUtilities.h:112:GetProperty: AudioSessionGetProperty ('caft') failed with error: '!ini'
[avas] AVAudioSessionUtilities.h:127:GetProperty_DefaultToZero: AudioSessionGetProperty ('caft') failed with error: '!ini'

实际上,它在以前工作过,大约一个月前就停止工作。

我知道这与AVAudioSession有关,我已经尝试了许多方法,但是仍然无法正常工作。

我可以使用其他第三方玩家,例如AVPlayer,但不能使用

有效。在模拟器上,但在设备上!设备在屏幕左下方显示一个红色图标,并记录上述两行。

非常感谢您的帮助或建议。

谢谢

0 个答案:

没有答案