@svta/common-media-library
Version:
A common library for media playback in JavaScript
20 lines • 932 B
TypeScript
/**
* Process a URI template used in `SegmentTemplate` nodes.
*
* @param uriTemplate - URI template to process.
* @param representationId - Representation ID.
* @param number - Number.
* @param subNumber - Sub-number.
* @param bandwidth - Bandwidth.
* @param time - Time. Should be passed as a number unless the value is larger than `MAX_SAFE_INTEGER`, then it should be provided as a string. If the value is a string all format tags will be ignored.
*
* @returns Processed URI template.
*
* @group DASH
* @beta
*
* @example
* {@includeCode ../../test/dash/processUriTemplate.test.ts#example}
*/
export declare function processUriTemplate(uriTemplate: string, representationId: string | null | undefined, number: number | null | undefined, subNumber: number | null | undefined, bandwidth: number | null | undefined, time: string | number | null | undefined): string;
//# sourceMappingURL=processUriTemplate.d.ts.map