Class DolbyVisionConfig


  • @Deprecated
    public final class DolbyVisionConfig
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Dolby Vision configuration data.
    • Field Detail

      • profile

        public final int profile
        Deprecated.
        The profile number.
      • level

        public final int level
        Deprecated.
        The level number.
      • codecs

        public final String codecs
        Deprecated.
        The RFC 6381 codecs string.
    • Method Detail

      • parse

        @Nullable
        public static DolbyVisionConfig parse​(ParsableByteArray data)
        Deprecated.
        Parses Dolby Vision configuration data.
        Parameters:
        data - A ParsableByteArray, whose position is set to the start of the Dolby Vision configuration data to parse.
        Returns:
        The DolbyVisionConfig corresponding to the configuration, or null if the configuration isn't supported.