Class HlsPlaybackConfiguration.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • HlsPlaybackConfiguration.Builder

        HlsPlaybackConfiguration.Builder()
        Creates a builder for the HLS playback configuration.
    • Method Detail

      • useLegacy

        @NonNull() HlsPlaybackConfiguration.Builder useLegacy(@Nullable() Boolean useLegacy)

        Sets whether this source should be played using the legacy HLS pipeline.

        • If `true`, always use the legacy HLS pipeline.
        • If `false`, never use the legacy HLS pipeline.
        • If `null` (default), use the modern HLS pipeline if available, otherwise fall back to the legacy HLS pipeline.
        Parameters:
        useLegacy - Whether this source should be played using the legacy HLS pipeline.