mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 19:45:09 +00:00
WebScreenShareFixes: improve video codec selection (#3867)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
a018e9fa95
commit
d70d05b6c7
1 changed files with 4 additions and 0 deletions
|
|
@ -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]"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue