merged patches

This commit is contained in:
kaitlynkittyy 2024-04-07 18:25:21 -04:00
parent 2994065e19
commit 06247ae43c

View file

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