@azure/communication-react 1.5.1-alpha-202306150014 → 1.5.1-alpha-202306170013

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/communication-react.d.ts +18 -5
  2. package/dist/dist-cjs/communication-react/index.js +104 -44
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -0
  7. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +5 -0
  8. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  9. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +1 -1
  10. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
  12. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +11 -3
  13. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +15 -0
  15. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -0
  17. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +11 -0
  18. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  19. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  20. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +10 -0
  21. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  22. package/dist/dist-esm/calling-stateful-client/src/Converter.js +4 -0
  23. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  24. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +24 -0
  25. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +28 -0
  26. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -0
  27. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -0
  28. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +0 -4
  30. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  31. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +1 -1
  32. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +1 -1
  34. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +3 -3
  36. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +1 -3
  38. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +1 -3
  40. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +1 -2
  42. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/utils.js +1 -1
  44. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +2 -3
  46. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +2 -3
  47. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +2 -3
  48. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +2 -3
  49. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +2 -3
  50. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +2 -3
  51. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +2 -3
  52. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +2 -3
  53. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +2 -3
  54. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +2 -3
  55. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +2 -3
  56. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +2 -3
  57. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +2 -3
  58. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +2 -3
  59. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +2 -3
  60. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +2 -3
  61. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +2 -3
  62. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +2 -3
  63. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +2 -3
  64. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +2 -3
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -0
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +11 -6
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  68. package/package.json +8 -8
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Mikrofonen er slått av",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Opphev demping av mikrofon",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Demp mikrofon",
82
- "micPrimaryActionSplitButtonTitle": "Bruk mikrofon"
82
+ "microphonePrimaryActionSplitButtonTitle": "Bruk mikrofon"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Enheter",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Kan ikke dempe mikrofonen",
154
154
  "unmuteGeneric": "Kan ikke oppheve demping av mikrofon",
155
155
  "speakingWhileMuted": "Mikrofonen er dempet",
156
- "startScreenShareGeneric": "Kan ikke starte skjermdeling",
156
+ "startScreenShareGeneric": "Det oppstod et problem under start av skjermdeling.",
157
157
  "stopScreenShareGeneric": "Kan ikke stoppe skjermdeling",
158
158
  "callNetworkQualityLow": "Nettverkskvaliteten er lav.",
159
159
  "callNoSpeakerFound": "Finner ingen høyttalere eller hodetelefoner. Koble til en lydenhet for å høre samtalen.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Lukk",
175
175
  "failedToJoinCallGeneric": "Kan ikke bli med i samtalen.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Kan ikke bli med i møtet. Ugyldig kobling.",
177
- "startScreenSharingGeneric": "Det oppstod et problem under start av skjermdeling.",
178
177
  "cameraFrozenForRemoteParticipants": "Brukere i samtalen har problemer med å se videoen. Kontroller enhetene og nettverket.",
179
178
  "unableToStartVideoEffect": "Kan ikke bruke videoeffekt."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Uw microfoon is uitgeschakeld",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Microfoon inschakelen",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Microfoon uitschakelen",
82
- "micPrimaryActionSplitButtonTitle": "Microfoon gebruiken"
82
+ "microphonePrimaryActionSplitButtonTitle": "Microfoon gebruiken"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Apparaten",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Kan microfoon niet dempen",
154
154
  "unmuteGeneric": "Kan dempen van microfoon niet opheffen",
155
155
  "speakingWhileMuted": "De microfoon is gedempt",
156
- "startScreenShareGeneric": "Kan scherm delen niet starten",
156
+ "startScreenShareGeneric": "Er is een probleem opgetreden bij het starten van scherm delen.",
157
157
  "stopScreenShareGeneric": "Kan scherm delen niet stoppen",
158
158
  "callNetworkQualityLow": "De netwerkkwaliteit is laag.",
