@azure/communication-react 1.5.1-alpha-202305170014 → 1.5.1-alpha-202305190012

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 (57) hide show
  1. package/dist/communication-react.d.ts +4 -2
  2. package/dist/dist-cjs/communication-react/index.js +802 -568
  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-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +4 -4
  7. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  8. package/dist/dist-esm/react-components/src/components/CameraButton.js +5 -3
  9. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +564 -364
  11. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +1 -1
  13. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  14. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +7 -2
  15. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +7 -2
  16. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +7 -2
  17. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +7 -2
  18. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +7 -2
  19. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +7 -2
  20. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +7 -2
  21. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +7 -2
  22. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +7 -2
  23. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +7 -2
  24. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +7 -2
  25. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +7 -2
  26. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +7 -2
  27. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -1
  28. package/dist/dist-esm/react-components/src/theming/icons.js +4 -2
  29. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +20 -4
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +9 -1
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +3 -11
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +2 -0
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +24 -5
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +9 -5
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +15 -18
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -1
  44. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +5 -0
  45. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +5 -0
  46. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +5 -0
  47. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +5 -0
  48. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +5 -0
  49. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +5 -0
  50. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +5 -0
  51. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +5 -0
  52. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +5 -0
  53. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +5 -0
  54. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +5 -0
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +5 -0
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +5 -0
  57. package/package.json +10 -10
@@ -25,6 +25,9 @@
25
25
  "uploading": "Uploading",
26
26
  "uploadCompleted": "Upload completed"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Suggestions"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Message sent",
30
33
  "deliveredTooltipText": "Sent",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "Your camera has been turned off",
57
60
  "onSplitButtonPrimaryActionCamera": "Turn off camera",
58
61
  "offSplitButtonPrimaryActionCamera": "Turn on camera",
59
- "cameraPrimaryActionSplitButtonTitle": "Use camera"
62
+ "cameraPrimaryActionSplitButtonTitle": "Use camera",
63
+ "videoEffectsMenuItemTitle": "Effects"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Mute",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Failed to join call.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Unable to join Meeting. Invalid Link.",
172
176
  "startScreenSharingGeneric": "There was an issue starting screen share.",
173
- "cameraFrozenForRemoteParticipants": "Users in the call are having issues seeing your video. Please check your devices and network."
177
+ "cameraFrozenForRemoteParticipants": "Users in the call are having issues seeing your video. Please check your devices and network.",
178
+ "unableToStartVideoEffect": "Unable to apply video effect."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "You are sharing your screen",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Cargando",
26
26
  "uploadCompleted": "Carga completada"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Sugerencias"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Mensaje enviado",
30
33
  "deliveredTooltipText": "Enviado",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "La cámara se ha desactivado",
57
60
  "onSplitButtonPrimaryActionCamera": "Desconectar la cámara",
58
61
  "offSplitButtonPrimaryActionCamera": "Activar la cámara",
59
- "cameraPrimaryActionSplitButtonTitle": "Usar cámara"
62
+ "cameraPrimaryActionSplitButtonTitle": "Usar cámara",
63
+ "videoEffectsMenuItemTitle": "Efectos"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Silenciar",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "No se pudo unir a la llamada.",
171
175
  "failedToJoinCallInvalidMeetingLink": "No se puede unir a la reunión. Vínculo no válido.",
172
176
  "startScreenSharingGeneric": "Hubo un problema al iniciar la pantalla compartida.",
173
- "cameraFrozenForRemoteParticipants": "Los usuarios de la llamada tienen problemas para ver el vídeo. Compruebe los dispositivos y la red."
177
+ "cameraFrozenForRemoteParticipants": "Los usuarios de la llamada tienen problemas para ver el vídeo. Compruebe los dispositivos y la red.",
178
+ "unableToStartVideoEffect": "No se puede aplicar el efecto de vídeo."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Está compartiendo su pantalla",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Chargement",
26
26
  "uploadCompleted": "Téléchargement terminé"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Suggestions"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Message envoyé",
30
33
  "deliveredTooltipText": "Envoyé",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "Votre caméra a été désactivée",
57
60
  "onSplitButtonPrimaryActionCamera": "Désactiver l’appareil photo",
58
61
  "offSplitButtonPrimaryActionCamera": "Activer la caméra",
59
- "cameraPrimaryActionSplitButtonTitle": "Utiliser l’appareil photo"
62
+ "cameraPrimaryActionSplitButtonTitle": "Utiliser l’appareil photo",
63
+ "videoEffectsMenuItemTitle": "Effets"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Désactiver le son",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Nous n’avons pas pu rejoindre l’appel.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Impossible de rejoindre la réunion. Lien non valide.",
172
176
  "startScreenSharingGeneric": "Un problème est survenu durant le démarrage du partage d’écran.",
173
- "cameraFrozenForRemoteParticipants": "Les utilisateurs de l’appel rencontrent des problèmes pour voir votre vidéo. Vérifiez vos appareils et votre réseau."
177
+ "cameraFrozenForRemoteParticipants": "Les utilisateurs de l’appel rencontrent des problèmes pour voir votre vidéo. Vérifiez vos appareils et votre réseau.",
178
+ "unableToStartVideoEffect": "Impossible d’appliquer l’effet vidéo."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Vous partagez votre écran.",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Caricamento in corso",
26
26
  "uploadCompleted": "Caricamento completato"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Suggerimenti"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Il messaggio è stato inviato",
30
33
  "deliveredTooltipText": "Inviato",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "La videocamera è stata disattivata",
