You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decode Offline Sync audio off the UI isolate when sharing a recording #22126
Offline Sync's Share Recording (#22088), like the existing single-file share, decodes audio on the UI isolate: AudioPlayerUtils._getOrCreateAudioFile decodes Opus or PCM to WAV in-line, and writeRecordingWav repeats that for every file in a recording before WavCombiner joins them. A recording several hours long freezes the UI while the WAV is built.
Follow-up: run the per-file decode (and the combine) in a background isolate, keeping the share sheet call on the main isolate. A device smoke test of a 1h+ recording mixing Opus and PCM on a mid-range Android phone would show how bad the current freeze is.
@josancamon19@kodjima33 — under the documented bounty-suggestion process, would you approve a US$50 bounty for this scoped fix, payable through the documented PayPal claim route after acceptance and merge?
Proposed acceptance scope:
move the per-file Opus/PCM decode and recording combine work off the Flutter UI isolate;
keep file selection and the platform share-sheet call on the main isolate;
preserve mixed-format ordering and existing unreadable-part behavior;
add hermetic regression coverage that exercises the production helper and demonstrates the UI isolate can continue processing events while the worker runs;
propagate worker failures and clean temporary output rather than reporting a successful share.
I can prepare the implementation and focused tests after scope and eligibility are confirmed. I do not have the specified mid-range Android device or a 1h+ real recording, so I would not claim that hardware smoke test; the PR would state that boundary and provide a deterministic synthetic mixed Opus/PCM fixture for maintainer/device validation.
This proposal was prepared with AI assistance on behalf of this account's owner. The amount is a request, not an approved award, reservation, or payment claim; payout details would be supplied privately only through the official process.
Activity
dohmnsama1-sketch commentedon Oct 19, 2026
@josancamon19 @kodjima33 — under the documented bounty-suggestion process, would you approve a US$50 bounty for this scoped fix, payable through the documented PayPal claim route after acceptance and merge?
Proposed acceptance scope:
I can prepare the implementation and focused tests after scope and eligibility are confirmed. I do not have the specified mid-range Android device or a 1h+ real recording, so I would not claim that hardware smoke test; the PR would state that boundary and provide a deterministic synthetic mixed Opus/PCM fixture for maintainer/device validation.
This proposal was prepared with AI assistance on behalf of this account's owner. The amount is a request, not an approved award, reservation, or payment claim; payout details would be supplied privately only through the official process.
test(app): cover isolate Opus decode and Logger.debug skip paths (Bas…
style(app): use const for opusName in audio_player_utils_test (BasedH…
test(app): cover worker-isolate Opus decode and Logger.debug skip pat…
perf(app): decode and combine Offline Sync recording audio on backgro…
perf(app): decode and combine Offline Sync recording audio on backgro…