-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Currently, users can schedule a Space, but there is no mechanism for the Space Owner (Host) to manually transition the Space from a "Scheduled" state to a "Live" state, or to "End" the broadcast.
This issue tracks the implementation of the controls allowing the Host to officially start the audio session and terminate it when finished.
👤 User Story
As a Space Host (Owner), I want to manually click a button to "Start" my scheduled space and "End" it when we are done, So that I have full control over when the listeners can join the audio stream and when the session is officially over.
Current Behavior
There is no such feature to stard and end spaces in our application.
Expected Behavior
Starting the Space
- The "Start Space" button is only visible to the User who created the Space (The Host).
- Updates the Space status in the database from SCHEDULED to LIVE.
- Triggers a notification/WebSocket event to waiting listeners that the Space is now live.
- Enables the microphone for the Host.
Ending the Space
- The "End Space" button replaces the "Start Space" button once the status is LIVE.
- Clicking "End Space" triggers a Confirmation Modal (to prevent accidental disconnects).
- Alert: "Are you sure you want to end this Space? This action cannot be undone."
- Updates the Space status in the database from LIVE to ENDED.
- Disconnects all peers/listeners from the audio room.
- Shows a "Space Ended" summary screen.
Reproducibility & Steps
Priority
- High
- Medium
- Low