21 lines
860 B
C#
21 lines
860 B
C#
|
|
namespace TeamsISO.Engine.NdiInterop;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Constants describing the NDI SDK version this build was compiled against.
|
||
|
|
/// The runtime version reported by <see cref="NdiNative.Version"/> is compared against
|
||
|
|
/// <see cref="ExpectedRuntimeVersionPrefix"/> by the engine's runtime probe to detect
|
||
|
|
/// installations that pre-date or post-date the SDK headers (per spec §6).
|
||
|
|
/// </summary>
|
||
|
|
public static class NdiVersion
|
||
|
|
{
|
||
|
|
/// <summary>The SDK family this build targets (NDI 6).</summary>
|
||
|
|
public const string SdkFamily = "NDI 6";
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Prefix of the runtime version string we expect (NDI runtime reports e.g.
|
||
|
|
/// "NDI SDK for Windows v6.0.1.0"). Any major change of the leading "v6" is treated
|
||
|
|
/// as a mismatch.
|
||
|
|
/// </summary>
|
||
|
|
public const string ExpectedRuntimeVersionPrefix = "NDI SDK for Windows v6";
|
||
|
|
}
|