google / google/ExoPlayer

Searched too many bytes.

Open
#10,842 2 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
needs triage question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

There's a mp3 file. it will always throw this error. By debug and find it has to do with the mp3's frame bytes stream, it reaches more than 171888 bytes(with value: 00) after a valid frame, however exo player detects the head with a max limitation "128kb" 131072 bytes, so it will be fail.

Question:
i wanna know whether can adjust the MAX limitation "MAX_SYNC_BYTES" to "256kb"???

/** The maximum number of bytes to search when synchronizing, before giving up. */
private static final int MAX_SYNC_BYTES = 128 * 1024;

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.