Changeset View
Changeset View
Standalone View
Standalone View
lib/types/media-types.js
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | export type UpdateMultimediaMessageMediaPayload = { | ||||
+currentMediaID: string, | +currentMediaID: string, | ||||
+mediaUpdate: Shape<Media>, | +mediaUpdate: Shape<Media>, | ||||
}; | }; | ||||
export type UploadDeletionRequest = { | export type UploadDeletionRequest = { | ||||
+id: string, | +id: string, | ||||
}; | }; | ||||
export type UploadMediaMetadataRequest = { | |||||
...Dimensions, | |||||
+filename: string, | |||||
+blobHolder: string, | |||||
+encryptionKey: string, | |||||
+mimeType: string, | |||||
+loop?: boolean, | |||||
}; | |||||
export type FFmpegStatistics = { | export type FFmpegStatistics = { | ||||
// seconds of video being processed per second | // seconds of video being processed per second | ||||
+speed: number, | +speed: number, | ||||
// total milliseconds of video processed so far | // total milliseconds of video processed so far | ||||
+time: number, | +time: number, | ||||
// total result file size in bytes so far | // total result file size in bytes so far | ||||
+size: number, | +size: number, | ||||
+videoQuality: number, | +videoQuality: number, | ||||
▲ Show 20 Lines • Show All 625 Lines • Show Last 20 Lines |