Skip to content

VideoSource

Record in Oadm.Sdk.Vapix · Oadm.Sdk.dll

One video source of a device: a view area, a sensor of a multisensor camera or a channel of a video encoder. VAPIX addresses it as camera=N (1-based), e.g. /axis-cgi/jpg/image.cgi?camera=2.

public sealed record VideoSource(int Camera, string Name, int Sensor, IReadOnlyList<VideoResolution> Resolutions)

Parameters

  • Camera: 1-based VAPIX camera number.
  • Name: Label from Image.I<n>.Name, e.g. “View Area 1” or “Camera 2”; “Camera” for a device with one source.
  • Sensor: 0-based image source (sensor or input) it shows.
  • Resolutions: Resolutions of this source, largest first as the device lists them; may be empty.
int Camera { get; init; }

1-based VAPIX camera number.

string Name { get; init; }

Label from Image.I<n>.Name, e.g. “View Area 1” or “Camera 2”; “Camera” for a device with one source.

IReadOnlyList<VideoResolution> Resolutions { get; init; }

Resolutions of this source, largest first as the device lists them; may be empty.

int Sensor { get; init; }

0-based image source (sensor or input) it shows.