Skip to content

Commit 29a3896

Browse files
authored
Fix slow start on vp9 (#1740)
1 parent fb38dc0 commit 29a3896

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/four-adults-smile.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-client": patch
3+
---
4+
5+
Fix slow start on vp9

src/room/PCTransport.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,8 @@ export default class PCTransport extends EventEmitter {
321321
this.ensureVideoDDExtensionForSVC(media, sdpParsed);
322322
}
323323

324-
// TODO: av1 slow starting issue already fixed in chrome 124, clean this after some versions
325-
// mung sdp for av1 bitrate setting that can't apply by sendEncoding
326-
if (trackbr.codec !== 'av1') {
324+
// mung sdp for bitrate setting that can't apply by sendEncoding
325+
if (!isSVCCodec(trackbr.codec)) {
327326
return true;
328327
}
329328

0 commit comments

Comments
 (0)