Skip to main content

Module media

Module media 

Source

ModulesΒ§

data πŸ”’
migrations πŸ”’
preview πŸ”’
URL Previews
remote πŸ”’
thumbnail πŸ”’
Media Thumbnails
video πŸ”’
Video Thumbnails

StructsΒ§

Dim
Dimension specification for a thumbnail.
MXCState πŸ”’
For MSC2246
Media
Metadata
Service
UploadStat
One locally-uploaded media item’s uploader and storage-object byte length and modification time, the row shape of the media-statistics scan.
UrlPreviewData
UserMediaEntry
One row of a user’s uploaded media, holding only the fields tuwunel can derive from the uploader index and storage-provider object metadata. The uploader is carried when the index holds a row for it.

ConstantsΒ§

CACHE_CONTROL_IMMUTABLE
Cache control for immutable objects.
CORP_CROSS_ORIGIN
Default cross-origin resource policy.
MXC_LENGTH
generated MXC ID (media-id) length
REDIRECT_TTL πŸ”’
Validity window for a presigned media download redirect (MSC3860).

FunctionsΒ§

encode_key
mtime_millis πŸ”’