Dynamic Buffer Management for Multimedia Synchronization in Heterogeneous Networks