Interface HlsPackage.Builder

    • Method Detail

      • encryption

        HlsPackage.Builder encryption​(HlsEncryption encryption)
        Sets the value of the Encryption property for this object.
        Parameters:
        encryption - The new value for the Encryption property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hlsManifests

        HlsPackage.Builder hlsManifests​(Collection<HlsManifest> hlsManifests)
        A list of HLS manifest configurations.
        Parameters:
        hlsManifests - A list of HLS manifest configurations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hlsManifests

        HlsPackage.Builder hlsManifests​(HlsManifest... hlsManifests)
        A list of HLS manifest configurations.
        Parameters:
        hlsManifests - A list of HLS manifest configurations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeDvbSubtitles

        HlsPackage.Builder includeDvbSubtitles​(Boolean includeDvbSubtitles)
        When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
        Parameters:
        includeDvbSubtitles - When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentDurationSeconds

        HlsPackage.Builder segmentDurationSeconds​(Integer segmentDurationSeconds)
        Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
        Parameters:
        segmentDurationSeconds - Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • useAudioRenditionGroup

        HlsPackage.Builder useAudioRenditionGroup​(Boolean useAudioRenditionGroup)
        When enabled, audio streams will be placed in rendition groups in the output.
        Parameters:
        useAudioRenditionGroup - When enabled, audio streams will be placed in rendition groups in the output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.