Skip to content

perf: resize video thumbnails#3713

Merged
isekovanic merged 1 commit into
developfrom
perf/resize-video-thumbnails-as-well
Jul 6, 2026
Merged

perf: resize video thumbnails#3713
isekovanic merged 1 commit into
developfrom
perf/resize-video-thumbnails-as-well

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

🎯 Goal

Historically, we have never actually resized the thumbnail urls within our Message component's Gallery. In chats where loads of videos are shared and the original width/height or the thumbnails is very large (I've seen videos with thumbnails as large as 2800x1600 !) we end up downloading/decoding unnecessarily large images for nothing.

This PR should address that.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@isekovanic isekovanic requested review from oliverlaz and szuperaz July 6, 2026 14:42
@Stream-SDK-Bot

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1976 KB 1976 KB +114 B 🟢

@isekovanic isekovanic merged commit 9e9fccd into develop Jul 6, 2026
10 checks passed
@isekovanic isekovanic deleted the perf/resize-video-thumbnails-as-well branch July 6, 2026 14:58
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.

3 participants