我正在尝试使用默认媒体播放器在我的Android应用程序中打开this stream,但我的所有媒体播放器都出错(例如MX Player和VLC播放器) .
守则是:
Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("http://iutv.iut.ac.ir:5657/tv2.flv");
intent.setType("video/*");
startActivity(intent)
错误是:
VLC encountered an error with this media.
Please try refreshing the media library
但是当我在chrome web浏览器上输入链接时,它可以正确地打开MX Player和VLC Player的链接
1 回答
这适合我
但如果您的问题仍然存在,请查看此处:
VLC encountered an error with this media Android