14 lines
489 B
C#
14 lines
489 B
C#
namespace ytLive.Models;
|
|
|
|
/// <summary>
|
|
/// The app-wide webcam identity — one camera input (the limit is the hardware,
|
|
/// not us). Scenes reference it via <see cref="WebcamSceneConfig"/>; the DeviceId
|
|
/// lives only here, so the camera is a Windows-controlled singleton.
|
|
/// </summary>
|
|
public class Webcam
|
|
{
|
|
public string Id { get; init; } = Guid.NewGuid().ToString();
|
|
public string DeviceId { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
}
|