[POC] avtpsink: Support file playback for clock drift between gPTP and CRF
In case the gPTP and the CRF uses different clocks they could drift away from each other. In case of a file playback the gPTP time is used for the period time between the audio samples (is-live=true). But actually the length of a period is given by the CRF timestamps. When gPTP and CRF are using different clocks the period time of GPTP and period time of CRF can differ. For example when the CRF clock is 100PPM faster than the gPTP clock an audio buffer of 10ms would under run after 100sec.
This is currently only a prove of concept and I would be happy about comments. Especially I am not sure if the sleep in the avtpsink is a good solution. I have not yet tested this implementation.