NerdGr8 / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Cannot start native decoder #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try the following code in your own project:
MultiPlayer multiPlayer = null;
multiPlayer = new MultiPlayer(this, 1500, 700);
multiPlayer.playAsync(url);
2. Pass a valid url paramater to playAsync.  It is a remote AAC file.
3. Observe the following error:
playAsync(): E/AACPlayer(21045): java.lang.RuntimeException: Cannot start 
native decoder
 E/AACPlayer(21045):    at com.spoledge.aacdecoder.Decoder.start(Decoder.java:217)
 E/AACPlayer(21045):    at com.spoledge.aacdecoder.AACPlayer.playImpl(AACPlayer.java:355)
 E/AACPlayer(21045):    at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:317)
 E/AACPlayer(21045):    at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:285)
 E/AACPlayer(21045):    at com.spoledge.aacdecoder.AACPlayer$1.run(AACPlayer.java:248)

 E/AACPlayer(21045):    at java.lang.Thread.run(Thread.java:856)
 E/PlayerNetwork(21045): Cannot start native decoder

What is the expected output? What do you see instead?
It should start playing the AAC file.  I just see this error instead.

What version of the product are you using? On which device ?
Latest code.  Droid Bionic, ICS 4.0.4

What is the URL of the stream ?
http://fp-limelight.musicnet.com/mp3/mn_mp3_10_16/downloads/a090/040/003/4000344
1_2_019.mp4?e=1350330460&h=18ad5c08bedb5a8e7d29429dbeb31481

Please provide any additional information below.
This code worked for me at some point.  However, I cannot run this code in my 
own project anymore.  I don't know why this error occurs.

Original issue reported on code.google.com by iganapol...@raditaz.com on 15 Oct 2012 at 9:02

GoogleCodeExporter commented 8 years ago
I cannot get any valid AAC/MP3 stream response. Please verify that the URL is 
correct and confirm.
Thanks. Vaclav

HTTP/1.1 400 Bad Request
Server: EdgePrism/4.0.2.0
Mime-Version: 1.0
Content-Type: text/plain
Date: Wed, 24 Oct 2012 06:47:03 GMT
Content-Length: 0
Connection: keep-alive

Original comment by vbarta...@gmail.com on 24 Oct 2012 at 6:51

GoogleCodeExporter commented 8 years ago
Same as Issue #29

Original comment by vbarta...@gmail.com on 24 Oct 2012 at 6:54

GoogleCodeExporter commented 8 years ago
Here you go, try these AAC's:
https://www.dropbox.com/sh/x21e13tfz5vvxsw/LdZIocGx2J

Original comment by iganapol...@raditaz.com on 24 Oct 2012 at 6:27