Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playblack problem on Samsung Galaxy S2 #430

Closed
marianpavel opened this issue May 5, 2015 · 2 comments
Closed

Playblack problem on Samsung Galaxy S2 #430

marianpavel opened this issue May 5, 2015 · 2 comments

Comments

@marianpavel
Copy link

Hi ! I am using the mp3 extractor from the dev branch to stream mp3 playlist in my app.I have tested untill now on 6 devices but only on S2 I have bad response from library. After reading this thread: #273 I noticed the hardware decoding problem on S2 and I think that would be the problem. Is there a way to switch to software decoding or would this solve the problem ?

Also my BUFFER_SIZE is set to 10 * 1024 * 1024, what would be the best buffer size and how influence this the playblack.

    transferListener = new TransferListener() {
        @Override
        public void onTransferStart() {

        }

        @Override
        public void onBytesTransferred(int bytesTransferred) {

        }

        @Override
        public void onTransferEnd() {

        }
    };

                    mp3Extractor = new Mp3Extractor();
                    dataSource = new DefaultUriDataSource("musicStream", transferListener);
                    sampleSource = new ExtractorSampleSource(uri, dataSource, mp3Extractor, 1, BUFFER_SIZE);
                    MediaCodecAudioTrackRenderer audioRenderer =
                            new MediaCodecAudioTrackRenderer(sampleSource, null, true);
                    exoPlayer.prepare(audioRenderer);

The log from the samsung galaxy s2: http://pastebin.com/qLY4na6z

@marianpavel
Copy link
Author

I come back with a question: Does smoothstreaming support only Audio stream of MP3 files ? I tryed to change my player with SmoothStreamingRendererBuilder but I couldn't make him play, if anyone could guide me with a basic Sample that would be perfect. Thanks !

@ojw28
Copy link
Contributor

ojw28 commented Oct 11, 2015

There's nothing actionable in this issue. If your problem still occurs on 1.5.0 or later, please file a new issue containing all of the information described here. Thanks.

@ojw28 ojw28 closed this as completed Oct 11, 2015
@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants