GithubHelp home page GithubHelp logo

ogg streams crash about radiodroid HOT 8 CLOSED

segler-alex avatar segler-alex commented on May 27, 2024
ogg streams crash

from radiodroid.

Comments (8)

hurzl avatar hurzl commented on May 27, 2024

05-16 11:50:39.913 25067-28679/net.programmierecke.radiodroid2 E/MediaPlayer: attachNewPlayer called in state 4
05-16 11:50:39.913 25067-28679/net.programmierecke.radiodroid2 E/PLAY: java.lang.IllegalStateException
05-16 11:50:39.973 25067-28679/net.programmierecke.radiodroid2 E/AndroidRuntime: FATAL EXCEPTION: Thread-16211
                                                                                 Process: net.programmierecke.radiodroid2, PID: 25067
                                                                                 java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
                                                                                     at android.os.Handler.<init>(Handler.java:200)
                                                                                     at android.os.Handler.<init>(Handler.java:114)
                                                                                     at android.widget.Toast$TN.<init>(Toast.java:346)
                                                                                     at android.widget.Toast.<init>(Toast.java:102)
                                                                                     at android.widget.Toast.makeText(Toast.java:260)
                                                                                     at net.programmierecke.radiodroid2.PlayerService$3.run(PlayerService.java:365)
                                                                                     at java.lang.Thread.run(Thread.java:818)
05-16 11:50:40.754 25067-28276/net.programmierecke.radiodroid2 I/PROXY: stop()

from radiodroid.

Wikinaut avatar Wikinaut commented on May 27, 2024

Which RadioDroid version ?

from radiodroid.

hurzl avatar hurzl commented on May 27, 2024

0.14.6

from radiodroid.

Wikinaut avatar Wikinaut commented on May 27, 2024

@hurzl
Deutschlandradio Kultur has three OGG streams, have you tested all three ?

  • 48-128 kBit/s VBR -> works for me on HUAWEI Y201, and HUAWEI P8 LITE
  • 56 kBit/s -> works for me on HUAWEI Y201, and HUAWEI P8 LITE
  • 33 kBit/s -> works for me on HUAWEI P8 LITE. On HUAWEI Y201 I see "Bereite Stream vor..." and it does not play.
    ( http://www.dradio.de/streaming/dkultur_lq_ogg.m3u )

I noticed problems with OGG now and then with several devices and software, maybe a general problem for older Android versions. Sometimes, closing and restart of RadioDroid, or the smartphone helped.

Loading and buffering of the slow streams can take 2..3 minutes until audio is played! But works.

Here are the Stream Urls for all quality levels:
http://www.deutschlandradio.de/deutschlandradio-im-internet-mit-ogg-vorbis-stream.508.de.html

from radiodroid.

hurzl avatar hurzl commented on May 27, 2024

Ich probiere "OGG HQ". Mehr ist an Text nicht zu erkennen. Was hat die IllegalStateException oben damit zu tun?

from radiodroid.

Wikinaut avatar Wikinaut commented on May 27, 2024

@hurzl
I justed wanted to point out (and confirm in that way), that playing OGG sometimes works and sometimes does not work. I cannot debug the code at the moment, but on my HUAWEI Y201 and the 33 kBits/s stream (which is not playing there), when I try to stop the play action, RadioDroid crashes on that device.

from radiodroid.

segler-alex avatar segler-alex commented on May 27, 2024

it is always possible to "share" stations with other mediaplayers. for example VLC. it will play any station. for the time beeing i am using the android internal mediaplayer and it does not play all streams very good :(
maybe i will add FFMPEG at some time. but this will need much work

from radiodroid.

segler-alex avatar segler-alex commented on May 27, 2024

fixed crash in 0.19

from radiodroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.