@Override
    public MediaExtractor getVideoExtractor() throws IOException {
        initHttpClient(); // in case init() has not been called
        DashMediaExtractor mediaExtractor = new DashMediaExtractor();
        mediaExtractor.setCacheSize(mCacheSizeInBytes);
        mediaExtractor.setDataSource(getContext(), mMPD, mSegmentDownloader, mMPD.getFirstPeriod().getFirstVideoSet(), mAdaptationLogic);
        return mediaExtractor;
    }
Sets the size of the segment cache. This only has an effect before the extractors are
created, i.e. before the DashSource is set as a data source (e.g. in MediaPlayer or VideoView).

If this source has separate video and audio extractors, the used storage size may be twice
the configured cache size because each extractor has its own cache.

If the size of the cache is smaller than the segments, segments are not cached and caching
is therefore disabled.

@param sizeInBytes the size of the segment cache in bytes
MediaPlayer-DASH/src/main/java/net/protyposis/android/mediaplayer/dash/DashSource.java