Merge branch 'Vencord:main' into main

This commit is contained in:
MrGarlic1 2024-05-08 11:18:40 -04:00 committed by GitHub
commit d7c5042dfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,20 +63,6 @@ addPatch({
match: /this.localWant=/,
replace: "$self.patchStreamQuality(this);$&"
}
},
{
find: "x-google-max-bitrate",
replacement: [
{
// eslint-disable-next-line no-useless-escape
match: /"x-google-max-bitrate=".concat\(\i\)/,
replace: '"x-google-max-bitrate=".concat("80_000")'
},
{
match: /;level-asymmetry-allowed=1/,
replace: ";b=AS:800000;level-asymmetry-allowed=1"
}
]
}
],
patchStreamQuality(opts: any) {