mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(voice): stop offering h264 to firefox on linux (#3122)
This commit is contained in:
1 parent
603b936536
commit
efe94ed094
1 file changed
+7
@@ -189,6 +189,13 @@ function getScreenShareCodecPolicyUnsupported(
|
||||
detail: 'Firefox doesn\u2019t support H.265 encoding for WebRTC.',
|
||||
};
|
||||
}
|
||||
if (context.firefox && context.platform === 'linux' && codec === 'h264') {
|
||||
return {
|
||||
supported: false,
|
||||
reason: 'unsupported-browser',
|
||||
detail: 'The voice server doesn\u2019t accept H.264 from Firefox on Linux or Android.',
|
||||
};
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user