Multi-scene webcam (schema v3/v4): singleton Webcam + per-scene WebcamSceneConfig, right-click OBS-style border/context menu, persisted round-to-rect restore + legacy-square 16:9 heal, dark MenuItem template, tests (25 passing)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user