UNPKG

@onamfc/video-transcoder

Version:

Backend-agnostic video recording and transcoding module with AWS integration

12 lines 869 B
import type { RecorderConfig } from '../types'; export declare const formatFileSize: (bytes: number) => string; export declare const formatDuration: (seconds: number) => string; export declare const formatBitrate: (bitsPerSecond: number) => string; export declare const formatTimestamp: (timestamp: string | Date) => string; export declare const formatProgress: (current: number, total: number) => string; export declare const formatUploadSpeed: (bytesPerSecond: number) => string; export declare const formatETA: (remainingBytes: number, bytesPerSecond: number) => string; export declare const truncateText: (text: string, maxLength: number) => string; export declare function formatQualityLabel(quality: NonNullable<RecorderConfig['videoQuality']>): string; export declare function formatQualityLabel(quality: string): string; //# sourceMappingURL=formatters.d.ts.map