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)
Wed, Apr 24, 7:48 AM
Unknown Object (File)
Fri, Apr 12, 11:37 AM
Unknown Object (File)
Wed, Apr 3, 6:10 PM
Unknown Object (File)
Thu, Mar 28, 9:02 PM
Unknown Object (File)
Thu, Mar 28, 9:02 PM
Unknown Object (File)
Thu, Mar 28, 9:02 PM
Unknown Object (File)
Thu, Mar 28, 9:02 PM
Unknown Object (File)
Thu, Mar 28, 8:53 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