gpt4 book ai didi

android - VideoView 错误 "Access denied finding property"

转载 作者:行者123 更新时间:2023-12-02 04:21:32 25 4
gpt4 key购买 nike

我正在尝试使用 VideoView 播放流式视频 (600KB)。问题是在某些设备上 logcat 上有错误:

Access denied finding property "media.proxy.enable-wifi"
Access denied finding property "media.proxy.network.type"
Access denied finding property "media.proxy.http.addr"
Access denied finding property "media.proxy.http.port"
Access denied finding property "media.proxy.username"
Access denied finding property "media.proxy.password"

然后出现一个对话框,告诉我它无法播放视频。视频是一个 mp4 文件,可以从我的浏览器访问,并且在某些设备上它可以工作。

我的代码非常简单:

videoView.setVideoURI(Uri.parse(url));
videoView.start();

感谢您的帮助。

最佳答案

最后的问题是视频分辨率对于设备来说太大了。

关于android - VideoView 错误 "Access denied finding property",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59501978/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com