mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(voice): stop offering h264 to firefox on linux (#3122)
This commit is contained in:
@@ -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