The TrackComposite egress in LiveKit is responsible for synchronizing audio and video tracks. It handles complex scenarios such as synchronization issues or cases where one of the tracks has been muted by the user. This ensures that the combined output (e.g., MP4, HLS, or RTMP stream) remains synchronized.
Sources:
Track Composite Egress | LiveKit Docs