remove obsolete patch (moved to vencord) (#563)
This commit is contained in:
parent
d11a9a04ff
commit
944a699e83
1 changed files with 0 additions and 14 deletions
|
@ -63,20 +63,6 @@ addPatch({
|
||||||
match: /this.localWant=/,
|
match: /this.localWant=/,
|
||||||
replace: "$self.patchStreamQuality(this);$&"
|
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) {
|
patchStreamQuality(opts: any) {
|
||||||
|
|
Loading…
Reference in a new issue