@svta/common-media-library
Version:
A common library for media playback in JavaScript
13 lines • 458 B
TypeScript
import type { Period } from '../../../../types/mapper/dash/Period.js';
/**
* @internal
*
* Generates a presentation id. It uses the period id as default or creates one
* if none is present.
*
* @param period - Period to try to get the id from
* @param duration - Duration of the content
* @returns Presentation id
*/
export declare function getPresentationId(period: Period, duration: number): string;
//# sourceMappingURL=getPresentationId.d.ts.map