159
159
  "callNoSpeakerFound": "Geen luidsprekers of hoofdtelefoon gevonden. Sluit een audioapparaat aan om het gesprek te beluisteren.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Sluiten",
175
175
  "failedToJoinCallGeneric": "Deelnemen aan gesprek mislukt.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Kan niet deelnemen aan vergadering. Ongeldige koppeling.",
177
- "startScreenSharingGeneric": "Er is een probleem opgetreden bij het starten van scherm delen.",
178
177
  "cameraFrozenForRemoteParticipants": "Gebruikers in het gesprek ondervinden problemen bij het zien van uw video. Controleer uw apparaten en netwerk.",
179
178
  "unableToStartVideoEffect": "Kan video-effect niet toepassen."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Mikrofon został wyłączony",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Wyłącz wyciszenie mikrofonu",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Wycisz mikrofon",
82
- "micPrimaryActionSplitButtonTitle": "Użyj mikrofonu"
82
+ "microphonePrimaryActionSplitButtonTitle": "Użyj mikrofonu"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Urządzenia",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Nie można wyciszyć mikrofonu",
154
154
  "unmuteGeneric": "Nie można wyłączyć wyciszenia mikrofonu",
155
155
  "speakingWhileMuted": "Mikrofon jest wyciszony",
156
- "startScreenShareGeneric": "Nie można uruchomić udostępniania ekranu",
156
+ "startScreenShareGeneric": "Wystąpił problem podczas uruchamiania udostępniania ekranu.",
157
157
  "stopScreenShareGeneric": "Nie można zatrzymać udostępniania ekranu",
158
158
  "callNetworkQualityLow": "Niska jakość sieci.",
159
159
  "callNoSpeakerFound": "Nie znaleziono głośników ani słuchawek. Podłącz urządzenie audio, aby słyszeć rozmowę.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Zamknij",
175
175
  "failedToJoinCallGeneric": "Nie można dołączyć do rozmowy.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Nie można dołączyć do spotkania. Nieprawidłowy link.",
177
- "startScreenSharingGeneric": "Wystąpił problem podczas uruchamiania udostępniania ekranu.",
178
177
  "cameraFrozenForRemoteParticipants": "Użytkownicy w trakcie rozmowy mają problemy z wyświetleniem Twojego wideo. Sprawdź urządzenia i sieć.",
179
178
  "unableToStartVideoEffect": "Nie można zastosować efektu wideo."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "O microfone foi desligado",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Desativar mudo do microfone",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Ativar mudo do microfone",
82
- "micPrimaryActionSplitButtonTitle": "Usar o microfone"
82
+ "microphonePrimaryActionSplitButtonTitle": "Usar o microfone"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Dispositivos",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Falha ao ativar mudo do microfone",
154
154
  "unmuteGeneric": "Falha ao desativar mudo do microfone",
155
155
  "speakingWhileMuted": "O microfone está com o mudo ativado",
156
- "startScreenShareGeneric": "Falha ao iniciar o compartilhamento de tela",
156
+ "startScreenShareGeneric": "Ocorreu um problema ao iniciar o compartilhamento de tela.",
157
157
  "stopScreenShareGeneric": "Falha ao interromper o compartilhamento de tela",
158
158
  "callNetworkQualityLow": "A qualidade da rede é baixa.",
159
159
  "callNoSpeakerFound": "Nenhum alto-falante ou fone de ouvido encontrado. Conecte um dispositivo de áudio para ouvir a chamada.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Fechar",
175
175
  "failedToJoinCallGeneric": "Ocorreu um erro ao ingressar na chamada.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Não é possível ingressar na Reunião. Link Inválido.",
177
- "startScreenSharingGeneric": "Ocorreu um problema ao iniciar o compartilhamento de tela.",
178
177
  "cameraFrozenForRemoteParticipants": "Os usuários na chamada estão enfrentando problemas para ver seu vídeo. Verifique seus dispositivos e a rede.",
179
178
  "unableToStartVideoEffect": "Não é possível aplicar o efeito de vídeo."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Ваш микрофон отключен",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Включить микрофон",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Отключить микрофон",
82
- "micPrimaryActionSplitButtonTitle": "Использовать микрофон"
82
+ "microphonePrimaryActionSplitButtonTitle": "Использовать микрофон"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Устройства",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Не удалось отключить микрофон",
154
154
  "unmuteGeneric": "Не удалось включить микрофон",
155
155
  "speakingWhileMuted": "Микрофон отключен",
156
- "startScreenShareGeneric": "Не удалось начать демонстрацию экрана",
156
+ "startScreenShareGeneric": "Возникла проблема с запуском демонстрации экрана.",
157
157
  "stopScreenShareGeneric": "Не удалось остановить демонстрацию экрана",
158
158
  "callNetworkQualityLow": "Качество работы сети: низкое.",
159
159
  "callNoSpeakerFound": "Динамики и наушники не найдены. Подключите звуковое устройство, чтобы услышать звонок.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Закрыть",
175
175
  "failedToJoinCallGeneric": "Не удалось присоединиться к звонку.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Не удалось присоединиться к собранию. Недопустимая ссылка.",
177
- "startScreenSharingGeneric": "Возникла проблема с запуском демонстрации экрана.",
178
177
  "cameraFrozenForRemoteParticipants": "У участников звонка возникают проблемы с просмотром вашего видео. Проверьте свои устройства и сеть.",
179
178
  "unableToStartVideoEffect": "Не удалось применить эффект видео."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Mikrofonen har inaktiverats",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Slå på mikrofonen",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Stäng av mikrofonen",
82
- "micPrimaryActionSplitButtonTitle": "Använd mikrofon"
82
+ "microphonePrimaryActionSplitButtonTitle": "Använd mikrofon"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Enheter",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Det gick inte att stänga av mikrofonen",
154
154
  "unmuteGeneric": "Det gick inte att slå på mikrofonen",
155
155
  "speakingWhileMuted": "Mikrofonens ljud har stängts av",
156
- "startScreenShareGeneric": "Det gick inte att starta skärmdelning",
156
+ "startScreenShareGeneric": "Det uppstod ett problem när skärmdelningen skulle startas.",
157
157
  "stopScreenShareGeneric": "Det gick inte att stoppa skärmdelning",
158
158
  "callNetworkQualityLow": "Nätverkskvaliteten är låg.",
159
159
  "callNoSpeakerFound": "Inga högtalare eller hörlurar hittades. Anslut en ljudenhet för att höra samtalet.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Stäng",
175
175
  "failedToJoinCallGeneric": "Det gick inte att ansluta till samtalet.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Det går inte att ansluta till mötet. Ogiltig länk.",
177
- "startScreenSharingGeneric": "Det uppstod ett problem när skärmdelningen skulle startas.",
178
177
  "cameraFrozenForRemoteParticipants": "Användare i samtalet har problem med att se din video. Kontrollera dina enheter och nätverk.",
179
178
  "unableToStartVideoEffect": "Det går inte att tillämpa videoeffekten."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "Mikrofonunuz kapatıldı",
80
80
  "offSplitButtonMicrophonePrimaryAction": "Mikrofonun sesini aç",
81
81
  "onSplitButtonMicrophonePrimaryAction": "Mikrofonun sesini kapat",
82
- "micPrimaryActionSplitButtonTitle": "Mikrofonu kullan"
82
+ "microphonePrimaryActionSplitButtonTitle": "Mikrofonu kullan"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "Cihazlar",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "Mikrofonun sesi kapatılamadı",
154
154
  "unmuteGeneric": "Mikrofonun sesi açılamadı",
155
155
  "speakingWhileMuted": "Mikrofonunuzun sesi kapalı",
