14.6. Synchronization

Another responsibility of the core module is the handling of stream synchronization. This involves two tasks—the extraction of synchronization information attached to incoming ESs and the maneuvering of the stream data so that it arrives at the compositor on time.

14.6.1. Sync Layer

Chapter 3 describes the MPEG-4 SL and its role. The SL is implemented in the reference software through DataChannel objects. A DataChannel object is instantiated for each open ES and handles all the DMIF events (see Chapter 7) occurring for this stream (as illustrated in Figure 14.3).

The DataChannel :: OnPacketReceived function is called for each incoming SL packet. Depending on the calling DMIF instance, the packet may include a packet header ...

Get MPEG-4 Book, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.