androidx / androidx/media

Audio in RTSP stream in ExoPlayer only works with AAC mp4a.40.2 and not AAC mp4a.40.30 or mp4a.40.1?

Open
#977 0 comments 0 reactions 1 assignee View on GitHub

@microkatz is already working on this.

Since Jan 19, 2024.

needs triage question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Im not sure if it is a bug or if this is just some functionality that is partially implemented, and not full support yet, so I mark it as a question.

I have an RTSP stream that Im trying to stream with ExoPlayer, however the audio only works if the codec is mp4a.40.2. I have tried with mp4a.40.30 and mp4a.40.1 (the one I need to use), which are also AAC audio.
If I use mp4a.40.30 or mp4a.40.1 the audio wont play (only the video which only plays after the whole stream is buffered).

Does anyone know why this the behaviour I see in ExoPlayer when I use those AAC codecs for an RTSP stream?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.