Implementing periodic sync (part 2 of 2): sync videos between server and device