Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top