【问题标题】:How to play asf stream using vitamio?如何使用 vitamio 播放 asf 流?
【发布时间】:2013-06-28 08:58:57
【问题描述】:

我正在使用 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();
        }

请帮忙!

【问题讨论】:

    标签: android vitamio


    【解决方案1】:

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

    【讨论】:

    • 嘿约翰,请告诉我你是怎么解决的,在android中玩asf..请帮助我
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-20
    • 1970-01-01
    • 1970-01-01
    • 2011-04-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多