57
60
  "onSplitButtonPrimaryActionCamera": "Spegni la videocamera",
58
61
  "offSplitButtonPrimaryActionCamera": "Accendi la videocamera",
59
- "cameraPrimaryActionSplitButtonTitle": "Usa la fotocamera"
62
+ "cameraPrimaryActionSplitButtonTitle": "Usa la fotocamera",
63
+ "videoEffectsMenuItemTitle": "Effetti"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Disattiva audio",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Non è stato possibile partecipare alla chiamata.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Impossibile partecipare alla riunione. Collegamento non valido.",
172
176
  "startScreenSharingGeneric": "Si è verificato un problema durante l'avvio della condivisione dello schermo.",
173
- "cameraFrozenForRemoteParticipants": "Gli utenti della chiamata hanno problemi a visualizzare il video. Controllare i dispositivi e la rete."
177
+ "cameraFrozenForRemoteParticipants": "Gli utenti della chiamata hanno problemi a visualizzare il video. Controllare i dispositivi e la rete.",
178
+ "unableToStartVideoEffect": "Non è possibile applicare l'effetto video."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Stai condividendo lo schermo",
@@ -25,6 +25,9 @@
25
25
  "uploading": "アップロード中",
26
26
  "uploadCompleted": "アップロードが完了しました"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "候補"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "メッセージを送信しました",
30
33
  "deliveredTooltipText": "送信しました",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "カメラがオフになっています",
57
60
  "onSplitButtonPrimaryActionCamera": "カメラをオフにする",
58
61
  "offSplitButtonPrimaryActionCamera": "カメラをオンにする",
59
- "cameraPrimaryActionSplitButtonTitle": "カメラを使用する"
62
+ "cameraPrimaryActionSplitButtonTitle": "カメラを使用する",
63
+ "videoEffectsMenuItemTitle": "効果"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "ミュート",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "通話に参加できませんでした",
171
175
  "failedToJoinCallInvalidMeetingLink": "会議に参加できません。リンクが無効です。",
172
176
  "startScreenSharingGeneric": "画面共有の開始中に問題が発生しました。",
173
- "cameraFrozenForRemoteParticipants": "通話のユーザーにビデオの表示で問題が発生しています。デバイスとネットワークを確認してください。"
177
+ "cameraFrozenForRemoteParticipants": "通話のユーザーにビデオの表示で問題が発生しています。デバイスとネットワークを確認してください。",
178
+ "unableToStartVideoEffect": "ビデオ効果を適用できません。"
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "画面を共有しています",
@@ -25,6 +25,9 @@
25
25
  "uploading": "업로드 중",
26
26
  "uploadCompleted": "업로드 완료"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "제안"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "메시지를 보냄",
30
33
  "deliveredTooltipText": "보냄",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "카메라가 꺼져 있습니다.",
57
60
  "onSplitButtonPrimaryActionCamera": "카메라 끄기",
58
61
  "offSplitButtonPrimaryActionCamera": "카메라 켜기",
59
- "cameraPrimaryActionSplitButtonTitle": "카메라 사용"
62
+ "cameraPrimaryActionSplitButtonTitle": "카메라 사용",
63
+ "videoEffectsMenuItemTitle": "효과"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "음소거",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "통화에 참가하지 못했습니다.",
171
175
  "failedToJoinCallInvalidMeetingLink": "모임에 참가할 수 없습니다. 잘못된 링크입니다.",
172
176
  "startScreenSharingGeneric": "화면 공유를 시작하는 동안 문제가 발생했습니다.",
173
- "cameraFrozenForRemoteParticipants": "통화 중인 사용자에게 영상이 표시되는 데 문제가 있습니다. 장치와 네트워크를 확인하세요."
177
+ "cameraFrozenForRemoteParticipants": "통화 중인 사용자에게 영상이 표시되는 데 문제가 있습니다. 장치와 네트워크를 확인하세요.",
178
+ "unableToStartVideoEffect": "비디오 효과를 적용할 수 없습니다."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "화면을 공유 중입니다.",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Uploaden",
26
26
  "uploadCompleted": "Upload voltooid"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Suggesties"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Bericht verzonden",
30
33
  "deliveredTooltipText": "Verzonden",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "Uw camera is uitgeschakeld",
57
60
  "onSplitButtonPrimaryActionCamera": "Camera uitschakelen",
58
61
  "offSplitButtonPrimaryActionCamera": "Camera inschakelen",
59
- "cameraPrimaryActionSplitButtonTitle": "Camera gebruiken"
62
+ "cameraPrimaryActionSplitButtonTitle": "Camera gebruiken",
63
+ "videoEffectsMenuItemTitle": "Effecten"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Dempen",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Deelnemen aan gesprek mislukt.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Kan niet deelnemen aan vergadering. Ongeldige koppeling.",
172
176
  "startScreenSharingGeneric": "Er is een probleem opgetreden bij het starten van scherm delen.",
173
- "cameraFrozenForRemoteParticipants": "Gebruikers in het gesprek ondervinden problemen bij het zien van uw video. Controleer uw apparaten en netwerk."
177
+ "cameraFrozenForRemoteParticipants": "Gebruikers in het gesprek ondervinden problemen bij het zien van uw video. Controleer uw apparaten en netwerk.",
178
+ "unableToStartVideoEffect": "Kan video-effect niet toepassen."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "U deelt uw scherm",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Carregando",
26
26
  "uploadCompleted": "Carregamento concluído"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Sugestões"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Mensagem enviada",
