Skip to content

feat: confirm before stopping a live broadcast - #27

Merged
joeblau merged 1 commit into
mainfrom
feat/confirm-stop-broadcast
Jul 4, 2026
Merged

feat: confirm before stopping a live broadcast#27
joeblau merged 1 commit into
mainfrom
feat/confirm-stop-broadcast

Conversation

@joeblau

@joeblau joeblau commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a confirmation step before ending a live broadcast, so a stray tap on the toolbar stop button can't drop the stream mid-session.

  • While live, tapping the toolbar stop button now presents a confirmationDialog instead of tearing the broadcast down immediately.
  • The dialog offers a destructive "Stop Broadcast" action (which calls capture.stop()) and a "Keep Streaming" cancel, with the message "You're live. Stopping ends the stream for everyone watching."
  • Starting a broadcast is unchanged — no extra tap when going live.

Testing

  • xcodegen generate + xcodebuild build for the Stream scheme on the iOS 27 simulator SDK: BUILD SUCCEEDED.
  • CI validates StreamCore only (GitHub runners lack the iOS 27 SDK); the dialog behavior is verified on a physical iOS 27 device.

🤖 Generated with Claude Code

The toolbar stop button tore the broadcast down on the first tap, so a
stray touch could drop the stream mid-session. When live, tapping stop
now asks for confirmation with a destructive "Stop Broadcast" action and
a "Keep Streaming" cancel; starting a broadcast is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@joeblau
joeblau merged commit ef7e47d into main Jul 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant