-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Cannot stream an MP3 #81
Comments
If you prefer more codec/format and then |
Doesn't the default module.sh point(symlink) to module-lite.sh which does contain mp3? I just need mp3 and HLS. |
The problem is related to 'https' not being supported. Did you compile openssl before compiling FFmpeg? If not, FFmpeg will be compiled without SSL, and that means not https support. |
Okay, I just tried playing an mp3 from a http url and I get a different error now. Log below. Thanks. It says "could not find codec parameters".
|
Any update on this? |
Do you mind to share this file to some place I can download and debug? |
I started using LibVLC and it works well, no problems at all with http/https or rtmp urls. That mp3 url is a temporary url returned by SoundCloud API, so it's not accessible now. But nothing special, it's a normal mp3. |
The default module-lite.sh only contains features what I myself need. In ffmpeg directory, run Pick up what you need, and make up a config file, as module-life.sh does, I'm not good at ffmpeg enough to find out the real problem without run it. BTW: Seems android.media.MediaPlayer support mp3 on most devices, why not use that? |
https://api.soundcloud.com/tracks/143553285/stream?client_id=apigee -- this url will redirect to the actual mp3 url. Open it. Regarding android.media.MediaPlayer, well I wanted mp3+hls (or rtmp) support in one player. I thought the default module-lite.sh contained mp3. May be I'm wrong. |
Feel free to reopen if any more question. |
Hello. I haven't been able to stream MP3 files using ijkplayer. I went through the setup of ndk and generating .so files. All that is done, but I get a "Protocol not found" error. Full log below
Did I screw up the setup? Why does it say " No JNI_OnLoad found "?
Also, MP3 and HLS Audio (m3u8) are supported by this library right?
Thanks a lot!
The text was updated successfully, but these errors were encountered: