Repository navigation
Conversation
…ail work - Network sources sent with headers have their redirects followed in Dart first; a hop to another scheme, host or port drops the Authorization, Cookie and Proxy-Authorization headers, and the platform fetches the final URL. Android also refuses a later cross-host redirect. - Thumbnails are at most 4096 px on the longest side, and videos larger than 8192 px on a side fail with THUMBNAIL_ERROR. - At most three thumbnails are generated at a time. - Linux network reads time out after 30 seconds; Android reports an out-of-memory failure as THUMBNAIL_ERROR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A call that never returns held one of the three places for good, so a few slow network videos could block every other thumbnail. It now fails with THUMBNAIL_ERROR after a minute and lets the next call start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the hand-written task pool with the Dart team's pool package. Each thumbnail keeps its own one-minute timeout inside withResource, since the pool's own timeout only fires when nothing at all happens for that long. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…way frames A batch ran in one place under a single one-minute timeout, so a batch of slow videos failed together; it now gets a minute per video. On Android, the full-size frame is released as soon as it has been scaled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of FLU-1382
What
Authorization,CookieandProxy-Authorizationheaders are dropped and the rest are kept, as OkHttp and Go'snet/httpdo. Android also sets its media stack's cross-domain redirect switch. Windows never sends headers, and on web the browser follows redirects itself.maxWidthandmaxHeightare0. A video more than 8192 px on a side fails withTHUMBNAIL_ERROR.thumbnailFiles) fails withTHUMBNAIL_ERRORand frees its place, usingpackage:pool.THUMBNAIL_ERRORinstead of crashing.Verified
Authorization, a same-host redirect keeps every header, small videos keep their size, a 6000 px video comes out at 4096, and a 9000 px video is refused. The 6000 px case is skipped on the emulator, whose software decoder can't decode it at all.🤖 Generated with Claude Code