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

When ingesting WHIP, Audio on LL-HLS is always Mono and very bad #2499

Closed
12 tasks
zapf2000 opened this issue Oct 13, 2023 · 2 comments · Fixed by #2740
Closed
12 tasks

When ingesting WHIP, Audio on LL-HLS is always Mono and very bad #2499

zapf2000 opened this issue Oct 13, 2023 · 2 comments · Fixed by #2740
Labels
bug Something isn't working hls

Comments

@zapf2000
Copy link

Which version are you using?

v0.0.0

Which operating system are you using?

  • [ x] Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

When ingesting WHIP, audio is very good on the WHEP Stream (Stereo), but when listening the LL-HLS Stream, Audio is very poor Mono Quality (all tested browsers can handle Opus on LL-Hls, but only Mono). This is completely Video Codec independent. When I ingest using RTMP (OBS), LL-HLS sound perfect, but in this case I have no WebRTC Stream (because of AAC instead of Opus).

Describe how to replicate the issue

  1. start the server
  2. publish with vdo.ninja in browser (Chrome)
  3. read with any AV1 supporting browser (Chrome)

Did you attach the server logs?

no

Did you attach a network dump?

no

@aler9
Copy link
Member

aler9 commented Nov 24, 2023

Hello, thanks for reporting the issue, i was able to replicate it by using OBS and WHIP. It turned out that Opus tracks published through WHIP didn't have the stereo flag correctly set. This is fixed by #2470. You can test the fix by using the nightly released available in this page (click on "Binaries"):

https://github.com/bluenviron/mediamtx/actions/runs/6984767731

Copy link
Contributor

This issue is mentioned in release v1.3.1 🚀
Check out the entire changelog by clicking here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hls
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants