UNPKG

@svta/common-media-library

Version:
13 lines 393 B
/** * @internal * * Calculates the duration of a segment. * * segmentDuration = duration / timescale * * @param duration - Duration of the segment * @param timescale - Timescale of the segment * @returns Segment duration */ export declare function calculateDuration(duration: string | undefined, timescale: string | undefined): number; //# sourceMappingURL=calculateDuration.d.ts.map