Universal synchronization scheme for distributed audio-video capture on heterogeneous computing platforms