Class FakeAdaptiveDataSet.Factory

    • Constructor Detail

      • Factory

        public Factory​(long chunkDurationUs,
                       double bitratePercentStdDev,
                       Random random)
        Set up factory for FakeAdaptiveDataSets with a chunk duration and the standard deviation of the chunk size.
        chunkDurationUs - The chunk duration to use in microseconds.
        bitratePercentStdDev - The standard deviation used to generate the chunk sizes centered around the average bitrate of the Formats. The standard deviation is given in percent (of the average size).
        random - The random number generator used to generate the chunk size variation.