156
- "startScreenShareGeneric": "Ekran paylaşımı başlatılamadı",
156
+ "startScreenShareGeneric": "Ekran paylaşımı başlatılırken bir sorun oluştu.",
157
157
  "stopScreenShareGeneric": "Ekran paylaşımı durdurulamadı",
158
158
  "callNetworkQualityLow": "Ağ kalitesi düşük.",
159
159
  "callNoSpeakerFound": "Hoparlör veya kulaklık bulunamadı. Aramayı dinlemek için bir ses aygıtı bağlayın.",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "Kapat",
175
175
  "failedToJoinCallGeneric": "Aramaya katılınamadı.",
176
176
  "failedToJoinCallInvalidMeetingLink": "Toplantıya katılınamıyor. Geçersiz Bağlantı.",
177
- "startScreenSharingGeneric": "Ekran paylaşımı başlatılırken bir sorun oluştu.",
178
177
  "cameraFrozenForRemoteParticipants": "Aramadaki kullanıcılar videonuzu görmekte sorun yaşıyor. Lütfen cihazlarınızı ve ağlarınızı kontrol edin.",
179
178
  "unableToStartVideoEffect": "Video efekti uygulanamıyor."
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "你的麦克风已关闭",
80
80
  "offSplitButtonMicrophonePrimaryAction": "取消麦克风静音",
81
81
  "onSplitButtonMicrophonePrimaryAction": "将麦克风静音",
82
- "micPrimaryActionSplitButtonTitle": "使用麦克风"
82
+ "microphonePrimaryActionSplitButtonTitle": "使用麦克风"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "设备",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "无法静音麦克风",
154
154
  "unmuteGeneric": "无法取消麦克风静音",
155
155
  "speakingWhileMuted": "你的麦克风已静音",
156
- "startScreenShareGeneric": "无法启动屏幕共享",
156
+ "startScreenShareGeneric": "启动屏幕共享时出现问题。",
157
157
  "stopScreenShareGeneric": "无法停止屏幕共享",
158
158
  "callNetworkQualityLow": "网络质量低。",
159
159
  "callNoSpeakerFound": "找不到扬声器或耳机。连接音频设备以收听呼叫。",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "关闭",
175
175
  "failedToJoinCallGeneric": "未能加入通话。",
176
176
  "failedToJoinCallInvalidMeetingLink": "无法加入会议。无效的链接。",
177
- "startScreenSharingGeneric": "启动屏幕共享时出现问题。",
178
177
  "cameraFrozenForRemoteParticipants": "通话中的用户在查看视频时遇到问题。请检查你的设备和网络。",
179
178
  "unableToStartVideoEffect": "无法应用视频效果。"
180
179
  },
@@ -79,7 +79,7 @@
79
79
  "microphoneActionTurnedOffAnnouncement": "您的麥克風已關閉",
80
80
  "offSplitButtonMicrophonePrimaryAction": "取消麥克風靜音",
81
81
  "onSplitButtonMicrophonePrimaryAction": "將麥克風設為靜音",
82
- "micPrimaryActionSplitButtonTitle": "使用麥克風"
82
+ "microphonePrimaryActionSplitButtonTitle": "使用麥克風"
83
83
  },
84
84
  "devicesButton": {
85
85
  "label": "裝置",
@@ -153,7 +153,7 @@
153
153
  "muteGeneric": "無法將麥克風設為靜音",
154
154
  "unmuteGeneric": "無法將麥克風取消靜音",
155
155
  "speakingWhileMuted": "您的麥克風已設為靜音",
156
- "startScreenShareGeneric": "無法開始螢幕畫面分享",
156
+ "startScreenShareGeneric": "啟動畫面分享時發生問題。",
157
157
  "stopScreenShareGeneric": "無法停止螢幕畫面分享",
158
158
  "callNetworkQualityLow": "您的網路品質不佳。",
159
159
  "callNoSpeakerFound": "找不到喇叭或耳機。請連接音訊裝置以聆聽通話。",
@@ -174,7 +174,6 @@
174
174
  "dismissButtonAriaLabel": "關閉",
175
175
  "failedToJoinCallGeneric": "無法加入通話。",
176
176
  "failedToJoinCallInvalidMeetingLink": "無法加入會議。連結無效。",
177
- "startScreenSharingGeneric": "啟動畫面分享時發生問題。",
178
177
  "cameraFrozenForRemoteParticipants": "通話中的使用者在觀看您的視訊時發生問題。請檢查您的裝置和網路。",
179
178
  "unableToStartVideoEffect": "無法套用視訊效果。"
180
179
  },
