videoLat 2.0
Video conferencing delay measurements
Classes | Defines
src/protocols.h File Reference

Various protocols for which multiple implementations exist. More...

#import "compat.h"
Include dependency graph for protocols.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <MeasurementTypeProtocol>
protocol  <ClockProtocol>
protocol  <RemoteClockProtocol>
protocol  <InputVideoFindProtocol>
protocol  <OutputVideoGenProtocol>
protocol  <OutputViewProtocol>
protocol  <SelectionViewDelegate>
protocol  <SelectionView>
protocol  <NetworkViewProtocol>
protocol  <InputCaptureProtocol>
protocol  <HardwareLightProtocol>
protocol  <GraphDataProviderProtocol>
protocol  <RunOutputManagerProtocol>
protocol  <RunInputManagerProtocol>
protocol  <UploadQueryDelegate>
protocol  <UploadDelegate>
protocol  <DownloadQueryDelegate>
protocol  <NewMeasurementDelegate>

Defines

#define VIDEOLAT_VERSION_NSSTRING   @"2.0"
 Version of the program.
#define VIDEOLAT_FILE_VERSION   @"2.0"
 Version of our document files (not program version).
#define VIDEOLAT_COMPAT_FILE_VERSION   @"1.2"
 Version of document files that we can still understand.
#define VL_DEBUG   0
 Turn on global debugging, at compile time.
#define WITH_LOGGING
 On OSX we enable detailed logging.
#define WITH_MACH_ABSOLUTE_TIME
 We need a monotonic system clock. Define this to use the Mach clock service.
#define WITH_DEVICE_CLOCK
 We can also use per-device clocks, if available, which may be more precise.
#define WITH_ADJUST_CLOCK_DRIFT   30000
#define WITH_ADJUST_CLOCK_DRIFT_FACTOR   2
#define WITH_MEDIAN_TIMESTAMP
#define WITH_SET_MIN_CAPTURE_DURATION

Detailed Description

Various protocols for which multiple implementations exist.


Define Documentation

#define WITH_ADJUST_CLOCK_DRIFT   30000

If we don't use the device clock we can still resync our idea of the system clock if it drifts too much. The value of the define is the allowable range (in microseconds) before we start adjusting.

#define WITH_MACH_ABSOLUTE_TIME

We need a monotonic system clock. Define this to use the Mach clock service.

Alternatively, we can use the Mach absolute time routines.

#define WITH_MEDIAN_TIMESTAMP

If this is defined the timestamp we record for reception are half-way between detection time and the last non-detection time. Otherwise we simply use detection time.

#define WITH_SET_MIN_CAPTURE_DURATION

If this is defined we throttle the video input capture rate. This lowers the CPU load and makes measurements more predictable, at the expense of having a (potentially much) larger inaccuracy.

 All Classes Namespaces Files Functions Variables Properties Defines