Skip to content

StreamProbeSource

Record in Oadm.Sdk.Devices · Oadm.Sdk.dll

One video source of a device (Image.I<n>, camera n+1).

public sealed record StreamProbeSource(int Camera, string Name, int Width, int Height, int MaxFps, IReadOnlyList<string> Codecs)

Parameters

  • Camera: The RTSP camera number, 1 for the first source.
  • Name: The source’s name (Image.I<n>.Name), e.g. “View Area 1”.
  • Width: Width of the largest resolution.
  • Height: Height of the largest resolution.
  • MaxFps: The highest frame rate the source offers.
  • Codecs: The codecs the source offers, best first (“h265”, “h264”).
int Camera { get; init; }

The RTSP camera number, 1 for the first source.

IReadOnlyList<string> Codecs { get; init; }

The codecs the source offers, best first (“h265”, “h264”).

int Height { get; init; }

Height of the largest resolution.

int MaxFps { get; init; }

The highest frame rate the source offers.

string Name { get; init; }

The source’s name (Image.I<n>.Name), e.g. “View Area 1”.

int Width { get; init; }

Width of the largest resolution.