Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Video] Make compress/upload cancelable #4996

Merged
merged 3 commits into from
Aug 29, 2024
Merged

[Video] Make compress/upload cancelable #4996

merged 3 commits into from
Aug 29, 2024

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Aug 26, 2024

Adds an abort controller so that the upload/compression is cancellable

Copy link

render bot commented Aug 26, 2024

Copy link

github-actions bot commented Aug 26, 2024

Old size New size Diff
7.15 MB 7.15 MB 0 B (0.00%)

@mozzius mozzius marked this pull request as ready for review August 26, 2024 20:42
@mozzius mozzius requested a review from haileyok August 26, 2024 20:43
src/lib/media/video/compress.ts Outdated Show resolved Hide resolved
src/lib/media/video/compress.ts Outdated Show resolved Hide resolved
@haileyok
Copy link
Contributor

Noting this doesn't cancel uploads at least on native. Can handle separately.

@mozzius mozzius force-pushed the samuel/video-cancel branch from 37d4bcb to b6519bd Compare August 29, 2024 15:58
@mozzius mozzius merged commit ea5ab99 into main Aug 29, 2024
estrattonbailey added a commit that referenced this pull request Aug 29, 2024
* origin/main: (520 commits)
  Fix language filtering for feeds (#5026)
  Enable show_follow_back_label_v2 (#5022)
  Remove logging of following prefs (#5021)
  Remove new_user_guided_tour and tour code (#5023)
  [Video] Remove old env var (#5018)
  Profile screen performance tweak - Adjust initial num to render based on header height (#5005)
  [Video] Make compress/upload cancelable (#4996)
  [Video] Add uploaded video to post (#4884)
  [Video] Add `timeRemainingChange` event to `player` in `expo-video` (#5013)
  [Video] Lexicon implementation (#4881)
  Hide quote counts for quotegated posts (#5011)
  Ensure captcha verification code gets submitted in signup request (#5010)
  clean up languages (#5007)
  [Video] 🫧 Move logic around by platform (#5003)
  bump 1.91.0 (#5002)
  add indicator of time remaining (#5000)
  [Video] add scrubber to the web player (#4943)
  Release 1.90 prep (#4988)
  Use moderatePost_wrapped for post embeds (#4981)
  Update Indonesian translation (#4875)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants