Skip to content

Commit 0fca411

Browse files
committed
bump the default bitrate
1 parent 8706f34 commit 0fca411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/home.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class Home {
4747
controlChannel.send(Msg.config({encoder_bitrate: value}));
4848
}
4949

50-
videoBitrate.value = String(parseInt(localStorage.getItem('encoder_bitrate')!) || 2);
50+
videoBitrate.value = String(parseInt(localStorage.getItem('encoder_bitrate')!) || 20);
5151
changeBitrate();
5252
}
5353

@@ -187,7 +187,7 @@ export class Home {
187187
const info = JSON.parse(offer.peer_connection_offer);
188188
const sdp = JSON.parse(info.Offer);
189189

190-
const encoder_bitrate = parseInt(localStorage.getItem('encoder_bitrate')!) || 2;
190+
const encoder_bitrate = parseInt(localStorage.getItem('encoder_bitrate')!) || 20;
191191

192192
await Promise.race([
193193
timeout,

0 commit comments

Comments
 (0)