Page MenuHomePhabricator

[native] Add thumbhash step to media mission
ClosedPublic

Authored by bartek on May 15 2023, 12:59 AM.
Tags
None
Referenced Files
F3389997: D7802.id26586.diff
Fri, Nov 29, 9:32 PM
F3389635: D7802.diff
Fri, Nov 29, 7:54 PM
Unknown Object (File)
Wed, Nov 20, 6:27 PM
Unknown Object (File)
Sat, Nov 9, 6:58 AM
Unknown Object (File)
Mon, Nov 4, 1:16 PM
Unknown Object (File)
Oct 30 2024, 3:57 PM
Unknown Object (File)
Oct 30 2024, 3:57 PM
Unknown Object (File)
Oct 30 2024, 3:57 PM
Subscribers

Details

Summary

This uses the expo-module to generate the thumbhash for the media file during the media mission. For videos, the thumbnail is used.
For encrypted media, the thumbhash field is also encrypted using the photo/thumbnail encryption key.

Depends on D7780

Test Plan

This will be tested more with subsequent diffs. Now console.logged the thumbhash field and sent some media.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable