merged patches
This commit is contained in:
parent
2994065e19
commit
06247ae43c
1 changed files with 11 additions and 12 deletions
|
@ -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) {
|
||||||
|
|
Reference in a new issue