- {/* Camera Switch Button - Left (hidden in important_message mode) */}
+ {/* Mic Toggle and Camera Switch Buttons - Left (hidden in important_message mode) */}
{phoneMode !== "important_message" && (
-
+
+ {/* Mic Toggle Button */}
-
+ {isMicEnabled ? (
+
+ ) : (
+
+ )}
- {showCameraMenu && (
-
- {cameras.length === 0 ? (
-
- No cameras found
-
- ) : (
- cameras.map((device) => (
-
handleSelectCamera(device.deviceId)}
- className="w-full text-left px-4 py-2 text-sm text-white hover:bg-gray-800 transition-colors truncate"
- >
- {device.label ||
- `Camera ${cameras.indexOf(device) + 1}`}
-
- ))
- )}
-
- )}
+ {/* Camera Switch Button */}
+
+
+
+
+ {showCameraMenu && (
+
+ {cameras.length === 0 ? (
+
+ No cameras found
+
+ ) : (
+ cameras.map((device) => (
+
handleSelectCamera(device.deviceId)}
+ className="w-full text-left px-4 py-2 text-sm text-white hover:bg-gray-800 transition-colors truncate"
+ >
+ {device.label ||
+ `Camera ${cameras.indexOf(device) + 1}`}
+
+ ))
+ )}
+
+ )}
+
)}
diff --git a/src/components/playground/Playground.tsx b/src/components/playground/Playground.tsx
index c206666..9299d2e 100644
--- a/src/components/playground/Playground.tsx
+++ b/src/components/playground/Playground.tsx
@@ -873,7 +873,7 @@ export default function Playground({