From 87f05ba2ce5cd6826be1cda1a6667fcbc1be9289 Mon Sep 17 00:00:00 2001 From: gramps Date: Fri, 9 Oct 2026 13:32:38 -0700 Subject: [PATCH] Private broadcasts end like recordings: Enter keeps, Escape deletes (KeepBroadcastDialog). Privacy read from YouTube; delete = videos.delete (fallback liveBroadcasts.delete on 404). Refs: https://developers.google.com/youtube/v3/docs/videos/delete https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/delete (Unit: private broadcast close-out) --- HANDOFF.md | 7 ++ KeepBroadcastDialog.xaml | 31 ++++++++ KeepBroadcastDialog.xaml.cs | 23 ++++++ Services/YouTubeStreamService.cs | 60 ++++++++++++++++ Services/index.md | 1 + .../MainViewModel.Streaming.Operations.cs | 55 +++++++++++++- ai.md | 9 +++ ytLive.Tests/PrivateBroadcastCloseOutTests.cs | 71 +++++++++++++++++++ 8 files changed, 255 insertions(+), 2 deletions(-) create mode 100644 KeepBroadcastDialog.xaml create mode 100644 KeepBroadcastDialog.xaml.cs create mode 100644 ytLive.Tests/PrivateBroadcastCloseOutTests.cs diff --git a/HANDOFF.md b/HANDOFF.md index b5f90c7..928a355 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -43,5 +43,12 @@ rewrite, TASK 55 (disk hygiene) + TASK 56 (secret scan before going public) queu - TASK 56: secret-scan the full history BEFORE the Gitea repo (`gramps/LlamaCasty`) goes public. - Carried: "Use default background" toggle still not working (from 2026-10-07). +## Also shipped after TASK 51 (2026-10-09) +- **Brand flash OFF by default** (`MainViewModel.ShowBrandFlash = false`; feature kept). +- **Audio loudness:** `SpeechLeveler` auto-gain in the voice chain + honest mic meter (no +10 dB boost). + Creator's upload was −28.5 LUFS; the same audio through the new chain measures −17.9 LUFS. +- **Private broadcast close-out:** Enter keeps / Escape deletes (`KeepBroadcastDialog`, + `videos.delete`). Untested against the real API — first real private stream is the check. + ## Next step - Creator runs the app: webcam → Layers properties → Background → Remove / Blur + Strength. diff --git a/KeepBroadcastDialog.xaml b/KeepBroadcastDialog.xaml new file mode 100644 index 0000000..52416d8 --- /dev/null +++ b/KeepBroadcastDialog.xaml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + +