SessionSource
public sealed record SessionSource : IEquatable<SessionSource>
One camera's place in a session.
SessionSource: constructors
public SessionSource()
SessionSource: properties
public float FrameRate { get; init; }
Nominal capture frame rate in Hz. What the source actually delivers is measured; this is what it says about itself.
public uint Height { get; init; }
Frame height in pixels. Required.
public SessionSourceKind Kind { get; init; }
Thermal or visual. It decides which write call this source takes, and the wrong one is refused rather than converted; a colour frame in a radiometric track would read back as a measurement.
public string? Model { get; init; }
Camera model. Written per source, which is the thing a single-camera file's metadata cannot do for N cameras.
public string? Name { get; init; }
What the operator calls this camera: "Furnace north". Written into the session document and used as the track title.
public string? Serial { get; init; }
Camera serial.
public SessionTimestampSource TimestampSource { get; init; }
Where this source's frames get their session time. See SessionTimestampSource.
public int VisualJpegQuality { get; init; }
Quality, 2 (best) to 31 (worst), for encoding a visual source's track as MJPEG instead of losslessly. Zero, the default, keeps it lossless.
A higher number makes a smaller file and a coarser picture. The file says it is lossy, in its metadata and in an OTC_LOSSY container tag. Ignored on a thermal source, with a warning: MJPEG is eight bits a sample and a 16-bit temperature cannot go through it and still be a temperature.
public uint Width { get; init; }
Frame width in pixels. Required.