Interface AudioLanguageSelection.Builder

    • Method Detail

      • languageCode

        AudioLanguageSelection.Builder languageCode​(String languageCode)
        Selects a specific three-letter language code from within an audio source.
        Parameters:
        languageCode - Selects a specific three-letter language code from within an audio source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageSelectionPolicy

        AudioLanguageSelection.Builder languageSelectionPolicy​(String languageSelectionPolicy)
        When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
        Parameters:
        languageSelectionPolicy - When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AudioLanguageSelectionPolicy, AudioLanguageSelectionPolicy
      • languageSelectionPolicy

        AudioLanguageSelection.Builder languageSelectionPolicy​(AudioLanguageSelectionPolicy languageSelectionPolicy)
        When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
        Parameters:
        languageSelectionPolicy - When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AudioLanguageSelectionPolicy, AudioLanguageSelectionPolicy