@Override
        public void onSuccess(SegmentDownloader.DownloadFinishedArgs args) throws IOException {
            if (!mSegmentProcessingThread.isAlive()) {
                // This can (should) only happen when releasing the extractor
                Log.d(TAG, "dropping downloaded segment, thread is gone");
                return;
            }

            mSegmentProcessingHandler.sendMessage(mSegmentProcessingHandler.obtainMessage(
                    MESSAGE_SEGMENT_DOWNLOADED, args));
        }
Handles a segment by merging it with the init segment into a temporary file.
MediaPlayer-DASH/src/main/java/net/protyposis/android/mediaplayer/dash/DashMediaExtractor.java