private static long calculateTimescaleTime(long time, long timescale) {
        return (long)((time / 1000000d) * timescale);
    }
Converts a time/timescale pair to microseconds.
MediaPlayer-DASH/src/main/java/net/protyposis/android/mediaplayer/dash/DashParser.java