static int getCustomTsInMillis(int customTs) { int time = (customTs + C_CUSTOM_TS_OFFSET) * 1000; return time; }