@azure/communication-react 1.7.1-alpha-202308190011 → 1.7.1-alpha-202308220012

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 (61) hide show
  1. package/dist/dist-cjs/communication-react/index.js +92 -87
  2. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  3. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  5. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +2 -5
  6. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +9 -5
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  9. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -0
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +9 -0
  11. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  12. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +6 -5
  13. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +5 -5
  15. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +2 -2
  17. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +7 -7
  18. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +4 -0
  20. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +5 -1
  21. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +4 -0
  22. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +4 -0
  23. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +4 -0
  24. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +4 -0
  25. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +4 -0
  26. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +4 -0
  27. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +4 -0
  28. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +4 -0
  29. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +4 -0
  30. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +4 -0
  31. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +4 -0
  32. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +4 -0
  33. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +4 -0
  34. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +4 -0
  35. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +4 -0
  36. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +4 -0
  37. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +4 -0
  38. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +4 -0
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +14 -14
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  41. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +5 -1
  42. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +5 -1
  43. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +5 -1
  44. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +5 -1
  45. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +5 -1
  46. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +5 -1
  47. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +5 -1
  48. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +5 -1
  49. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +5 -1
  50. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +5 -1
  51. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +5 -1
  52. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +5 -1
  53. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +5 -1
  54. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +5 -1
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +5 -1
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +5 -1
  57. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +5 -1
  58. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +5 -1
  59. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +5 -1
  60. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +5 -1
  61. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"CaptionsSubscriber.js","sourceRoot":"","sources":["../../../../../calling-stateful-client/src/CaptionsSubscriber.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,iDAAiD;AACjD;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAK7B,YAAY,SAAoB,EAAE,OAAoB,EAAE,QAAkC;QAelF,cAAS,GAAG,GAAS,EAAE;YAC7B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAC3E,IAAI,CAAC,SAAS,CAAC,EAAE,CAA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CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;QAC3G,IAAI,4BAA4B,IAAI,IAAI,CAAC,SAAS,EAAE;YAClD,IAAI,CAAC,QAAQ,CAAC,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;SAC9G;QAED,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;CAqBF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/* @conditional-compile-remove(close-captions) */\nimport { PropertyChangedEvent } from '@azure/communication-calling';\n/* @conditional-compile-remove(close-captions) */\nimport { CallContext } from './CallContext';\n/* @conditional-compile-remove(close-captions) */\nimport { CallIdRef } from './CallIdRef';\n/* @conditional-compile-remove(close-captions) */\nimport { TeamsCaptionsHandler, TeamsCaptionsInfo, TeamsCaptionsCallFeature } from '@azure/communication-calling';\n\n/* @conditional-compile-remove(close-captions) */\n/**\n * @private\n */\nexport class CaptionsSubscriber {\n private _callIdRef: CallIdRef;\n private _context: CallContext;\n private _captions: TeamsCaptionsCallFeature;\n\n constructor(callIdRef: CallIdRef, context: CallContext, captions: TeamsCaptionsCallFeature) {\n this._callIdRef = callIdRef;\n this._context = context;\n this._captions = captions;\n if (this._captions.isCaptionsFeatureActive) {\n this._context.setIsCaptionActive(this._callIdRef.callId, this._captions.isCaptionsFeatureActive);\n }\n this._context.setAvailableSpokenLanguages(this._callIdRef.callId, this._captions.supportedSpokenLanguages);\n if ('availableSubtitleLanguages' in this._captions) {\n this._context.setAvailableCaptionLanguages(this._callIdRef.callId, this._captions.supportedCaptionLanguages);\n }\n\n this.subscribe();\n }\n\n private subscribe = (): void => {\n this._captions.on('isCaptionsActiveChanged', this.isCaptionsActiveChanged);\n this._captions.on('captionsReceived', this.onCaptionsReceived);\n };\n\n public unsubscribe = (): void => {\n this._captions.off('isCaptionsActiveChanged', this.isCaptionsActiveChanged);\n this._captions.off('captionsReceived', this.onCaptionsReceived);\n };\n\n private onCaptionsReceived: TeamsCaptionsHandler = (caption: TeamsCaptionsInfo): void => {\n this._context.addCaption(this._callIdRef.callId, caption);\n this._context.setSelectedSpokenLanguage(this._callIdRef.callId, caption.spokenLanguage);\n this._context.setSelectedCaptionLanguage(this._callIdRef.callId, caption.spokenLanguage);\n };\n\n private isCaptionsActiveChanged: PropertyChangedEvent = (): void => {\n this._context.setIsCaptionActive(this._callIdRef.callId, this._captions.isCaptionsFeatureActive);\n };\n}\n\n// This is a placeholder to bypass CC of \"close-captions\", remove when move the feature to stable\nexport {};\n"]}
1
+ {"version":3,"file":"CaptionsSubscriber.js","sourceRoot":"","sources":["../../../../../calling-stateful-client/src/CaptionsSubscriber.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAclC,iDAAiD;AACjD;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAK7B,YAAY,SAAoB,EAAE,OAAoB,EAAE,QAAuB;QAgBvE,cAAS,GAAG,GAAS,EAAE;YAC7B,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC;YACzE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACjE,CAAC,CAAC;QAEK,gBAAW,GAAG,GAAS,EAAE;YAC9B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAC1E,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAClE,CAAC,CAAC;QAEM,uBAAkB,GAAyB,CAAC,OAA0B,EAAQ,EAAE;YACtF,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,CAA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Event,\n TeamsCaptions,\n TeamsCaptionsHandler,\n TeamsCaptionsInfo\n} from '@azure/communication-calling';\n/* @conditional-compile-remove(close-captions) */\nimport { CallContext } from './CallContext';\n/* @conditional-compile-remove(close-captions) */\nimport { CallIdRef } from './CallIdRef';\n\n/* @conditional-compile-remove(close-captions) */\n/**\n * @private\n */\nexport class CaptionsSubscriber {\n private _callIdRef: CallIdRef;\n private _context: CallContext;\n private _captions: TeamsCaptions;\n\n constructor(callIdRef: CallIdRef, context: CallContext, captions: TeamsCaptions) {\n this._callIdRef = callIdRef;\n this._context = context;\n this._captions = captions;\n if (this._captions.isCaptionsFeatureActive) {\n this._context.setIsCaptionActive(this._callIdRef.callId, this._captions.isCaptionsFeatureActive);\n }\n this._context.setAvailableSpokenLanguages(this._callIdRef.callId, this._captions.supportedSpokenLanguages);\n if ('supportedCaptionLanguages' in this._captions) {\n this._context.setAvailableCaptionLanguages(this._callIdRef.callId, this._captions.supportedCaptionLanguages);\n }\n this._context.setSelectedSpokenLanguage(this._callIdRef.callId, this._captions.activeSpokenLanguage);\n this._context.setSelectedCaptionLanguage(this._callIdRef.callId, this._captions.activeCaptionLanguage);\n this.subscribe();\n }\n\n private subscribe = (): void => {\n this._captions.on('CaptionsActiveChanged', this.isCaptionsActiveChanged);\n this._captions.on('CaptionsReceived', this.onCaptionsReceived);\n };\n\n public unsubscribe = (): void => {\n this._captions.off('CaptionsActiveChanged', this.isCaptionsActiveChanged);\n this._captions.off('CaptionsReceived', this.onCaptionsReceived);\n };\n\n private onCaptionsReceived: TeamsCaptionsHandler = (caption: TeamsCaptionsInfo): void => {\n this._context.addCaption(this._callIdRef.callId, caption);\n };\n\n private isCaptionsActiveChanged: PropertyChangedEvent = (): void => {\n this._context.setIsCaptionActive(this._callIdRef.callId, this._captions.isCaptionsFeatureActive);\n };\n}\n\n// This is a placeholder to bypass CC of \"close-captions\", remove when move the feature to stable\nexport {};\n"]}
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "الاقتراحات"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "تنزيل",
36
+ "dismissButtonAriaLabel": "إغلاق"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "تم إرسال الرسالة",
36
40
  "deliveredTooltipText": "تم الإرسال",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Návrhy"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Stáhnout",
36
+ "dismissButtonAriaLabel": "Zavřít"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Zpráva byla odeslána",
36
40
  "deliveredTooltipText": "Odesláno",
@@ -107,7 +111,7 @@
107
111
  },
108
112
  "screenShareButton": {
109
113
  "onLabel": "Zastavit prezentaci",
110
- "offLabel": "Přítomno",
114
+ "offLabel": "Prezentovat",
111
115
  "tooltipDisabledContent": "Sdílení je zakázáno",
112
116
  "tooltipOnContent": "Sdílí se vaše obrazovka",
113
117
  "tooltipOffContent": "Sdílet obrazovku"
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Vorschläge"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Herunterladen",
36
+ "dismissButtonAriaLabel": "Schließen"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Nachricht gesendet",
36
40
  "deliveredTooltipText": "Gesendet",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Suggestions"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Download",
36
+ "dismissButtonAriaLabel": "Close"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Message sent",
36
40
  "deliveredTooltipText": "Sent",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Sugerencias"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Descargar",
36
+ "dismissButtonAriaLabel": "Cerrar"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Mensaje enviado",
36
40
  "deliveredTooltipText": "Enviado",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Ehdotuksia"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Lataa",
36
+ "dismissButtonAriaLabel": "Sulje"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Viesti on lähetetty",
36
40
  "deliveredTooltipText": "Lähetetty",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Suggestions"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Télécharger",
36
+ "dismissButtonAriaLabel": "Fermer"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Message envoyé",
36
40
  "deliveredTooltipText": "Envoyé",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "הצעות"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "הורד",
36
+ "dismissButtonAriaLabel": "סגור"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "ההודעה נשלחה",
36
40
  "deliveredTooltipText": "‏‏נשלח",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Suggerimenti"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Scarica",
36
+ "dismissButtonAriaLabel": "Chiudi"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Il messaggio è stato inviato",
36
40
  "deliveredTooltipText": "Inviato",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "候補"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "ダウンロード",
36
+ "dismissButtonAriaLabel": "閉じる"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "メッセージを送信しました",
36
40
  "deliveredTooltipText": "送信しました",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "제안"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "다운로드",
36
+ "dismissButtonAriaLabel": "닫기"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "메시지를 보냄",
36
40
  "deliveredTooltipText": "보냄",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Forslag"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Last ned",
36
+ "dismissButtonAriaLabel": "Lukk"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Melding sendt",
36
40
  "deliveredTooltipText": "Sendt",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Suggesties"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Downloaden",
36
+ "dismissButtonAriaLabel": "Sluiten"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Bericht verzonden",
36
40
  "deliveredTooltipText": "Verzonden",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Sugestie"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Pobierz",
36
+ "dismissButtonAriaLabel": "Zamknij"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Wiadomość została wysłana",
36
40
  "deliveredTooltipText": "Wysłano",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Sugestões"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Baixar",
36
+ "dismissButtonAriaLabel": "Fechar"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Mensagem enviada",
36
40
  "deliveredTooltipText": "Enviado",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Рекомендации"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Скачать",
36
+ "dismissButtonAriaLabel": "Закрыть"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Сообщение отправлено",
36
40
  "deliveredTooltipText": "Отправлено",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Förslag"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "Ladda ner",
36
+ "dismissButtonAriaLabel": "Stäng"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "Meddelandet har skickats",
36
40
  "deliveredTooltipText": "Skickat",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "Öneriler"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "İndir",
36
+ "dismissButtonAriaLabel": "Kapat"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "İleti gönderildi",
36
40
  "deliveredTooltipText": "Gönderilen",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "建议"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "下载",
36
+ "dismissButtonAriaLabel": "关闭"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "已发送消息",
36
40
  "deliveredTooltipText": "已发送",
@@ -31,6 +31,10 @@
31
31
  "mentionPopover": {
32
32
  "mentionPopoverHeader": "建議"
33
33
  },
34
+ "imageGallery": {
35
+ "downloadButtonLabel": "下載",
36
+ "dismissButtonAriaLabel": "關閉"
37
+ },
34
38
  "messageStatusIndicator": {
35
39
  "deliveredAriaLabel": "訊息已傳送",
36
40
  "deliveredTooltipText": "已傳送",
@@ -17,12 +17,10 @@ import { _isTeamsCallAgent } from "../../../../../calling-stateful-client/src";
17
17
  import { LocalVideoStream as SDKLocalVideoStream } from '@azure/communication-calling';
18
18
  /* @conditional-compile-remove(call-transfer) */
19
19
  import { LocalVideoStream } from '@azure/communication-calling';
20
- /* @conditional-compile-remove(unsupported-browser) */
20
+ /* @conditional-compile-remove(unsupported-browser) */ /* @conditional-compile-remove(close-captions) */
21
21
  import { Features } from '@azure/communication-calling';
22
22
  import { EventEmitter } from 'events';
23
23
  import { getCallCompositePage, IsCallEndedPage, isCameraOn } from '../utils';
24
- /* @conditional-compile-remove(close-captions) */
25
- import { _isTeamsMeetingCall } from "../../../../../calling-stateful-client/src";
26
24
  import { toFlatCommunicationIdentifier, _toCommunicationIdentifier, _isValidIdentifier } from "../../../../../acs-ui-common/src";
27
25
  import { isCommunicationUserIdentifier, isPhoneNumberIdentifier } from '@azure/communication-common';
28
26
  import { ParticipantSubscriber } from './ParticipantSubcriber';
@@ -823,20 +821,21 @@ export class AzureCommunicationCallAdapter {
823
821
  }
824
822
  /* @conditional-compile-remove(close-captions) */
825
823
  subscribeToCaptionEvents() {
826
- var _a, _b, _c;
827
- if (this.call && this.call.state === 'Connected' && _isTeamsMeetingCall(this.call)) {
828
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.TeamsCaptions).on('captionsReceived', this.captionsReceived.bind(this));
829
- (_b = this.call) === null || _b === void 0 ? void 0 : _b.feature(Features.TeamsCaptions).on('isCaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
830
- (_c = this.call) === null || _c === void 0 ? void 0 : _c.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
824
+ var _a;
825
+ if (this.call && this.call.state === 'Connected' && this.context.getState().isTeamsCall) {
826
+ const captionsFeature = (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Captions).captions;
827
+ captionsFeature.on('CaptionsReceived', this.captionsReceived.bind(this));
828
+ captionsFeature.on('CaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
831
829
  }
832
830
  }
833
831
  /* @conditional-compile-remove(close-captions) */
834
832
  unsubscribeFromCaptionEvents() {
835
- var _a, _b, _c;
836
- if (this.call && this.call.state === 'Connected' && _isTeamsMeetingCall(this.call)) {
837
- (_a = this._call) === null || _a === void 0 ? void 0 : _a.feature(Features.TeamsCaptions).off('captionsReceived', this.captionsReceived.bind(this));
838
- (_b = this._call) === null || _b === void 0 ? void 0 : _b.feature(Features.TeamsCaptions).off('isCaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
839
- (_c = this.call) === null || _c === void 0 ? void 0 : _c.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
833
+ var _a, _b;
834
+ if (this.call && this.call.state === 'Connected' && this.context.getState().isTeamsCall) {
835
+ const captionsFeature = (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Captions).captions;
836
+ captionsFeature.off('CaptionsReceived', this.captionsReceived.bind(this));
837
+ captionsFeature.off('CaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
838
+ (_b = this.call) === null || _b === void 0 ? void 0 : _b.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
840
839
  }
841
840
  }
842
841
  subscribeCallEvents() {
@@ -890,8 +889,9 @@ export class AzureCommunicationCallAdapter {
890
889
  /* @conditional-compile-remove(close-captions) */
891
890
  isCaptionsActiveChanged() {
892
891
  var _a;
892
+ const captionsFeature = (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Captions).captions;
893
893
  this.emitter.emit('isCaptionsActiveChanged', {
894
- isActive: (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.TeamsCaptions).isCaptionsFeatureActive
894
+ isActive: captionsFeature.isCaptionsFeatureActive
895
895
  });
896
896
  }
897
897
  /* @conditional-compile-remove(call-transfer) */