30
33
  "deliveredTooltipText": "Enviado",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "A câmera foi desligada",
57
60
  "onSplitButtonPrimaryActionCamera": "Desligar a câmera",
58
61
  "offSplitButtonPrimaryActionCamera": "Ligar a câmera",
59
- "cameraPrimaryActionSplitButtonTitle": "Usar câmera"
62
+ "cameraPrimaryActionSplitButtonTitle": "Usar câmera",
63
+ "videoEffectsMenuItemTitle": "Efeitos"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Mudo",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Ocorreu um erro ao ingressar na chamada.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Não é possível ingressar na Reunião. Link Inválido.",
172
176
  "startScreenSharingGeneric": "Ocorreu um problema ao iniciar o compartilhamento de tela.",
173
- "cameraFrozenForRemoteParticipants": "Os usuários na chamada estão enfrentando problemas para ver seu vídeo. Verifique seus dispositivos e a rede."
177
+ "cameraFrozenForRemoteParticipants": "Os usuários na chamada estão enfrentando problemas para ver seu vídeo. Verifique seus dispositivos e a rede.",
178
+ "unableToStartVideoEffect": "Não é possível aplicar o efeito de vídeo."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Você está compartilhando sua tela",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Отправка",
26
26
  "uploadCompleted": "Отправка завершена"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Рекомендации"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "Сообщение отправлено",
30
33
  "deliveredTooltipText": "Отправлено",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "Камера отключена",
57
60
  "onSplitButtonPrimaryActionCamera": "Выключить камеру",
58
61
  "offSplitButtonPrimaryActionCamera": "Включить камеру",
59
- "cameraPrimaryActionSplitButtonTitle": "Использовать камеру"
62
+ "cameraPrimaryActionSplitButtonTitle": "Использовать камеру",
63
+ "videoEffectsMenuItemTitle": "Эффекты"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Отключить звук",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Не удалось присоединиться к звонку.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Не удалось присоединиться к собранию. Недопустимая ссылка.",
172
176
  "startScreenSharingGeneric": "Возникла проблема с запуском демонстрации экрана.",
173
- "cameraFrozenForRemoteParticipants": "У участников звонка возникают проблемы с просмотром вашего видео. Проверьте свои устройства и сеть."
177
+ "cameraFrozenForRemoteParticipants": "У участников звонка возникают проблемы с просмотром вашего видео. Проверьте свои устройства и сеть.",
178
+ "unableToStartVideoEffect": "Не удалось применить эффект видео."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Вы демонстрируете свой экран",
@@ -25,6 +25,9 @@
25
25
  "uploading": "Karşıya yükleniyor",
26
26
  "uploadCompleted": "Karşıya yükleme tamamlandı"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "Öneriler"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "İleti gönderildi",
30
33
  "deliveredTooltipText": "Gönderilen",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "Kameranız kapatıldı",
57
60
  "onSplitButtonPrimaryActionCamera": "Kamerayı kapat",
58
61
  "offSplitButtonPrimaryActionCamera": "Kamerayı aç",
59
- "cameraPrimaryActionSplitButtonTitle": "Kamerayı kullan"
62
+ "cameraPrimaryActionSplitButtonTitle": "Kamerayı kullan",
63
+ "videoEffectsMenuItemTitle": "Efektler"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "Sesi kapat",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "Aramaya katılınamadı.",
171
175
  "failedToJoinCallInvalidMeetingLink": "Toplantıya katılınamıyor. Geçersiz Bağlantı.",
172
176
  "startScreenSharingGeneric": "Ekran paylaşımı başlatılırken bir sorun oluştu.",
173
- "cameraFrozenForRemoteParticipants": "Aramadaki kullanıcılar videonuzu görmekte sorun yaşıyor. Lütfen cihazlarınızı ve ağlarınızı kontrol edin."
177
+ "cameraFrozenForRemoteParticipants": "Aramadaki kullanıcılar videonuzu görmekte sorun yaşıyor. Lütfen cihazlarınızı ve ağlarınızı kontrol edin.",
178
+ "unableToStartVideoEffect": "Video efekti uygulanamıyor."
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "Ekranınızı paylaşıyorsunuz.",
@@ -25,6 +25,9 @@
25
25
  "uploading": "正在上传",
26
26
  "uploadCompleted": "已完成上传"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "建议"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "已发送消息",
30
33
  "deliveredTooltipText": "已发送",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "你的相机已关闭",
57
60
  "onSplitButtonPrimaryActionCamera": "关闭摄像头",
58
61
  "offSplitButtonPrimaryActionCamera": "打开摄像头",
59
- "cameraPrimaryActionSplitButtonTitle": "使用照相机"
62
+ "cameraPrimaryActionSplitButtonTitle": "使用照相机",
63
+ "videoEffectsMenuItemTitle": "效果"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "静音",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "未能加入通话。",
171
175
  "failedToJoinCallInvalidMeetingLink": "无法加入会议。无效的链接。",
172
176
  "startScreenSharingGeneric": "启动屏幕共享时出现问题。",
173
- "cameraFrozenForRemoteParticipants": "通话中的用户在查看视频时遇到问题。请检查你的设备和网络。"
177
+ "cameraFrozenForRemoteParticipants": "通话中的用户在查看视频时遇到问题。请检查你的设备和网络。",
178
+ "unableToStartVideoEffect": "无法应用视频效果。"
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "你正在共享你的屏幕",
@@ -25,6 +25,9 @@
25
25
  "uploading": "正在上傳",
26
26
  "uploadCompleted": "上傳完成"
27
27
  },
28
+ "mentionPopover": {
29
+ "mentionPopoverHeader": "建議"
30
+ },
28
31
  "messageStatusIndicator": {
29
32
  "deliveredAriaLabel": "訊息已傳送",
30
33
  "deliveredTooltipText": "已傳送",
@@ -56,7 +59,8 @@
56
59
  "cameraActionTurnedOffAnnouncement": "您的相機已關閉",
57
60
  "onSplitButtonPrimaryActionCamera": "關閉攝影機",
58
61
  "offSplitButtonPrimaryActionCamera": "開啟相機",
59
- "cameraPrimaryActionSplitButtonTitle": "使用相機"
62
+ "cameraPrimaryActionSplitButtonTitle": "使用相機",
63
+ "videoEffectsMenuItemTitle": "效果"
60
64
  },
61
65
  "microphoneButton": {
62
66
  "onLabel": "靜音",
@@ -170,7 +174,8 @@
170
174
  "failedToJoinCallGeneric": "無法加入通話。",
171
175
  "failedToJoinCallInvalidMeetingLink": "無法加入會議。連結無效。",
172
176
  "startScreenSharingGeneric": "啟動畫面分享時發生問題。",
173
- "cameraFrozenForRemoteParticipants": "通話中的使用者在觀看您的視訊時發生問題。請檢查您的裝置和網路。"
177
+ "cameraFrozenForRemoteParticipants": "通話中的使用者在觀看您的視訊時發生問題。請檢查您的裝置和網路。",
178
+ "unableToStartVideoEffect": "無法套用視訊效果。"
174
179
  },
