react-native-audio-streaming icon indicating copy to clipboard operation
react-native-audio-streaming copied to clipboard

Not working in android

Open jose920405 opened this issue 7 years ago • 2 comments

Works perfect for IOS but in android show the next error:

E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 752 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 376 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 188 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 94 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 47 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() init failed status=12
E/Decoder: start() failed err=-1
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 1024 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 752 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 376 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 188 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 94 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() frame decode error=12
E/Decoder[OpenCORE-MP3]: start() first frame cannot be decoded - trying to sync again
E/Decoder[OpenCORE-MP3]: start() cannot re-sync the stream after next 47 bytes, status=12
E/Decoder[OpenCORE-MP3]: start() init failed status=12
E/Decoder: start() failed err=-1
E/AACPlayer: playAsync():
                   java.lang.RuntimeException: Cannot start native decoder
                       at com.spoledge.aacdecoder.Decoder.start(Decoder.java:238)
                       at com.spoledge.aacdecoder.AACPlayer.playImpl(AACPlayer.java:424)
                       at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:386)
                       at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:338)
                       at com.spoledge.aacdecoder.AACPlayer$1.run(AACPlayer.java:296)
                       at java.lang.Thread.run(Thread.java:831)
E/AACPlayer: playAsync():
                   java.lang.RuntimeException: Cannot start native decoder
                       at com.spoledge.aacdecoder.Decoder.start(Decoder.java:238)
                       at com.spoledge.aacdecoder.AACPlayer.playImpl(AACPlayer.java:424)
                       at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:386)
                       at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:338)
                       at com.spoledge.aacdecoder.AACPlayer$1.run(AACPlayer.java:296)
                       at java.lang.Thread.run(Thread.java:831)

jose920405 avatar Aug 08 '17 19:08 jose920405

Can someone please help me with this?

jose920405 avatar Sep 11 '17 22:09 jose920405

I have the same problem

lillogoal avatar Dec 17 '17 17:12 lillogoal