A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): explain software screen share encoding on linux (#3458)
Hampusc0f825ae2aa3
diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.poindex 57b635ab2..132692c9e 100644--- a/fluxer_app/src/features/i18n/locales/ar/messages.po+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po@@ -40580,6 +40580,11 @@ msgstr "سيتحول اشتراكك إلى الفوترة الشهرية عندmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "سيتحول اشتراكك إلى الفوترة السنوية عند التجديد التالي."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "لا يحتوي نظامك على مُرمّز فيديو مُخصص يمكن لـ {productName} استخدامه، لذا يستخدم مشاركة الشاشة الترميز البرمجي."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.jsonindex a0d3dfe7a..8169c1f7a 100644--- a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json+++ b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json@@ -1731,6 +1731,7 @@"Your subscription can't move to the new price right now.","Your subscription moves to the new price on {effectiveDate}.","Your subscription still ends on <0>{cancelDate}</0>. The current price is now {listPriceNewLabel}. If you reactivate, you can switch to it from here.",+ "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding.","Your {premiumProductName} perks have ended. Subscribe again to bring them back.","[Original message deleted]","deleted-category",diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.poindex a2d6398d5..680100a5d 100644--- a/fluxer_app/src/features/i18n/locales/bg/messages.po+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po@@ -40580,6 +40580,11 @@ msgstr "Абонаментът ти ще премине към месечно тmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Абонаментът ти ще премине към годишно таксуване при следващото подновяване."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Системата ви няма хардуерен видео енкодер, който {productName} може да използва, затова споделянето на екрана използва софтуерно кодиране."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.poindex 0aa2343b8..f256c4cfc 100644--- a/fluxer_app/src/features/i18n/locales/cs/messages.po+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po@@ -40580,6 +40580,11 @@ msgstr "Vaše předplatné se při příštím obnovení přepne na měsíčnímsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Vaše předplatné se při příštím obnovení změní na roční fakturaci."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Váš systém nemá hardwarový video enkodér, který by {productName} mohl použít, takže sdílení obrazovky používá softwarové kódování."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.poindex af59d7968..9019405d3 100644--- a/fluxer_app/src/features/i18n/locales/da/messages.po+++ b/fluxer_app/src/features/i18n/locales/da/messages.po@@ -40580,6 +40580,11 @@ msgstr "Dit abonnement skifter til månedlig fakturering ved næste fornyelse."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Dit abonnement skifter til årlig fakturering ved næste fornyelse."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Dit system har ingen hardware-videokoder, som {productName} kan bruge, så skærmdeling bruger softwarekodning."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.poindex be772af3d..62d69fb59 100644--- a/fluxer_app/src/features/i18n/locales/de/messages.po+++ b/fluxer_app/src/features/i18n/locales/de/messages.po@@ -40580,6 +40580,11 @@ msgstr "Dein Abo wird bei der nächsten Verlängerung auf monatliche Abrechnungmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Dein Abo wird bei der nächsten Verlängerung auf jährliche Abrechnung umgestellt."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Dein System hat keine Hardware-Videokodierung, die {productName} verwenden kann. Daher nutzt die Bildschirmfreigabe eine Software-Kodierung."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.poindex 1f6f5b7ba..b74825e34 100644--- a/fluxer_app/src/features/i18n/locales/el/messages.po+++ b/fluxer_app/src/features/i18n/locales/el/messages.po@@ -40580,6 +40580,11 @@ msgstr "Η συνδρομή σας θα αλλάξει σε μηνιαία χρmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Η συνδρομή σας θα μεταβεί σε ετήσια χρέωση στην επόμενη ανανέωση."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Το σύστημά σας δεν διαθέτει επιταχυντή υλικού για κωδικοποίηση βίντεο που μπορεί να χρησιμοποιήσει το {productName}, οπότε η κοινή χρήση οθόνης χρησιμοποιεί κωδικοποίηση λογισμικού."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.poindex 5550a50db..a2d1cdcc1 100644--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po@@ -40580,6 +40580,11 @@ msgstr "Your subscription will switch to monthly billing at the next renewal."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Your subscription will switch to yearly billing at the next renewal."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.poindex ddc9b6224..94160f2e9 100644--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po@@ -40580,6 +40580,11 @@ msgstr "Your subscription will switch to monthly billing at the next renewal."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Your subscription will switch to yearly billing at the next renewal."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.poindex 572624e67..636746694 100644--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po@@ -40580,6 +40580,11 @@ msgstr "Tu suscripción cambiará a facturación mensual en la próxima renovacimsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Tu suscripción cambiará a facturación anual en la próxima renovación."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Tu sistema no tiene un codificador de video por hardware que {productName} pueda usar, por lo que la función de compartir pantalla utiliza codificación por software."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.poindex f99c9f6d7..93256077f 100644--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po@@ -40580,6 +40580,11 @@ msgstr "Tu suscripción cambiará a facturación mensual en la próxima renovacimsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Tu suscripción cambiará a facturación anual en la próxima renovación."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Tu sistema no tiene un codificador de vídeo por hardware que {productName} pueda usar, por lo que la función de compartir pantalla utilizará codificación por software."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.poindex 8ff5a23e7..839f74d7c 100644--- a/fluxer_app/src/features/i18n/locales/fi/messages.po+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po@@ -40580,6 +40580,11 @@ msgstr "Tilauksesi muuttuu kuukausilaskutukseksi seuraavan uusimisen yhteydessämsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Tilauksesi muuttuu vuosilaskutukseksi seuraavan uusimisen yhteydessä."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Järjestelmässäsi ei ole laitteistopohjaista videosiirrintä, jota {productName} voisi käyttää, joten näytön jakaminen käyttää ohjelmistopohjaista siirtoa."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.poindex a34c7cd9f..a3fcef0b3 100644--- a/fluxer_app/src/features/i18n/locales/fr/messages.po+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po@@ -40580,6 +40580,11 @@ msgstr "Votre abonnement passera à la facturation mensuelle lors du prochain remsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Votre abonnement passera à la facturation annuelle lors du prochain renouvellement."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Votre système ne dispose pas d'encodeur vidéo matériel que {productName} peut utiliser, le partage d'écran utilise donc l'encodage logiciel."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.poindex b9885eeed..c5d66e7a3 100644--- a/fluxer_app/src/features/i18n/locales/he/messages.po+++ b/fluxer_app/src/features/i18n/locales/he/messages.po@@ -40580,6 +40580,11 @@ msgstr "המנוי שלך יעבור לחיוב חודשי במועד החידוmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "המנוי שלך יעבור לחיוב שנתי במועד החידוש הבא."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "במערכת שלך אין מקודד וידאו חומרתי ש- {productName} יכול להשתמש בו, לכן שיתוף המסך משתמש בקידוד תוכנה."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.poindex ee32fb9c9..acaacd605 100644--- a/fluxer_app/src/features/i18n/locales/hi/messages.po+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po@@ -40580,6 +40580,11 @@ msgstr "आपकी सदस्यता अगले रिन्यूअलmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "आपकी सदस्यता अगले रिन्यूअल पर सालाना बिलिंग में बदल जाएगी।"+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "आपके सिस्टम में कोई हार्डवेयर वीडियो एन्कोडर नहीं है जिसका {productName} उपयोग कर सके, इसलिए स्क्रीन शेयरिंग सॉफ़्टवेयर एन्कोडिंग का उपयोग करती है।"+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.poindex 67c9e585d..ce1875fb4 100644--- a/fluxer_app/src/features/i18n/locales/hr/messages.po+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po@@ -40580,6 +40580,11 @@ msgstr "Vaša će se pretplata prebaciti na mjesečnu naplatu pri sljedećoj obnmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Vaša pretplata prebacit će se na godišnju naplatu pri sljedećoj obnovi."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Vaš sustav nema hardverski video enkoder koji {productName} može koristiti, stoga dijeljenje zaslona koristi softversko kodiranje."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.poindex 220c8f4cb..7fee08dec 100644--- a/fluxer_app/src/features/i18n/locales/hu/messages.po+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po@@ -40580,6 +40580,11 @@ msgstr "Előfizetésed a következő megújításkor havi számlázásra vált."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Előfizetésed a következő megújításkor éves számlázásra vált."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "A rendszeredben nincs olyan hardveres videokódoló, amelyet a(z) {productName} használhatna, ezért a képernyőmegosztás szoftveres kódolást használ."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.poindex 1d94372a7..9a8f2ef6d 100644--- a/fluxer_app/src/features/i18n/locales/id/messages.po+++ b/fluxer_app/src/features/i18n/locales/id/messages.po@@ -40580,6 +40580,11 @@ msgstr "Langgananmu akan beralih ke penagihan bulanan pada perpanjangan berikutnmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Langgananmu akan beralih ke penagihan tahunan pada perpanjangan berikutnya."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Sistem Anda tidak memiliki encoder video perangkat keras yang dapat digunakan {productName}, jadi berbagi layar menggunakan pengodean perangkat lunak."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.poindex 131cc9410..eb3632ac2 100644--- a/fluxer_app/src/features/i18n/locales/it/messages.po+++ b/fluxer_app/src/features/i18n/locales/it/messages.po@@ -40580,6 +40580,11 @@ msgstr "Il tuo abbonamento passerà alla fatturazione mensile al prossimo rinnovmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Il tuo abbonamento passerà alla fatturazione annuale al prossimo rinnovo."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Il tuo sistema non dispone di un codificatore video hardware che {productName} possa utilizzare, pertanto la condivisione dello schermo utilizza la codifica software."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.poindex 6be974692..39ea03cb6 100644--- a/fluxer_app/src/features/i18n/locales/ja/messages.po+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po@@ -40580,6 +40580,11 @@ msgstr "次回の更新時に、サブスクリプションが月額請求に切msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "次回の更新時に、サブスクリプションが年額請求に切り替わります。"+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "お使いのシステムには、{productName} が使用できるハードウェア動画エンコーダーがありません。そのため、画面共有ではソフトウェアエンコードが使用されます。"+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.poindex 78bfc49ce..51b1fe684 100644--- a/fluxer_app/src/features/i18n/locales/ko/messages.po+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po@@ -40580,6 +40580,11 @@ msgstr "다음 갱신 시 구독이 월간 결제로 전환됩니다."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "다음 갱신 시 구독이 연간 결제로 전환됩니다."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "시스템에 하드웨어 동영상 인코더가 없어 {productName}에서 소프트웨어 인코딩을 사용하여 화면을 공유합니다."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.poindex 071c4142d..7c7743383 100644--- a/fluxer_app/src/features/i18n/locales/lt/messages.po+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po@@ -40581,6 +40581,11 @@ msgstr "Jūsų prenumerata bus pakeista į mėnesinį atsiskaitymą per kitą atmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Jūsų prenumerata bus pakeista į metinį atsiskaitymą per kitą atnaujinimą."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Jūsų sistemoje nėra aparatinės vaizdo kodavimo įrangos, kuria galėtų naudotis {productName}, todėl ekrano bendrinimui naudojamas programinis kodavimas."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.poindex bcb40cd2e..02eeae5fb 100644--- a/fluxer_app/src/features/i18n/locales/nl/messages.po+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po@@ -40580,6 +40580,11 @@ msgstr "Je abonnement wordt bij de volgende verlenging omgezet naar maandelijksemsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Je abonnement wordt bij de volgende verlenging omgezet naar jaarlijkse facturering."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Uw systeem heeft geen hardware video-encoder die {productName} kan gebruiken, dus scherm delen gebruikt software-codering."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.poindex 0656a8847..5bddf07dd 100644--- a/fluxer_app/src/features/i18n/locales/no/messages.po+++ b/fluxer_app/src/features/i18n/locales/no/messages.po@@ -40580,6 +40580,11 @@ msgstr "Abonnementet ditt byttes til månedlig fakturering ved neste fornyelse."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Abonnementet ditt byttes til årlig fakturering ved neste fornyelse."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Systemet ditt har ingen maskinvarebasert videokoder som {productName} kan bruke, så skjermdeling bruker programvarekoding."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.poindex 400ad9efe..6dc970298 100644--- a/fluxer_app/src/features/i18n/locales/pl/messages.po+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po@@ -40580,6 +40580,11 @@ msgstr "Twoja subskrypcja przełączy się na rozliczenia miesięczne przy nastmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Twoja subskrypcja zostanie zmieniona na rozliczenie roczne przy następnym odnowieniu."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Twój system nie ma sprzętowego koder wideo, z którego {productName} mógłby skorzystać, dlatego udostępnianie ekranu używa kodowania programowego."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.poindex f1fa841bf..5ea0a196f 100644--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po@@ -40580,6 +40580,11 @@ msgstr "Sua assinatura mudará para cobrança mensal na próxima renovação."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Sua assinatura mudará para cobrança anual na próxima renovação."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Seu sistema não tem um codificador de vídeo de hardware que o {productName} possa usar, então o compartilhamento de tela usa codificação por software."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.poindex 633832548..ead8c34e4 100644--- a/fluxer_app/src/features/i18n/locales/ro/messages.po+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po@@ -40580,6 +40580,11 @@ msgstr "Abonamentul tău va trece la facturarea lunară la următoarea reînnoirmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Abonamentul tău va trece la facturarea anuală la următoarea reînnoire."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Sistemul tău nu dispune de un codificator video hardware pe care {productName} îl poate utiliza, așa că partajarea ecranului folosește codificare software."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.poindex 94c29b05b..294cb491f 100644--- a/fluxer_app/src/features/i18n/locales/ru/messages.po+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po@@ -40580,6 +40580,11 @@ msgstr "Ваша подписка перейдёт на ежемесячнуюmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Ваша подписка перейдёт на годовую оплату при следующем продлении."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "В вашей системе нет аппаратного видеокодера, который {productName} мог бы использовать, поэтому для демонстрации экрана применяется программное кодирование."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.poindex c7e6bd6b1..0617e5ea0 100644--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po@@ -40580,6 +40580,11 @@ msgstr "Ditt abonnemang byter till månadsfakturering vid nästa förnyelse."msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Ditt abonnemang byter till årsfakturering vid nästa förnyelse."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Ditt system saknar en hårdvarukodare för video som {productName} kan använda, så skärmdelning använder programvarukodning."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.poindex 4e0d02cad..3a12febfc 100644--- a/fluxer_app/src/features/i18n/locales/th/messages.po+++ b/fluxer_app/src/features/i18n/locales/th/messages.po@@ -40580,6 +40580,11 @@ msgstr "การสมัครของคุณจะเปลี่ยนเmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "การสมัครของคุณจะเปลี่ยนเป็นการเรียกเก็บเงินรายปีในการต่ออายุครั้งถัดไป"+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "ระบบของคุณไม่มีตัวเข้ารหัสวิดีโอฮาร์ดแวร์ที่ {productName} สามารถใช้ได้ ดังนั้นการแชร์หน้าจอจึงใช้การเข้ารหัสซอฟต์แวร์"+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.poindex 5972284d4..1ddfa0bec 100644--- a/fluxer_app/src/features/i18n/locales/tr/messages.po+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po@@ -40580,6 +40580,11 @@ msgstr "Aboneliğiniz bir sonraki yenilemede aylık faturalandırmaya geçecektimsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Aboneliğiniz bir sonraki yenilemede yıllık faturalandırmaya geçecektir."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Sisteminizde {productName}'ın kullanabileceği bir donanım video kodlayıcısı yok, bu nedenle ekran paylaşımı yazılımla kodlanıyor."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.poindex 9611e7bb9..8483de166 100644--- a/fluxer_app/src/features/i18n/locales/uk/messages.po+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po@@ -40580,6 +40580,11 @@ msgstr "Ваша підписка перейде на щомісячну оплmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Ваша підписка перейде на річну оплату під час наступного поновлення."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Ваша система не має апаратного відеокодера, який може використовувати {productName}, тому для спільного доступу до екрана використовується програмне кодування."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.poindex 6df33f19f..b893134ef 100644--- a/fluxer_app/src/features/i18n/locales/vi/messages.po+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po@@ -40580,6 +40580,11 @@ msgstr "Gói đăng ký của bạn sẽ chuyển sang thanh toán hàng thángmsgid "Your subscription will switch to yearly billing at the next renewal."msgstr "Gói đăng ký của bạn sẽ chuyển sang thanh toán hàng năm vào lần gia hạn tiếp theo."+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "Hệ thống của bạn không có bộ mã hóa video phần cứng nào mà {productName} có thể sử dụng, vì vậy tính năng chia sẻ màn hình sẽ sử dụng mã hóa phần mềm."+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.poindex 151fa0111..839a30545 100644--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po@@ -40580,6 +40580,11 @@ msgstr "你的订阅将在下次续订时切换为按月计费。"msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "你的订阅将在下次续订时切换为按年计费。"+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "您的系统没有 {productName} 可以使用的硬件视频编码器,因此屏幕共享将使用软件编码。"+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.poindex e0122c245..4d6c6b956 100644--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po@@ -40580,6 +40580,11 @@ msgstr "您的訂閱將在下次續訂時切換為按月計費。"msgid "Your subscription will switch to yearly billing at the next renewal."msgstr "您的訂閱將在下次續訂時切換為按年計費。"+#. Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.+#: src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx+msgid "Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding."+msgstr "您的系統沒有 {productName} 可用的硬體視訊編碼器,因此螢幕共享會使用軟體編碼。"+#. Body of the error modal shown when a theme CSS exceeds the maximum shareable size.#: src/features/theme/components/modals/ShareThemeModal.tsxmsgid "Your theme CSS is too large to share. Trim it down and try again."diff --git a/fluxer_app/src/features/voice/components/modals/ScreenSharePickerModal.tsx b/fluxer_app/src/features/voice/components/modals/ScreenSharePickerModal.tsxindex af228b4a9..0b5e25731 100644--- a/fluxer_app/src/features/voice/components/modals/ScreenSharePickerModal.tsx+++ b/fluxer_app/src/features/voice/components/modals/ScreenSharePickerModal.tsx@@ -33,6 +33,7 @@ import {} from '@app/features/voice/components/modals/screen_share_picker_modal/PickerGrid';import {ScreenSharePickerDisplayPermissionPrompt} from '@app/features/voice/components/modals/screen_share_picker_modal/ScreenSharePickerDisplayPermissionPrompt';import {screenRecordingPermissionAllowsPickerSources} from '@app/features/voice/components/modals/screen_share_picker_modal/ScreenSharePickerDisplayPermissionStateMachine';+import {SoftwareEncodeNotice} from '@app/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice';import {DESKTOP_SOURCE_LIST_POLL_INTERVAL_MS,desktopSourceIdentitiesMatch,@@ -1396,6 +1397,7 @@ const ScreenSharePickerModalLoadedContent = observer(data-flx="voice.screen-share-picker-modal.screen-share-picker-modal-loaded-content.per-window-audio-notice"/>)}+ <SoftwareEncodeNotice data-flx="voice.screen-share-picker-modal.screen-share-picker-modal-loaded-content.software-encode-notice" />{activeTab === 'devices' && devicePreviewPermissionStatus !== 'granted' ? (<DevicePreviewPermissionStatestatus={devicePreviewPermissionStatus}diff --git a/fluxer_app/src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx b/fluxer_app/src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsxnew file mode 100644index 000000000..44d7650a6--- /dev/null+++ b/fluxer_app/src/features/voice/components/modals/screen_share_picker_modal/SoftwareEncodeNotice.tsx@@ -0,0 +1,39 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import RuntimeConfig from '@app/features/app/state/RuntimeConfig';+import styles from '@app/features/voice/components/modals/ScreenSharePickerModal.module.css';+import {+ isSoftwareVideoEncodeExpectedSync,+ loadGpuEncoderReport,+} from '@app/features/voice/utils/GpuEncoderCapabilities';+import {msg} from '@lingui/core/macro';+import {useLingui} from '@lingui/react/macro';+import type React from 'react';+import {useEffect, useState} from 'react';++const SOFTWARE_ENCODE_EXPECTED_DESCRIPTOR = msg({+ message:+ 'Your system has no hardware video encoder that {productName} can use, so screen sharing uses software encoding.',+ comment:+ 'Inline informational note in the screen share picker on Linux systems where no hardware video encoder is available, for example NVIDIA-only machines. Not an error.',+});++export const SoftwareEncodeNotice: React.FC = () => {+ const {i18n} = useLingui();+ const [expected, setExpected] = useState(isSoftwareVideoEncodeExpectedSync);+ useEffect(() => {+ let cancelled = false;+ void loadGpuEncoderReport().then(() => {+ if (!cancelled) setExpected(isSoftwareVideoEncodeExpectedSync());+ });+ return () => {+ cancelled = true;+ };+ }, []);+ if (!expected) return null;+ return (+ <div className={styles.osNotice} role="status" data-flx="voice.screen-share-picker-modal.software-encode-notice">+ {i18n._(SOFTWARE_ENCODE_EXPECTED_DESCRIPTOR, {productName: RuntimeConfig.productName})}+ </div>+ );+};diff --git a/fluxer_app/src/features/voice/engine/v2/VoiceEngineV2AppScreenShareWiring.test.ts b/fluxer_app/src/features/voice/engine/v2/VoiceEngineV2AppScreenShareWiring.test.tsindex 55bccc0d6..084614e21 100644--- a/fluxer_app/src/features/voice/engine/v2/VoiceEngineV2AppScreenShareWiring.test.ts+++ b/fluxer_app/src/features/voice/engine/v2/VoiceEngineV2AppScreenShareWiring.test.ts@@ -22,7 +22,8 @@ let selectedCodec: VideoCodec | null = 'vp9';let stallAction: ScreenShareEncoderVerificationAction = {kind: 'recover-stalled', codec: 'h264'};const gpuReport: {gpuLabel: string} | null = null;const gpuReportLoad: Promise<unknown> = Promise.resolve(null);-const h264HardwareProfiles: {profiles: Set<string>} | null = null;+let h264HardwareProfiles: {profiles: Set<string>} | null = null;+let softwareVideoEncodeExpected = false;let displayShareEnvironment: 'web' | 'desktop-custom' | 'desktop-wayland' = 'web';const voiceConnectionContext: {guildId: string | null; channelId: string | null; connectionId: string | null} | null =null;@@ -31,6 +32,7 @@ const voiceStates: Record<string, Record<string, Record<string, unknown>>> = {};vi.mock('@app/features/voice/utils/GpuEncoderCapabilities', () => ({getGpuEncoderReportSync: () => gpuReport,getH264HardwareProfilesSync: () => h264HardwareProfiles,+ isSoftwareVideoEncodeExpectedSync: () => softwareVideoEncodeExpected,loadGpuEncoderReport: () => gpuReportLoad,}));@@ -210,6 +212,7 @@ const {VoiceEngineV2AppScreenShareExecutionAdapter, shouldRestoreScreenShareAfte);const {default: ActiveScreenShareSource} = await import('@app/features/voice/state/ActiveScreenShareSource');const {default: VoiceSettings} = await import('@app/features/voice/state/VoiceSettings');+const {default: SoftwareEncoderWarning} = await import('@app/features/voice/state/SoftwareEncoderWarning');const {recordScreenShareStarted, resetRecentScreenSharesForTests} = await import('@app/features/voice/utils/ScreenShareLifecycleLog');@@ -625,6 +628,34 @@ describe('the retired H.264 backup stream mode', () => {});});+describe('the software H.264 clamp warning', () => {+ beforeEach(() => {+ h264HardwareProfiles = {profiles: new Set()};+ selectScreenShareCodec.mockImplementation(() => 'h264');+ ActiveScreenShareSource.clear();+ SoftwareEncoderWarning.reset();+ });++ afterEach(() => {+ h264HardwareProfiles = null;+ softwareVideoEncodeExpected = false;+ selectScreenShareCodec.mockImplementation(() => 'vp8');+ ActiveScreenShareSource.clear();+ SoftwareEncoderWarning.reset();+ });++ it('warns when a clamped share runs on a system that should have a hardware encoder', async () => {+ await getEffectivePublishOptions(true, {videoCodec: 'h264'});+ expect(SoftwareEncoderWarning.showWarning).toBe(true);+ });++ it('stays quiet when the system has no hardware encoder to fall back from', async () => {+ softwareVideoEncodeExpected = true;+ await getEffectivePublishOptions(true, {videoCodec: 'h264'});+ expect(SoftwareEncoderWarning.showWarning).toBe(false);+ });+});+const {resolveUserVideoTabScreenShareState} = await import('@app/features/user/components/modals/tabs/UserVideoTabState');diff --git a/fluxer_app/src/features/voice/engine/voice_screen_share_manager/shared.ts b/fluxer_app/src/features/voice/engine/voice_screen_share_manager/shared.tsindex 0f64b18f1..d25f2098b 100644--- a/fluxer_app/src/features/voice/engine/voice_screen_share_manager/shared.ts+++ b/fluxer_app/src/features/voice/engine/voice_screen_share_manager/shared.ts@@ -13,7 +13,10 @@ import {resolveVideoPublishCodecPolicy,type VideoPublishCodecPolicy,} from '@app/features/voice/utils/CodecCapabilityDetector';-import {loadGpuEncoderReport} from '@app/features/voice/utils/GpuEncoderCapabilities';+import {+ isSoftwareVideoEncodeExpectedSync,+ loadGpuEncoderReport,+} from '@app/features/voice/utils/GpuEncoderCapabilities';import {loadNativeHardwareEncoderCapabilities} from '@app/features/voice/utils/NativeHardwareEncoderCapabilities';import {getVideoCodecFromMimeType} from '@app/features/voice/utils/ScreenShareCodecDiagnostics';import {@@ -337,7 +340,9 @@ export async function getEffectivePublishOptions(resolution: target.resolution,frameRate: target.frameRate,});- SoftwareEncoderWarning.triggerWarning(preferredVideoCodec, UNKNOWN_ENCODER_IMPLEMENTATION);+ if (!isSoftwareVideoEncodeExpectedSync()) {+ SoftwareEncoderWarning.triggerWarning(preferredVideoCodec, UNKNOWN_ENCODER_IMPLEMENTATION);+ }}return {...publishOptions,@@ -592,6 +597,7 @@ function shouldTriggerSoftwareEncoderWarning(codec: VideoCodec): boolean {const encoderMode = VoiceSettings.getScreenShareEncoderMode();if (encoderMode === 'software') return false;if (encoderMode === 'hardware') return true;+ if (isSoftwareVideoEncodeExpectedSync()) return false;return getCodecCapabilityReport()[codec].hardwareAccelerated === 'hardware';}diff --git a/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.test.ts b/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.test.tsnew file mode 100644index 000000000..61358d94c--- /dev/null+++ b/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.test.ts@@ -0,0 +1,110 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {+ describeHardwareVideoEncodeProfiles,+ type HardwareVideoEncodeProfile,+ isSoftwareVideoEncodeExpected,+ probeHardwareVideoEncodeProfiles,+ type VideoEncoderLike,+} from '@app/features/voice/utils/GpuEncoderCapabilities';+import {describe, expect, it} from 'vitest';++const H264_HIGH: HardwareVideoEncodeProfile = {+ codec: 'h264',+ profile: 'high',+ maxWidth: 3840,+ maxHeight: 2160,+ maxFrameRate: 30,+};++interface ProbeConfig {+ codec: string;+ width: number;+ height: number;+ framerate?: number;+ hardwareAcceleration: string;+}++function fakeEncoder(supports: (config: ProbeConfig) => boolean): VideoEncoderLike {+ return {+ isConfigSupported: async (config) => ({supported: supports(config as ProbeConfig)}),+ };+}++describe('expected software video encoding', () => {+ it('is expected on Linux when the system has no hardware encoder at all', () => {+ expect(+ isSoftwareVideoEncodeExpected({platform: 'linux', h264HardwareProfileCount: 0, hardwareEncodeProfiles: []}),+ ).toBe(true);+ expect(+ isSoftwareVideoEncodeExpected({platform: 'linux', h264HardwareProfileCount: null, hardwareEncodeProfiles: []}),+ ).toBe(true);+ expect(+ isSoftwareVideoEncodeExpected({platform: 'linux', h264HardwareProfileCount: 0, hardwareEncodeProfiles: null}),+ ).toBe(true);+ });++ it('is not expected on Linux when a hardware encoder exists', () => {+ expect(+ isSoftwareVideoEncodeExpected({+ platform: 'linux',+ h264HardwareProfileCount: 0,+ hardwareEncodeProfiles: [H264_HIGH],+ }),+ ).toBe(false);+ expect(+ isSoftwareVideoEncodeExpected({platform: 'linux', h264HardwareProfileCount: 2, hardwareEncodeProfiles: []}),+ ).toBe(false);+ });++ it('is not expected on Linux before anything has been probed', () => {+ expect(+ isSoftwareVideoEncodeExpected({platform: 'linux', h264HardwareProfileCount: null, hardwareEncodeProfiles: null}),+ ).toBe(false);+ });++ it('is never expected on other platforms', () => {+ for (const platform of ['windows', 'macos', 'unknown'] as const) {+ expect(isSoftwareVideoEncodeExpected({platform, h264HardwareProfileCount: 0, hardwareEncodeProfiles: []})).toBe(+ false,+ );+ }+ });+});++describe('hardware video encode profiles', () => {+ it('reports nothing when WebCodecs is unavailable', async () => {+ await expect(probeHardwareVideoEncodeProfiles(null)).resolves.toBeNull();+ expect(describeHardwareVideoEncodeProfiles(null)).toMatch(/^unknown/);+ });++ it('reports an empty list when every hardware probe fails', async () => {+ const profiles = await probeHardwareVideoEncodeProfiles(fakeEncoder(() => false));+ expect(profiles).toEqual([]);+ expect(describeHardwareVideoEncodeProfiles(profiles)).toMatch(/^none/);+ });++ it('only asks for hardware encoders', async () => {+ const asked = new Set<string>();+ await probeHardwareVideoEncodeProfiles(+ fakeEncoder((config) => {+ asked.add(config.hardwareAcceleration);+ return false;+ }),+ );+ expect([...asked]).toEqual(['prefer-hardware']);+ });++ it('bounds each profile by the largest size and frame rate the encoder accepts', async () => {+ const bounded = await probeHardwareVideoEncodeProfiles(+ fakeEncoder(+ (config) =>+ config.codec === 'avc1.640033' &&+ config.width <= 2560 &&+ (config.framerate === undefined || config.framerate <= 60),+ ),+ );+ expect(bounded).toEqual([{codec: 'h264', profile: 'high', maxWidth: 2560, maxHeight: 1440, maxFrameRate: 60}]);+ expect(describeHardwareVideoEncodeProfiles(bounded)).toEqual(['h264 high up to 2560x1440 at 60 fps']);+ });+});diff --git a/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.ts b/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.tsindex a626d94ca..c12bdda9e 100644--- a/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.ts+++ b/fluxer_app/src/features/voice/utils/GpuEncoderCapabilities.ts@@ -1,7 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {Logger} from '@app/features/platform/utils/AppLogger';-import {getElectronAPI, isDesktop} from '@app/features/ui/utils/NativeUtils';+import {getElectronAPI, guessPlatform, isDesktop, type NativePlatform} from '@app/features/ui/utils/NativeUtils';import type {GpuDeviceInfo, GpuInfo} from '@app/types/electron.d';import type {VideoCodec} from 'livekit-client';@@ -441,16 +441,176 @@ export function reconcileHardwareEncodeReport(};}+export interface HardwareVideoEncodeProfile {+ codec: VideoCodec;+ profile: string;+ maxWidth: number;+ maxHeight: number;+ maxFrameRate: number | null;+}++interface HardwareVideoEncodeProfileCandidate {+ codec: VideoCodec;+ profile: string;+ codecString: string;+}++interface VideoEncoderSupportLike {+ supported?: boolean;+}++export interface VideoEncoderLike {+ isConfigSupported?: (config: unknown) => Promise<VideoEncoderSupportLike | undefined>;+}++const HARDWARE_VIDEO_ENCODE_PROFILE_CANDIDATES: ReadonlyArray<HardwareVideoEncodeProfileCandidate> = [+ {codec: 'h264', profile: 'constrained-baseline', codecString: 'avc1.42e033'},+ {codec: 'h264', profile: 'main', codecString: 'avc1.4d0033'},+ {codec: 'h264', profile: 'high', codecString: 'avc1.640033'},+ {codec: 'vp8', profile: 'any', codecString: 'vp8'},+ {codec: 'vp9', profile: 'profile-0', codecString: 'vp09.00.51.08'},+ {codec: 'h265', profile: 'main', codecString: 'hvc1.1.6.L153.B0'},+ {codec: 'av1', profile: 'main', codecString: 'av01.0.13M.08'},+];++const HARDWARE_VIDEO_ENCODE_PROBE_SIZES: ReadonlyArray<{width: number; height: number}> = [+ {width: 1280, height: 720},+ {width: 1920, height: 1080},+ {width: 2560, height: 1440},+ {width: 3840, height: 2160},+];++const HARDWARE_VIDEO_ENCODE_PROBE_FRAME_RATES: ReadonlyArray<number> = [30, 60, 120];++function getVideoEncoder(): VideoEncoderLike | null {+ const encoder = (globalThis as {VideoEncoder?: VideoEncoderLike}).VideoEncoder;+ return encoder?.isConfigSupported ? encoder : null;+}++async function isHardwareEncodeConfigSupported(+ encoder: VideoEncoderLike,+ codecString: string,+ size: {width: number; height: number},+ framerate?: number,+): Promise<boolean> {+ try {+ const support = await encoder.isConfigSupported?.({+ codec: codecString,+ width: size.width,+ height: size.height,+ ...(framerate === undefined ? {} : {framerate}),+ hardwareAcceleration: 'prefer-hardware',+ });+ return support?.supported === true;+ } catch {+ return false;+ }+}++async function probeHardwareVideoEncodeProfile(+ encoder: VideoEncoderLike,+ candidate: HardwareVideoEncodeProfileCandidate,+): Promise<HardwareVideoEncodeProfile | null> {+ let maxSize: {width: number; height: number} | null = null;+ for (const size of HARDWARE_VIDEO_ENCODE_PROBE_SIZES) {+ if (!(await isHardwareEncodeConfigSupported(encoder, candidate.codecString, size))) break;+ maxSize = size;+ }+ if (maxSize === null) return null;+ let maxFrameRate: number | null = null;+ for (const framerate of HARDWARE_VIDEO_ENCODE_PROBE_FRAME_RATES) {+ const supported = await isHardwareEncodeConfigSupported(+ encoder,+ candidate.codecString,+ HARDWARE_VIDEO_ENCODE_PROBE_SIZES[0],+ framerate,+ );+ if (!supported) break;+ maxFrameRate = framerate;+ }+ return {+ codec: candidate.codec,+ profile: candidate.profile,+ maxWidth: maxSize.width,+ maxHeight: maxSize.height,+ maxFrameRate,+ };+}++export async function probeHardwareVideoEncodeProfiles(+ encoder: VideoEncoderLike | null,+): Promise<ReadonlyArray<HardwareVideoEncodeProfile> | null> {+ if (!encoder) return null;+ const probed = await Promise.all(+ HARDWARE_VIDEO_ENCODE_PROFILE_CANDIDATES.map((candidate) => probeHardwareVideoEncodeProfile(encoder, candidate)),+ );+ return probed.filter((profile): profile is HardwareVideoEncodeProfile => profile !== null);+}++export function describeHardwareVideoEncodeProfiles(+ profiles: ReadonlyArray<HardwareVideoEncodeProfile> | null,+): string | Array<string> {+ if (profiles === null) return 'unknown: WebCodecs hardware encode probe unavailable';+ if (profiles.length === 0) return 'none: Chromium has no hardware video encoder for any probed profile';+ return profiles.map((profile) => {+ const frameRate = profile.maxFrameRate === null ? 'unknown fps' : `${profile.maxFrameRate} fps`;+ return `${profile.codec} ${profile.profile} up to ${profile.maxWidth}x${profile.maxHeight} at ${frameRate}`;+ });+}++let hardwareVideoEncodeProfiles: ReadonlyArray<HardwareVideoEncodeProfile> | null = null;+let pendingHardwareVideoEncodeProfiles: Promise<ReadonlyArray<HardwareVideoEncodeProfile> | null> | null = null;++export function loadHardwareVideoEncodeProfiles(): Promise<ReadonlyArray<HardwareVideoEncodeProfile> | null> {+ if (hardwareVideoEncodeProfiles) return Promise.resolve(hardwareVideoEncodeProfiles);+ if (pendingHardwareVideoEncodeProfiles) return pendingHardwareVideoEncodeProfiles;+ pendingHardwareVideoEncodeProfiles = probeHardwareVideoEncodeProfiles(getVideoEncoder())+ .then((profiles) => {+ hardwareVideoEncodeProfiles = profiles;+ logger.info('Probed hardware video encode profiles', {profiles: describeHardwareVideoEncodeProfiles(profiles)});+ return profiles;+ })+ .finally(() => {+ pendingHardwareVideoEncodeProfiles = null;+ });+ return pendingHardwareVideoEncodeProfiles;+}++export interface SoftwareVideoEncodeExpectationInput {+ platform: NativePlatform;+ h264HardwareProfileCount: number | null;+ hardwareEncodeProfiles: ReadonlyArray<HardwareVideoEncodeProfile> | null;+}++export function isSoftwareVideoEncodeExpected(input: SoftwareVideoEncodeExpectationInput): boolean {+ if (input.platform !== 'linux') return false;+ if ((input.h264HardwareProfileCount ?? 0) > 0) return false;+ if (input.hardwareEncodeProfiles !== null) return input.hardwareEncodeProfiles.length === 0;+ return input.h264HardwareProfileCount === 0;+}++export function isSoftwareVideoEncodeExpectedSync(): boolean {+ return isSoftwareVideoEncodeExpected({+ platform: guessPlatform(),+ h264HardwareProfileCount: getH264HardwareProfilesSync()?.profiles.size ?? null,+ hardwareEncodeProfiles: hardwareVideoEncodeProfiles,+ });+}+let cachedReport: HardwareEncodeReport | null = null;let pendingPromise: Promise<HardwareEncodeReport | null> | null = null;function fetchReport(): Promise<HardwareEncodeReport | null> {if (!isDesktop()) {- return probeH264HardwareProfiles().then(() => null);+ return Promise.all([probeH264HardwareProfiles(), loadHardwareVideoEncodeProfiles()]).then(() => null);}const electron = getElectronAPI();- if (!electron?.getGpuInfo) return Promise.resolve(null);- return Promise.allSettled([electron.getGpuInfo(), probeWebRtcEncodeEfficiency()]).then(([gpuResult, probeResult]) => {+ if (!electron?.getGpuInfo) return loadHardwareVideoEncodeProfiles().then(() => null);+ return Promise.allSettled([+ electron.getGpuInfo(),+ probeWebRtcEncodeEfficiency(),+ loadHardwareVideoEncodeProfiles(),+ ]).then(([gpuResult, probeResult]) => {if (gpuResult.status !== 'fulfilled') {logger.warn('Failed to fetch GPU info from Electron main', {error: gpuResult.reason});return null;diff --git a/fluxer_app/src/features/voice/utils/StatsForNerdsCopy.ts b/fluxer_app/src/features/voice/utils/StatsForNerdsCopy.tsindex 0ae4102d3..e881bc10a 100644--- a/fluxer_app/src/features/voice/utils/StatsForNerdsCopy.ts+++ b/fluxer_app/src/features/voice/utils/StatsForNerdsCopy.ts@@ -27,7 +27,12 @@ import {getLiveKitSupportedCodecs,selectOptimalScreenShareCodec,} from '@app/features/voice/utils/CodecCapabilityDetector';-import {loadGpuEncoderReport} from '@app/features/voice/utils/GpuEncoderCapabilities';+import {+ describeHardwareVideoEncodeProfiles,+ isSoftwareVideoEncodeExpectedSync,+ loadGpuEncoderReport,+ loadHardwareVideoEncodeProfiles,+} from '@app/features/voice/utils/GpuEncoderCapabilities';import {getNativeAudioBridgeStats,getNativeAudioCaptureDiagnosticState,@@ -232,6 +237,10 @@ async function collectCodecMetadata(): Promise<Record<string, unknown>> {} catch (error) {gpuReport = {error: safeError(error)};}+ const hardwareVideoEncodeProfiles = await withTimeout(+ 'hardware video encode profiles',+ loadHardwareVideoEncodeProfiles(),+ );try {report = getCodecCapabilityReport();} catch {@@ -259,6 +268,11 @@ async function collectCodecMetadata(): Promise<Record<string, unknown>> {},support: report,gpuHardwareEncode: gpuReport,+ hardwareVideoEncodeProfiles:+ hardwareVideoEncodeProfiles !== null && 'error' in hardwareVideoEncodeProfiles+ ? hardwareVideoEncodeProfiles+ : describeHardwareVideoEncodeProfiles(hardwareVideoEncodeProfiles),+ softwareVideoEncodeExpected: isSoftwareVideoEncodeExpectedSync(),};}