-
Notifications
You must be signed in to change notification settings - Fork 6k
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
HLS stream doesn't work with exoplayer demo app #3709
Comments
I cannot reproduce: both links work well. I will close the issue under the suspicion that something server-side has been fixed. If you still encounter the issue, please provide reply to this issue including the missing issue template items. |
Hi there, Issue descriptionThe main issue on my device is that some of the links doesn't play (some of them play only audio, and some of them are sending http request in loop over and over). I am testing on ExoPlayer demo app. Reproduction stepsTo reproduce this issue, put the links that I will send in email in "HLS" JSON samples in ExoPlayer Demo App. Link to test contentI sent an email with links Version of ExoPlayer being usedI am using ExoPlayer version 2.6.1 or ExoPlayer v2 demo app downloaded from this git repository. Device(s) and version(s) of Android being usedMy Android device is Sony Xperia M5 and Android version is 6.0. A full bug report captured from the deviceI sent my bug reports from my app, and exoplayer demo app. I was first thinking that it is my app issue, but it works same on ExoPlayer Demo app. |
Can anyone help? Still the stream doesn't work with demo app. |
#1967 explains the cause. You need to inject FLAG_ALLOW_NON_IDR_KEYFRAMES by implementing your own |
I did it, and it resolved my problem on Android 6.0, now all my streams work. But still on Android 7.0, some of the streams doesn't have audio, it shows Unsupported on demo app, but on Android 6.0 device it works. Also this flag that resolved me the issue for streams on Android 6.0, on Android 7.0 same streams doesn't play still. |
Hello there, I implemented ffmpeg extension, everything works perfect on Android 6.0, but still some streams doesn't play either video and audio on Android 7.0. It is the same on Android 5.0. I am sure that I implemented ffmpeg extension properly because I am getting in log that it loading FFmpeg extension class on every stream that device doesn't support. After message that app loaded ffmpeg extension I am getting this: W/VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es Any help? |
This is working as intended, and means that the device does not support the audio format you're trying to play. Please see the Sample Formats section of our Supported Formats page, and the Android supported format page that it links to.
There is not sufficient information provided for us to further debug this issue. For example, we have not received sufficient information for us to even know what type of audio format the streams that are still problematic contain. Are you sure you compiled FFmpeg in a way that supports the required format(s)? |
Hi there,
I have a lot of links for streams that I have to play in my app, some of them are working just fine.
Anyway, some of that HLS streams doesn't play audio, and some of that HLS streams doesn't play at all (either audio and video).
I tested on ExoPlayer demo app both.
Also to be sure that this link works, I tested it with another players from Google Play Store and the stream is playing just fine. (Perfect Player app).
Version of ExoPlayer that I am using is 2.6.1.
Reproduction steps: You can set the url that I will send by email to HLS stream in demo app.
If anyone can help, I will be very thankful.
Best regards,
Darko
The text was updated successfully, but these errors were encountered: