@ceeblue/web-utils
    Preparing search index...

    Function processUriTemplate

    • Beta

      Process a URI template used in SegmentTemplate nodes.

      Parameters

      • uriTemplate: string

        URI template to process.

      • representationId: string | null | undefined

        Representation ID.

      • number: number | null | undefined

        Number.

      • subNumber: number | null | undefined

        Sub-number.

      • bandwidth: number | null | undefined

        Bandwidth.

      • time: string | number | null | undefined

        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 string

      Processed URI template.

      {@includeCode ../../test/dash/processUriTemplate.test.ts#example}