private Integer getNextSegment() {
        mCurrentSegment++;

        if(mRepresentation.segments.size() <= mCurrentSegment) {
            return null; // EOS, no more segment
        }

        return mCurrentSegment;
    }
Informs the caller if the representation has changed, and resets the flag. This means, it
returns true only once (the first time) after the representation has changed.
@return true if the representation has changed between the previous and current call, else false
MediaPlayer-DASH/src/main/java/net/protyposis/android/mediaplayer/dash/DashMediaExtractor.java