androidx / androidx/media

Playback stops after 60 secs where video continues for 54 sec and audio continues for 6 more seconds

Open
#1,429 4 comments 0 reactions 1 assignee View on GitHub

@tianyif is already working on this.

Since Jun 12, 2024.

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

Description

Exoplayer Version: 2.17.1
Android : AOSP 10
Custom Streaming application
Using our own OMEX implementation
App is in tunneling mode

I have been trying to debug an issue where where video continues playing for 54 sec and audio continues for 6 more seconds.
I have observed that Threadloop() in Audioflinger getting sleep and not waking up as there is no tracks to be added . Since thread is not getting up, it remains in the pause state. I can see in the logs that onStopped() api is getting called in ExoplayerImplInternal, which calls audiosink.pause() which then calls audiotrack.pause() which eventually calls native_pause().

Not able to proceed further .
Having said that , the same setup works for AOSP 11 .

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.