Skip to content

Commit b84416b

Browse files
authored
chore(pronto): use preview visualType for device selection in active call (#2197)
### 💡 Overview This PR updated the visualType to `preview` for device selection in active call. ### 📝 Implementation notes 🎫 Ticket: https://linear.app/stream/issue/XYZ-123 📑 Docs: https://github.com/GetStream/docs-content/pull/<id> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated camera and microphone device selector interface displays for improved presentation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent b4ed7c2 commit b84416b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

sample-apps/react/react-dogfood/components/ToggleDualCameraButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const ToggleDualCameraButton = () => {
1212
<div className="rd__dual-toggle">
1313
<DegradedPerformanceNotification className="rd__call-controls__notification" />
1414
<ToggleVideoPublishingButton
15-
Menu={<DeviceSelectorVideo visualType="list" />}
15+
Menu={<DeviceSelectorVideo visualType="preview" />}
1616
menuPlacement="top"
1717
/>
1818
</div>

sample-apps/react/react-dogfood/components/ToggleDualMicButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ export const ToggleDualMicButton = () => {
1313
<ToggleAudioPublishingButton
1414
Menu={
1515
<>
16-
<DeviceSelectorAudioInput visualType="list" title="Microphone" />
16+
<DeviceSelectorAudioInput
17+
visualType="preview"
18+
title="Microphone"
19+
/>
1720
<DeviceSelectorAudioOutput visualType="list" title="Speaker" />
1821
</>
1922
}

0 commit comments

Comments
 (0)