Table of Contents

TryMeasureSampleLatency

Methods
public bool TryMeasureSampleLatency(out double measuredNetworkLatency)

Calculates the average sample latency in the last Coherence.Interpolation.SampleBuffer`1.sampleCountForMeasuringLatency samples, ignoring the highest latency (if there are multiple samples).

Parameters
Type Name Description
double measuredNetworkLatency
Returns
Type Description
bool

True if there are enough samples to measure the latency, with measuredNetworkLatency set to average latency.