Improve timesync
Initial timesync algorithm assumed that latency was symmetrical, but it appears that it is not. Add a mechanism to estimate where latency happens, which leads to much more stable values: about 200µs variation between estimations.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
|
||||
class VideoEncoderFFMPEG : public VideoEncoder
|
||||
class VideoEncoderFFMPEG : public xrt::drivers::wivrn::VideoEncoder
|
||||
{
|
||||
public:
|
||||
using Codec = xrt::drivers::wivrn::video_codec;
|
||||
|
||||
Reference in New Issue
Block a user