gpt4 book ai didi

android - 如何使用 vitamio 播放 asf 流?

转载 作者:行者123 更新时间:2023-11-30 03:31:37 24 4
gpt4 key购买 nike

我正在使用vitamio库播放在线audo流,但是这个不能播放asf流。

    mPlayer=new mPlayer(this);

try {
mPlayer.setDataSource(path);
//mPlayer.prepareAsync(); // prepare async to not block
// main
mPlayer.prepare();
mPlayer.start();
} catch (IllegalArgumentException e) {
Log.e(TAG, "mPlayer is onStartCommand error");
e.printStackTrace();
} catch (IllegalStateException e) {
Log.e(TAG, "mPlayer is onStartCommand error");
e.printStackTrace();
} catch (IOException e) {
Log.e(TAG, "mPlayer is onStartCommand error");
e.printStackTrace();
}

请帮忙!

最佳答案

Vitamio 支持 asf 流。你这人怎么回事?错误日志?

关于android - 如何使用 vitamio 播放 asf 流?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17360932/

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