fzwoch / obs-teleport

An OBS Studio plugin for an open NDI-like replacement. Pretty simple, straight forward. No NDI compatibility in any form.
GNU General Public License v2.0
448 stars 16 forks source link

Secondary receiver may not have optimal sync #40

Closed fzwoch closed 2 years ago

fzwoch commented 2 years ago

We do interleave the received data just fine to be as close as audio video sync as possible.

However, a second receiver will get data not from the beginning, e.g. it is most likely to receive more audio data than video data at first. Interleaving is fine here, but since we deliver audio from an earlier point in time than video (first packet of each) OBS may sync this incorrect.

We should discard the data until we start with data close enough for each media type.