docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISynchronizationCalibrator

    The interface for synchronization calibration strategies.

    Namespace: Unity.LiveCapture
    Assembly: Unity.LiveCapture.dll
    Syntax
    public interface ISynchronizationCalibrator

    Methods

    Execute(ITimecodeSource, IReadOnlyCollection<ITimedDataSource>)

    Perform calibration such that we have a reasonable guarantee that all timed data sources can be presented in a synchronized manner by a Synchronizer.

    Declaration
    IEnumerable<CalibrationResult> Execute(ITimecodeSource timecodeSource, IReadOnlyCollection<ITimedDataSource> dataSources)
    Parameters
    Type Name Description
    ITimecodeSource timecodeSource

    Timecode source used by the Synchronizer.

    IReadOnlyCollection<ITimedDataSource> dataSources

    The set of ITimedDataSource instances to be synchronized.

    Returns
    Type Description
    IEnumerable<CalibrationResult>

    Calibration results are returned iteratively.

    Remarks

    The calibrator should 1) determine a suitable global delay such that the data source with the highest latency will have time to receive the sample for a frame before it is asked to present it, and 2) attempt to adjust the buffers of each data source such that they will not have to drop samples they have not been presented yet due to full buffers.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)