Page MenuHomePhabricator

[native] Add thumbhash step to media mission
ClosedPublic

Authored by bartek on May 15 2023, 12:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 6:58 AM
Unknown Object (File)
Mon, Nov 4, 1:16 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:53 PM
Unknown Object (File)
Oct 3 2024, 9:07 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