175
180
  "videoGallery": {
176
181
  "screenIsBeingSharedMessage": "您現在正在分享螢幕畫面。",
@@ -87,7 +87,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
87
87
  SplitButtonPrimaryActionMicMuted: JSX.Element;
88
88
  VerticalGalleryLeftButton: JSX.Element;
89
89
  VerticalGalleryRightButton: JSX.Element;
90
- OptionsVideoBackgroundEffect: JSX.Element;
90
+ ControlButtonVideoEffectsOption: JSX.Element;
91
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
91
92
  CaptionsIcon: JSX.Element;
92
93
  CaptionsOffIcon: JSX.Element;
93
94
  CaptionsSettingsIcon: JSX.Element;
@@ -9,7 +9,7 @@ import { ClosedCaption20Regular, ClosedCaptionOff20Regular, Settings20Regular, P
9
9
  /* @conditional-compile-remove(call-readiness) */
10
10
  import { Important20Filled } from '@fluentui/react-icons';
11
11
  /* @conditional-compile-remove(video-background-effects) */
12
- import { VideoBackgroundEffect20Regular } from '@fluentui/react-icons';
12
+ import { VideoBackgroundEffect20Filled, VideoBackgroundEffect20Regular } from '@fluentui/react-icons';
13
13
  /* @conditional-compile-remove(pinned-participants) */
14
14
  import { Pin16Filled, Pin16Regular, PinOff16Regular, ScaleFit20Regular, ScaleFill20Regular } from '@fluentui/react-icons';
15
15
  /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
@@ -208,7 +208,9 @@ export const DEFAULT_COMPONENT_ICONS = {
208
208
  /* @conditional-compile-remove(vertical-gallery) */
209
209
  VerticalGalleryRightButton: React.createElement(GalleryRightButton, null),
210
210
  /* @conditional-compile-remove(video-background-effects) */
211
- OptionsVideoBackgroundEffect: React.createElement(VideoBackgroundEffect20Regular, null),
211
+ ControlButtonVideoEffectsOption: React.createElement(VideoBackgroundEffect20Regular, null),
212
+ /* @conditional-compile-remove(video-background-effects) */
213
+ ConfigurationScreenVideoEffectsButton: React.createElement(VideoBackgroundEffect20Filled, null),
212
214
  /* @conditional-compile-remove(close-captions) */
213
215
  CaptionsIcon: React.createElement(ClosedCaption20Regular, null),
214
216
  /* @conditional-compile-remove(close-captions) */
@@ -1 +1 @@
1
- {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/icons.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACv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CACnD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { mergeStyles } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { Stack } from '@fluentui/react';\nimport {\n ArrowClockwise16Regular,\n CallEnd20Filled,\n Checkmark20Regular,\n CheckmarkCircle16Regular,\n Circle16Regular,\n Delete20Regular,\n Dismiss20Regular,\n Dismiss16Regular,\n Edit20Regular,\n ErrorCircle16Regular,\n Eye16Regular,\n MicOff16Filled,\n MicOff16Regular,\n MicOff20Filled,\n Mic16Filled,\n Mic20Filled,\n Mic20Regular,\n MoreHorizontal20Filled,\n MoreHorizontal20Regular,\n People20Filled,\n Settings20Filled,\n Send20Filled,\n Send20Regular,\n ShareScreenStart20Filled,\n ShareScreenStop20Filled,\n Speaker220Regular,\n Video16Filled,\n Video20Filled,\n Video20Regular,\n VideoOff20Filled,\n ChevronLeft20Regular,\n ChevronRight20Regular,\n WifiWarning20Filled,\n SpeakerMute16Filled,\n MicProhibited16Filled,\n VideoProhibited16Filled\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(close-captions) */\nimport {\n ClosedCaption20Regular,\n ClosedCaptionOff20Regular,\n Settings20Regular,\n PersonVoice20Regular\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(call-readiness) */\nimport { Important20Filled } from '@fluentui/react-icons';\n/* @conditional-compile-remove(video-background-effects) */\nimport { VideoBackgroundEffect20Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(pinned-participants) */\nimport {\n Pin16Filled,\n Pin16Regular,\n PinOff16Regular,\n ScaleFit20Regular,\n ScaleFill20Regular\n} from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { Backspace20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(call-readiness) */\nimport { Sparkle20Filled, VideoProhibited20Filled, MicProhibited20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(file-sharing) */\nimport { ArrowDownload16Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { CallPause20Regular, CallPause20Filled, Play20Regular, People20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { Prohibited16Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(unsupported-browser) */\nimport { Warning20Filled } from '@fluentui/react-icons';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\nimport React from 'react';\nimport { useTheme } from './FluentThemeProvider';\n/* @conditional-compile-remove(call-readiness) */\nimport { sitePermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';\n\n/**\n * Icons used by the React components exported from this library.\n *\n * @remark See {@link CompositeIcons} for icons used by composites only.\n *\n * @public\n */\nexport type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS, JSX.Element>;\n\nconst WifiWarning16Filled = (): JSX.Element => (\n // All ErrorBar icons are 16px x 16px (when 1rem = 16 px).\n // There is no 16px version of this icon in the fluent icon package, so scale the larger\n // one down to required size.\n <div className={mergeStyles({ transform: 'scale(0.8)' })}>\n <WifiWarning20Filled />\n </div>\n);\n\nconst MoreHorizontal18Regular = (): JSX.Element => (\n // MoreHorizontal icons are 16px x 16px or 20px x 20px so scaling to get desired size\n <div className={mergeStyles({ transform: 'scale(0.9)' })}>\n <MoreHorizontal20Regular />\n </div>\n);\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionMic20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Mic20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionCamera20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Video20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsMicDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsCameraDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <VideoProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionSparkle20Filled = (): JSX.Element => (\n <div className={mergeStyles({ transform: 'scale(2)' })}>\n <Sparkle20Filled />\n </div>\n);\n\n/* @conditional-compile-remove(unsupported-browser) */\nconst UnsupportedEnvironmentWarning = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack\n horizontalAlign={'center'}\n styles={{\n root: {\n width: _pxToRem(84),\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem',\n margin: 'auto'\n }\n }}\n >\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Warning20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Important20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(data-loss-prevention) */\nconst DataLossPreventionProhibited16Regular = (): JSX.Element => {\n return <Prohibited16Regular />;\n};\n\nconst GalleryLeftButton = (): JSX.Element => {\n const rtl = useTheme().rtl;\n return rtl ? <ChevronRight20Regular /> : <ChevronLeft20Regular />;\n};\n\nconst GalleryRightButton = (): JSX.Element => {\n const rtl = useTheme().rtl;\n return rtl ? <ChevronLeft20Regular /> : <ChevronRight20Regular />;\n};\n\n/**\n * The default set of icons that are available to use in the UI components.\n *\n * @remark Icons used only in the composites are available in {@link DEFAULT_COMPOSITE_ICONS}.\n *\n * @public\n */\nexport const DEFAULT_COMPONENT_ICONS = {\n ChatMessageOptions: <MoreHorizontal18Regular />,\n ControlButtonCameraOff: <VideoOff20Filled />,\n ControlButtonCameraOn: <Video20Filled />,\n ControlButtonEndCall: <CallEnd20Filled />,\n ControlButtonMicOff: <MicOff20Filled />,\n ControlButtonMicOn: <Mic20Filled />,\n ControlButtonOptions: <Settings20Filled />,\n ControlButtonParticipants: <People20Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n ControlButtonParticipantsContextualMenuItem: <People20Regular />,\n ControlButtonScreenShareStart: <ShareScreenStart20Filled />,\n ControlButtonScreenShareStop: <ShareScreenStop20Filled />,\n /* @conditional-compile-remove(file-sharing) */\n CancelFileUpload: <Dismiss16Regular />,\n /* @conditional-compile-remove(file-sharing) */\n DownloadFile: <ArrowDownload16Regular />,\n /* @conditional-compile-remove(data-loss-prevention) */\n DataLossPreventionProhibited: <DataLossPreventionProhibited16Regular />,\n EditBoxCancel: <Dismiss20Regular />,\n EditBoxSubmit: <Checkmark20Regular />,\n ErrorBarCallCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallCameraAlreadyInUse: <VideoProhibited16Filled />,\n ErrorBarCallLocalVideoFreeze: <WifiWarning16Filled />,\n ErrorBarCallMacOsCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallMacOsMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneMutedBySystem: <MicOff16Filled />,\n ErrorBarCallMicrophoneUnmutedBySystem: <Mic16Filled />,\n ErrorBarCallNetworkQualityLow: <WifiWarning16Filled />,\n ErrorBarCallNoMicrophoneFound: <MicProhibited16Filled />,\n ErrorBarCallNoSpeakerFound: <SpeakerMute16Filled />,\n ErrorBarClear: <Dismiss16Regular />,\n ErrorBarCallVideoRecoveredBySystem: <Video16Filled />,\n ErrorBarCallVideoStoppedBySystem: <VideoProhibited16Filled />,\n HorizontalGalleryLeftButton: <GalleryLeftButton />,\n HorizontalGalleryRightButton: <GalleryRightButton />,\n MessageDelivered: <CheckmarkCircle16Regular />,\n MessageEdit: <Edit20Regular />,\n MessageFailed: <ErrorCircle16Regular />,\n MessageRemove: <Delete20Regular />,\n MessageResend: <ArrowClockwise16Regular />,\n MessageSeen: <Eye16Regular />,\n MessageSending: <Circle16Regular />,\n OptionsCamera: <Video20Regular />,\n OptionsMic: <Mic20Regular />,\n OptionsSpeaker: <Speaker220Regular />,\n ParticipantItemMicOff: <MicOff16Regular />,\n ParticipantItemOptions: <></>,\n ParticipantItemOptionsHovered: <MoreHorizontal20Filled />,\n ParticipantItemScreenShareStart: <ShareScreenStart20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallContextualMenuItem: <CallPause20Regular />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallButton: <CallPause20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n ResumeCall: <Play20Regular />,\n SendBoxSend: <Send20Regular />,\n SendBoxSendHovered: <Send20Filled />,\n VideoTileMicOff: <MicOff16Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n DialpadBackspace: <Backspace20Regular />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionsSparkle: <SitePermissionSparkle20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCamera: <SitePermissionCamera20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMic: <SitePermissionMic20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCameraDenied: <SitePermissionsCameraDenied20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMicDenied: <SitePermissionsMicDenied20Filled />,\n /* @conditional-compile-remove(unsupported-browser) */\n UnsupportedEnvironmentWarning: <UnsupportedEnvironmentWarning />,\n /* @conditional-compile-remove(call-readiness) */\n BrowserPermissionDeniedError: <BrowserPermissionDenied20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTilePinned: <Pin16Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileMoreOptions: <MoreHorizontal20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFit: <ScaleFit20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFill: <ScaleFill20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n PinParticipant: <Pin16Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n UnpinParticipant: <PinOff16Regular />,\n SplitButtonPrimaryActionCameraOn: <Video20Filled />,\n SplitButtonPrimaryActionCameraOff: <VideoOff20Filled />,\n SplitButtonPrimaryActionMicUnmuted: <Mic20Filled />,\n SplitButtonPrimaryActionMicMuted: <MicOff20Filled />,\n /* @conditional-compile-remove(vertical-gallery) */\n VerticalGalleryLeftButton: <GalleryLeftButton />,\n /* @conditional-compile-remove(vertical-gallery) */\n VerticalGalleryRightButton: <GalleryRightButton />,\n /* @conditional-compile-remove(video-background-effects) */\n OptionsVideoBackgroundEffect: <VideoBackgroundEffect20Regular />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsIcon: <ClosedCaption20Regular />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsOffIcon: <ClosedCaptionOff20Regular />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsSettingsIcon: <Settings20Regular />,\n /* @conditional-compile-remove(close-captions) */\n ChangeSpokenLanguageIcon: <PersonVoice20Regular />\n};\n\"../../../acs-ui-common/src\""]}
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/ic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9C,iDAAiD;IACjD,oBAAoB,EAAE,oBAAC,iBAAiB,OAAG;IAC3C,iDAAiD;IACjD,wBAAwB,EAAE,oBAAC,oBAAoB,OAAG;CACnD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { mergeStyles } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { Stack } from '@fluentui/react';\nimport {\n ArrowClockwise16Regular,\n CallEnd20Filled,\n Checkmark20Regular,\n CheckmarkCircle16Regular,\n Circle16Regular,\n Delete20Regular,\n Dismiss20Regular,\n Dismiss16Regular,\n Edit20Regular,\n ErrorCircle16Regular,\n Eye16Regular,\n MicOff16Filled,\n MicOff16Regular,\n MicOff20Filled,\n Mic16Filled,\n Mic20Filled,\n Mic20Regular,\n MoreHorizontal20Filled,\n MoreHorizontal20Regular,\n People20Filled,\n Settings20Filled,\n Send20Filled,\n Send20Regular,\n ShareScreenStart20Filled,\n ShareScreenStop20Filled,\n Speaker220Regular,\n Video16Filled,\n Video20Filled,\n Video20Regular,\n VideoOff20Filled,\n ChevronLeft20Regular,\n ChevronRight20Regular,\n WifiWarning20Filled,\n SpeakerMute16Filled,\n MicProhibited16Filled,\n VideoProhibited16Filled\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(close-captions) */\nimport {\n ClosedCaption20Regular,\n ClosedCaptionOff20Regular,\n Settings20Regular,\n PersonVoice20Regular\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(call-readiness) */\nimport { Important20Filled } from '@fluentui/react-icons';\n/* @conditional-compile-remove(video-background-effects) */\nimport { VideoBackgroundEffect20Filled, VideoBackgroundEffect20Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(pinned-participants) */\nimport {\n Pin16Filled,\n Pin16Regular,\n PinOff16Regular,\n ScaleFit20Regular,\n ScaleFill20Regular\n} from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { Backspace20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(call-readiness) */\nimport { Sparkle20Filled, VideoProhibited20Filled, MicProhibited20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(file-sharing) */\nimport { ArrowDownload16Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { CallPause20Regular, CallPause20Filled, Play20Regular, People20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(data-loss-prevention) */\nimport { Prohibited16Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(unsupported-browser) */\nimport { Warning20Filled } from '@fluentui/react-icons';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\nimport React from 'react';\nimport { useTheme } from './FluentThemeProvider';\n/* @conditional-compile-remove(call-readiness) */\nimport { sitePermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';\n\n/**\n * Icons used by the React components exported from this library.\n *\n * @remark See {@link CompositeIcons} for icons used by composites only.\n *\n * @public\n */\nexport type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS, JSX.Element>;\n\nconst WifiWarning16Filled = (): JSX.Element => (\n // All ErrorBar icons are 16px x 16px (when 1rem = 16 px).\n // There is no 16px version of this icon in the fluent icon package, so scale the larger\n // one down to required size.\n <div className={mergeStyles({ transform: 'scale(0.8)' })}>\n <WifiWarning20Filled />\n </div>\n);\n\nconst MoreHorizontal18Regular = (): JSX.Element => (\n // MoreHorizontal icons are 16px x 16px or 20px x 20px so scaling to get desired size\n <div className={mergeStyles({ transform: 'scale(0.9)' })}>\n <MoreHorizontal20Regular />\n </div>\n);\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionMic20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Mic20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionCamera20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Video20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsMicDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsCameraDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <VideoProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionSparkle20Filled = (): JSX.Element => (\n <div className={mergeStyles({ transform: 'scale(2)' })}>\n <Sparkle20Filled />\n </div>\n);\n\n/* @conditional-compile-remove(unsupported-browser) */\nconst UnsupportedEnvironmentWarning = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack\n horizontalAlign={'center'}\n styles={{\n root: {\n width: _pxToRem(84),\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem',\n margin: 'auto'\n }\n }}\n >\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Warning20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Important20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(data-loss-prevention) */\nconst DataLossPreventionProhibited16Regular = (): JSX.Element => {\n return <Prohibited16Regular />;\n};\n\nconst GalleryLeftButton = (): JSX.Element => {\n const rtl = useTheme().rtl;\n return rtl ? <ChevronRight20Regular /> : <ChevronLeft20Regular />;\n};\n\nconst GalleryRightButton = (): JSX.Element => {\n const rtl = useTheme().rtl;\n return rtl ? <ChevronLeft20Regular /> : <ChevronRight20Regular />;\n};\n\n/**\n * The default set of icons that are available to use in the UI components.\n *\n * @remark Icons used only in the composites are available in {@link DEFAULT_COMPOSITE_ICONS}.\n *\n * @public\n */\nexport const DEFAULT_COMPONENT_ICONS = {\n ChatMessageOptions: <MoreHorizontal18Regular />,\n ControlButtonCameraOff: <VideoOff20Filled />,\n ControlButtonCameraOn: <Video20Filled />,\n ControlButtonEndCall: <CallEnd20Filled />,\n ControlButtonMicOff: <MicOff20Filled />,\n ControlButtonMicOn: <Mic20Filled />,\n ControlButtonOptions: <Settings20Filled />,\n ControlButtonParticipants: <People20Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n ControlButtonParticipantsContextualMenuItem: <People20Regular />,\n ControlButtonScreenShareStart: <ShareScreenStart20Filled />,\n ControlButtonScreenShareStop: <ShareScreenStop20Filled />,\n /* @conditional-compile-remove(file-sharing) */\n CancelFileUpload: <Dismiss16Regular />,\n /* @conditional-compile-remove(file-sharing) */\n DownloadFile: <ArrowDownload16Regular />,\n /* @conditional-compile-remove(data-loss-prevention) */\n DataLossPreventionProhibited: <DataLossPreventionProhibited16Regular />,\n EditBoxCancel: <Dismiss20Regular />,\n EditBoxSubmit: <Checkmark20Regular />,\n ErrorBarCallCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallCameraAlreadyInUse: <VideoProhibited16Filled />,\n ErrorBarCallLocalVideoFreeze: <WifiWarning16Filled />,\n ErrorBarCallMacOsCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallMacOsMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneMutedBySystem: <MicOff16Filled />,\n ErrorBarCallMicrophoneUnmutedBySystem: <Mic16Filled />,\n ErrorBarCallNetworkQualityLow: <WifiWarning16Filled />,\n ErrorBarCallNoMicrophoneFound: <MicProhibited16Filled />,\n ErrorBarCallNoSpeakerFound: <SpeakerMute16Filled />,\n ErrorBarClear: <Dismiss16Regular />,\n ErrorBarCallVideoRecoveredBySystem: <Video16Filled />,\n ErrorBarCallVideoStoppedBySystem: <VideoProhibited16Filled />,\n HorizontalGalleryLeftButton: <GalleryLeftButton />,\n HorizontalGalleryRightButton: <GalleryRightButton />,\n MessageDelivered: <CheckmarkCircle16Regular />,\n MessageEdit: <Edit20Regular />,\n MessageFailed: <ErrorCircle16Regular />,\n MessageRemove: <Delete20Regular />,\n MessageResend: <ArrowClockwise16Regular />,\n MessageSeen: <Eye16Regular />,\n MessageSending: <Circle16Regular />,\n OptionsCamera: <Video20Regular />,\n OptionsMic: <Mic20Regular />,\n OptionsSpeaker: <Speaker220Regular />,\n ParticipantItemMicOff: <MicOff16Regular />,\n ParticipantItemOptions: <></>,\n ParticipantItemOptionsHovered: <MoreHorizontal20Filled />,\n ParticipantItemScreenShareStart: <ShareScreenStart20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallContextualMenuItem: <CallPause20Regular />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallButton: <CallPause20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n ResumeCall: <Play20Regular />,\n SendBoxSend: <Send20Regular />,\n SendBoxSendHovered: <Send20Filled />,\n VideoTileMicOff: <MicOff16Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n DialpadBackspace: <Backspace20Regular />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionsSparkle: <SitePermissionSparkle20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCamera: <SitePermissionCamera20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMic: <SitePermissionMic20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCameraDenied: <SitePermissionsCameraDenied20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMicDenied: <SitePermissionsMicDenied20Filled />,\n /* @conditional-compile-remove(unsupported-browser) */\n UnsupportedEnvironmentWarning: <UnsupportedEnvironmentWarning />,\n /* @conditional-compile-remove(call-readiness) */\n BrowserPermissionDeniedError: <BrowserPermissionDenied20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTilePinned: <Pin16Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileMoreOptions: <MoreHorizontal20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFit: <ScaleFit20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFill: <ScaleFill20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n PinParticipant: <Pin16Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n UnpinParticipant: <PinOff16Regular />,\n SplitButtonPrimaryActionCameraOn: <Video20Filled />,\n SplitButtonPrimaryActionCameraOff: <VideoOff20Filled />,\n SplitButtonPrimaryActionMicUnmuted: <Mic20Filled />,\n SplitButtonPrimaryActionMicMuted: <MicOff20Filled />,\n /* @conditional-compile-remove(vertical-gallery) */\n VerticalGalleryLeftButton: <GalleryLeftButton />,\n /* @conditional-compile-remove(vertical-gallery) */\n VerticalGalleryRightButton: <GalleryRightButton />,\n /* @conditional-compile-remove(video-background-effects) */\n ControlButtonVideoEffectsOption: <VideoBackgroundEffect20Regular />,\n /* @conditional-compile-remove(video-background-effects) */\n ConfigurationScreenVideoEffectsButton: <VideoBackgroundEffect20Filled />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsIcon: <ClosedCaption20Regular />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsOffIcon: <ClosedCaptionOff20Regular />,\n /* @conditional-compile-remove(close-captions) */\n CaptionsSettingsIcon: <Settings20Regular />,\n /* @conditional-compile-remove(close-captions) */\n ChangeSpokenLanguageIcon: <PersonVoice20Regular />\n};\n\"../../../acs-ui-common/src\""]}
@@ -13,14 +13,13 @@ import { _isInCall } from "../../../../../calling-component-bindings/src";
13
13
  import { createStatefulCallClient } from "../../../../../calling-stateful-client/src";
14
14
  /* @conditional-compile-remove(teams-identity-support) */
15
15
  import { _isTeamsCallAgent } from "../../../../../calling-stateful-client/src";
16
+ import { LocalVideoStream as SDKLocalVideoStream } from '@azure/communication-calling';
16
17
  /* @conditional-compile-remove(unsupported-browser) */
17
18
  import { Features } from '@azure/communication-calling';
18
19
  import { EventEmitter } from 'events';
19
20
  import { getCallCompositePage, IsCallEndedPage, isCameraOn, isValidIdentifier } from '../utils';
20
21
  /* @conditional-compile-remove(close-captions) */
21
22
  import { _isTeamsMeetingCall } from "../../../../../calling-stateful-client/src";
22
- /* @conditional-compile-remove(video-background-effects) */
23
- import { startSelectedVideoEffect } from '../utils';
24
23
  import { toFlatCommunicationIdentifier, _toCommunicationIdentifier } from "../../../../../acs-ui-common/src";
25
24
  import { isCommunicationUserIdentifier, isPhoneNumberIdentifier } from '@azure/communication-common';
26
25
  import { ParticipantSubscriber } from './ParticipantSubcriber';
@@ -28,6 +27,8 @@ import { DiagnosticsForwarder } from './DiagnosticsForwarder';
28
27
  import { useEffect, useRef, useState } from 'react';
29
28
  import { createHandlers } from './createHandlers';
30
29
  import { createProfileStateModifier } from './OnFetchProfileCallback';
30
+ /* @conditional-compile-remove(video-background-effects) */
31
+ import { getBackgroundEffectFromSelectedEffect, getSelectedCameraFromAdapterState } from '../utils';
31
32
  /** Context of call, which is a centralized context for all state updates */
32
33
  class CallContext {
33
34
  constructor(clientState, isTeamsCall, options) {
@@ -409,9 +410,24 @@ export class AzureCommunicationCallAdapter {
409
410
  return __awaiter(this, void 0, void 0, function* () {
410
411
  return yield this.asyncTeeErrorToEventEmitter(() => __awaiter(this, void 0, void 0, function* () {
411
412
  if (!isCameraOn(this.getState())) {
412
- yield this.handlers.onToggleCamera(options);
413
+ // First kick off the effect on the local device before starting the camera in the call.
414
+ // This prevents the effect not being applied for a brief moment when the camera is started.
413
415
  /* @conditional-compile-remove(video-background-effects) */
414
- yield startSelectedVideoEffect(this);
416
+ {
417
+ const selectedEffect = this.getState().selectedVideoBackgroundEffect;
418
+ const selectedCamera = getSelectedCameraFromAdapterState(this.getState());
419
+ if (selectedEffect && selectedCamera) {
420
+ const stream = new SDKLocalVideoStream(selectedCamera);
421
+ const effect = getBackgroundEffectFromSelectedEffect(selectedEffect);
422
+ if (effect) {
423
+ yield stream.feature(Features.VideoEffects).startEffects(effect);
424
+ }
425
+ else {
426
+ yield stream.feature(Features.VideoEffects).stopEffects();
427
+ }
428
+ }
429
+ }
430
+ yield this.handlers.onToggleCamera(options);
415
431
  }
416
432
  }));
417
433
  });