Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ <h1>OpenStudio</h1>

<!-- Controls section -->
<section id="controls">
<button id="start-session">Start Session</button>
<button id="start-session">Start Broadcast</button>
<button id="toggle-mute" disabled>Mute</button>
<button id="end-session" disabled>End Session</button>
<button id="end-session" disabled>End Broadcast</button>
</section>

<!-- Recording Controls -->
Expand Down
8 changes: 8 additions & 0 deletions web/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ class OpenStudioApp {
// Check for room ID in URL hash
this.checkUrlHash();

// Update CTA if joining an existing room
if (this.roomIdFromUrl) {
this.startSessionButton.textContent = 'Join Broadcast';
this.endSessionButton.textContent = 'Leave Broadcast';
}

// Auto-connect to signaling server
this.initializeApp();

Expand Down Expand Up @@ -821,6 +827,8 @@ class OpenStudioApp {
this.recordingTracksDiv.style.display = 'none';
this.lastRecordings = null;
window.location.hash = '';
this.startSessionButton.textContent = 'Start Broadcast';
this.endSessionButton.textContent = 'End Broadcast';

// Reconnect to signaling
this.signaling.connect();
Expand Down
Loading