google / google/ExoPlayer

Drop audio before first IDR video frame when starting MPEG-TS playback

Open
#10,491 6 comments 0 reactions 1 assignee Assigned to @rohitjoins View on GitHub
enhancement low priority
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I modified the exoplayer demo to make it play multicast, but found a problem.
After exoplayer renders the first frame, it will be still for 1-2 seconds, then it will be normal, but the audio will be normal during this time.
I found that after adding log to the MediaCodecVideoRenderer the video kept waiting for the correct time to render.

Modifying the DefaultLoadControl can adjust the display time of the first frame, but cannot change the time of the still frame. Is there any way to remove this restriction?

[multicast.log](https://github.com/google/ExoPlayer/files/9240426/multicast.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.