WebScreenShareFixes: fix malformed SDP (#4159)

This commit is contained in:
Cole W. Leavitt 2026-06-08 10:54:34 -04:00 • committed by GitHub
parent 91fef8f622
commit b6516a15c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,11 +20,7 @@ export default definePlugin({
replacement: [
{
match: /`x-google-max-bitrate=\$\{\i\}`/,
replace: '"x-google-max-bitrate=80_000"'
},
{
match: ";level-asymmetry-allowed=1",
replace: ";b=AS:800000;level-asymmetry-allowed=1"
replace: '"x-google-max-bitrate=80000"'
},
{
match: /;usedtx=\$\{(\i)\?"0":"1"\}/,