Skip to content
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

[BUG]: Audio not working with some video stream #4151

Open
rajesh2520 opened this issue Sep 7, 2024 · 10 comments
Open

[BUG]: Audio not working with some video stream #4151

rajesh2520 opened this issue Sep 7, 2024 · 10 comments
Labels
Accepted Issue is confirmed and accepted by maintainers team bug Platform: iOS

Comments

@rajesh2520
Copy link

Version

6.5.0

What platforms are you having the problem on?

iOS

System Version

0.73.5

On what device are you experiencing the issue?

Real device, Simulator

Architecture

Old architecture

What happened?

The HLS videos audio not working in iOS devices, what's the cause behind this my video url is below
https://nasmstaging.blob.core.windows.net/exercise-media-streams/c43edc50-60f6-11ef-a83f-556ad75e932e/main.m3u8

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

@rajesh2520 rajesh2520 added the bug label Sep 7, 2024
Copy link

github-actions bot commented Sep 7, 2024

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

@github-actions github-actions bot added Platform: iOS Missing info Some information from template are missing Missing repro Issue reproduction is missing labels Sep 7, 2024
@freeboub
Copy link
Collaborator

freeboub commented Sep 7, 2024

I check a bit more, now I reproduce the issue, I see that audio doesn't output.
BTW, if I only give the audio stream to the player I correctly hear the audio. following url: https://nasmstaging.blob.core.windows.net/exercise-media-streams/c43edc50-60f6-11ef-a83f-556ad75e932e/audio_0.m3u8

I wonder if the m3u8 is correctly constructed / compatibe with avPlayer. maybe there is a subfolder issue on the web server which is not supported by AVPlayer ...
I don't see any error on native side ...

Notice also that other m3u8 works with the sample, so it looks like specific to this stream

@freeboub freeboub added Accepted Issue is confirmed and accepted by maintainers team and removed Missing repro Issue reproduction is missing labels Sep 7, 2024
@freeboub freeboub changed the title [BUG]: Audio not working in the streaming video [BUG]: Audio not working with some video stream Sep 7, 2024
Copy link

github-actions bot commented Sep 7, 2024

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

@github-actions github-actions bot added the Missing repro Issue reproduction is missing label Sep 7, 2024
@rajesh2520
Copy link
Author

@freeboub
are you sure it's a sub-folder issue?

@freeboub
Copy link
Collaborator

freeboub commented Sep 7, 2024

@freeboub
are you sure it's a sub-folder issue?

No... Maybe you should check with charles proxy.
But I am sure it is not a decoder issue / audio format issue ...

@rajesh2520
Copy link
Author

@freeboub
I am not getting you what you mean for "charles proxy"

@rajesh2520
Copy link
Author

@freeboub
Any solution or update over this?

@freeboub freeboub removed Missing info Some information from template are missing Missing repro Issue reproduction is missing labels Sep 9, 2024
@freeboub
Copy link
Collaborator

freeboub commented Sep 9, 2024

No I did find solution for now ...
About charles proxy, it can help you to understand if there is a bad http request from AVPlayer ...

@rajesh2520
Copy link
Author

@freeboub
what solution you got on this? can you provide me so i can check it on my end

@freeboub
Copy link
Collaborator

I don't have 'easy clues' ...
You can try to reproduce the issue with a standalone AVPlayer sample, it can help to discriminate if the issue is linked to AVPlayer or RNV.
On my side, I tried to compare m3u8 contents with a working sample, I don't see apparent reason for the issue...

I suspect an issue on the m3u8 audio file, but I am not fully familiar with HLS format, I cannot identify easily the issue by reading playlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue is confirmed and accepted by maintainers team bug Platform: iOS
Projects
None yet
Development

No branches or pull requests

2 participants