File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " livekit-client " : patch
3
+ ---
4
+
5
+ Use legacy SVC encoding specification for React-Native
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ const appActions = {
99
99
red : true ,
100
100
forceStereo : false ,
101
101
screenShareEncoding : ScreenSharePresets . h1080fps30 . encoding ,
102
+ scalabilityMode : 'L3T3' ,
102
103
} ,
103
104
videoCaptureDefaults : {
104
105
resolution : VideoPresets . h720 . resolution ,
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ export function computeVideoEncodings(
149
149
const browser = getBrowser ( ) ;
150
150
if (
151
151
isSafari ( ) ||
152
+ // Even tho RN runs M114, it does not produce SVC layers when a single encoding
153
+ // is provided. So we'll use the legacy SVC specification for now.
154
+ // TODO: when we upstream libwebrtc, this will need additional verification
155
+ isReactNative ( ) ||
152
156
( browser ?. name === 'Chrome' && compareVersions ( browser ?. version , '113' ) < 0 )
153
157
) {
154
158
const bitratesRatio = sm . suffix == 'h' ? 2 : 3 ;
You can’t perform that action at this time.
0 commit comments