Skip to content

Conversation

@szewczukk
Copy link
Contributor

@szewczukk szewczukk commented Feb 28, 2025

Comment on lines 411 to 429
<div class="flex text-sm gap-4">
<div class="flex items-center gap-2">
<label for="lex-bitrate">Max Bitrate (kbps)</label>
<input
type="text"
id="lex-bitrate"
value="1500"
class="rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0"
/>
</div>
<%= if @publisher.simulcast_supported? do %>
<div class="flex gap-2.5 items-center text-sm">
<label for="lex-simulcast">Simulcast</label>
<input type="checkbox" id="lex-simulcast" class="rounded-full" />
</div>
<% else %>
<div class="flex gap-2.5 items-center">
<label for="lex-record-stream">Record stream</label>
<input type="checkbox" class="rounded-full bg-gray-300" disabled />
<div class="flex flex-col gap-2 text-sm">
<div class="flex gap-2.5 items-center">
<label for="lex-simulcast">Simulcast</label>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically speaking, max bitrate and simulcast should be under "video settings" as well

However, currently the implementation for the "simulcast" checkbox behaves differently than the rest of the settings, as it gets applied immediately without pressing the "apply" button.

We'll change it later -- for now, let's leave everything as-is

@szewczukk szewczukk requested a review from sgfn March 6, 2025 11:49
@szewczukk szewczukk requested a review from sgfn March 6, 2025 13:12
Copy link
Member

@sgfn sgfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪 💪 💪

<div class="divide-y divide-indigo-200 flex flex-col items-stretch *:p-4">
<div class="flex justify-between items-center">
<label for="lex-audio-bitrate">Audio bitrate (kbps):</label>
<p id="lext-audio-bitrate">0</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@sgfn sgfn merged commit 0ed9403 into master Mar 6, 2025
@sgfn sgfn deleted the streaming-view-2 branch June 23, 2025 13:31
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.

3 participants