@@ -100,6 +100,7 @@ export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent |
100
100
  on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
101
101
  on(event: 'transferRequested', listener: TransferRequestedListener): void;
102
102
  private subscribeToCaptionEvents;
103
+ private unsubscribeFromCaptionEvents;
103
104
  private subscribeCallEvents;
104
105
  private unsubscribeCallEvents;
105
106
  private isMyMutedChanged;
@@ -745,6 +745,15 @@ export class AzureCommunicationCallAdapter {
745
745
  (_c = this.call) === null || _c === void 0 ? void 0 : _c.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
746
746
  }
747
747
  }
748
+ /* @conditional-compile-remove(close-captions) */
749
+ unsubscribeFromCaptionEvents() {
750
+ var _a, _b, _c;
751
+ if (this.call && this.call.state === 'Connected' && _isTeamsMeetingCall(this.call)) {
752
+ (_a = this._call) === null || _a === void 0 ? void 0 : _a.feature(Features.TeamsCaptions).off('captionsReceived', this.captionsReceived.bind(this));
753
+ (_b = this._call) === null || _b === void 0 ? void 0 : _b.feature(Features.TeamsCaptions).off('isCaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
754
+ (_c = this.call) === null || _c === void 0 ? void 0 : _c.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
755
+ }
756
+ }
748
757
  subscribeCallEvents() {
749
758
  var _a, _b, _c, _d, _e, _f;
750
759
  (_a = this.call) === null || _a === void 0 ? void 0 : _a.on('remoteParticipantsUpdated', this.onRemoteParticipantsUpdated.bind(this));
@@ -757,7 +766,7 @@ export class AzureCommunicationCallAdapter {
757
766
  (_f = this.call) === null || _f === void 0 ? void 0 : _f.feature(Features.Transfer).on('transferRequested', this.transferRequested.bind(this));
758
767
  }
759
768
  unsubscribeCallEvents() {
760
- var _a, _b, _c, _d, _e, _f, _g;
769
+ var _a, _b, _c, _d;
761
770
  for (const subscriber of this.participantSubscribers.values()) {
762
771
  subscriber.unsubscribeAll();
763
772
  }
@@ -767,11 +776,7 @@ export class AzureCommunicationCallAdapter {
767
776
  (_c = this.call) === null || _c === void 0 ? void 0 : _c.off('isScreenSharingOnChanged', this.isScreenSharingOnChanged.bind(this));
768
777
  (_d = this.call) === null || _d === void 0 ? void 0 : _d.off('idChanged', this.callIdChanged.bind(this));
769
778
  /* @conditional-compile-remove(close-captions) */
770
- (_e = this._call) === null || _e === void 0 ? void 0 : _e.feature(Features.TeamsCaptions).off('captionsReceived', this.captionsReceived.bind(this));
771
- /* @conditional-compile-remove(close-captions) */
772
- (_f = this._call) === null || _f === void 0 ? void 0 : _f.feature(Features.TeamsCaptions).off('isCaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
773
- /* @conditional-compile-remove(close-captions) */
774
- (_g = this.call) === null || _g === void 0 ? void 0 : _g.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
779
+ this.unsubscribeFromCaptionEvents();
775
780
  }
776
781
  onRemoteParticipantsUpdated({ added, removed }) {
777
782
  if (added && added.length > 0) {