Class FormatUtil


  • public class FormatUtil
    extends Object
    • Constructor Detail

      • FormatUtil

        public FormatUtil()
    • Method Detail

      • getFrameworkMediaFormatV16

        public static MediaFormat getFrameworkMediaFormatV16​(com.google.android.exoplayer2.Format f)
        Returns a MediaFormat representation of the provided format.
        Parameters:
        f - the format from which to build the MediaFormat