"Error Resilience" / "Clock Recovery" Don't RTMP and probably WebRTC both handle this in ~1-4 second chunks with video segments and a playlist? For non-live content a buffer can be attempted multiple times. Live content, yes that's an issue, but often if it's missed it's too late.
For clock recovery, it's more about frame-accuracy here. The drift and jitter requirements on the PCRs (Program Clock References, one of the timestamps in the transport stream), stream is limited very strictly on a wide timescale. Here's a nice reference about it: https://download.tek.com/document/25W_14617_1.pdf , see for example Figure 8. The limits here are surprisingly hard to achieve, both on the multiplexer sid…
Here's a short clip that's T-STD compliant with about 29 ns of PCR jitter.
https://www.w6rz.net/advatsc3.ts
BTW, last time I checked, the TS muxer in FFmpeg is horribly T-STD non-compliant.