Вопрос

I am using vitamio library to play online audo stream, but this cannot play asf stream.

    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();
        }

Plz help!

Это было полезно?

Решение

Vitamio support asf stream. What's wrong with you? error log?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top