//#region src/transcoding/utils/UrlGenerator.ts
/**
* URL generation utilities for transcoding endpoints
*/
var UrlGenerator = class {
	constructor(baseUrl) {
		this.baseUrl = baseUrl;
	}
	/**
	* Get the base URL for constructing absolute URLs
	*/
	getBaseUrl() {
		return this.baseUrl();
	}
	/**
	* Generate init segment URL
	*/
	generateInitSegmentUrl(mediaUrl, rendition) {
		return `${this.baseUrl()}/api/v1/transcode/${rendition}/init.mp4?url=${encodeURIComponent(mediaUrl)}`;
	}
	/**
	* Generate manifest URL
	*/
	generateManifestUrl(mediaUrl) {
		return `${this.baseUrl()}/api/v1/transcode/manifest.json?url=${encodeURIComponent(mediaUrl)}`;
	}
	/**
	* Generate quality presets URL
	*/
	generatePresetsUrl() {
		return `${this.baseUrl()}/api/v1/transcode/presets`;
	}
};

//#endregion
export { UrlGenerator };
//# sourceMappingURL=UrlGenerator.js.map