WebScreenShareFixes: improve video codec selection (#3867)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Levi 2025-12-27 18:34:23 +01:00 committed by GitHub
parent a018e9fa95
commit d70d05b6c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,10 @@ export default definePlugin({
{
match: /;usedtx=".concat\((\i)\?"0":"1"\)/,
replace: '$&.concat($1?";stereo=1;sprop-stereo=1":"")'
},
{
match: /\i\?\[(\i\.\i)\.H265,\i\.\i\.H264,\i\.\i\.VP8,\i\.\i\.VP9\]/,
replace: "true?['AV1',$1.H265,$1.VP9,$1.H264,$1.VP8]"
}
]
}