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:
Patrick Nicolas
2023-10-21 17:53:04 +02:00
parent 5b527fdfcf
commit 4e233d99c2
16 changed files with 151 additions and 19 deletions
+2 -1
View File
@@ -29,11 +29,12 @@
#include "encoder_settings.h"
#include "wivrn_packets.h"
#include "wivrn_session.h"
namespace xrt::drivers::wivrn
{
class wivrn_session;
inline const char * encoder_nvenc = "nvenc";
inline const char * encoder_vaapi = "vaapi";
inline const char * encoder_x264 = "x264";