agent-native icon indicating copy to clipboard operation
agent-native copied to clipboard

Add wave for the recording mic + unify web cameras

Open shomix opened this issue 5 months ago • 17 comments

1. Removed the "local camera" path in the bubble

The camera bubble previously had two ways to show your face: the normal WebRTC relay from the popover, and a special "local camera" mode that kicked in during native full-screen recording. In local mode, the bubble owned the camera directly and had to relay device lists back to the popover, because WebKit blocks a second page from accessing the camera without muting the first one.

That entire local camera path is gone. The bubble now always receives video through WebRTC or the canvas relay, regardless of recording mode. This removes a large amount of coordination code — no more device list relay events, no more fallback camera/mic state in the popover, no more separate startup and teardown flow for the full-screen case. The recorder also no longer needs to choose between two different "hide chrome" commands based on who owns the camera.

2. Mic wave is now driven by real audio

The mic wave indicator was previously a CSS animation — four bars that pulsed on a loop with no connection to what the microphone was actually picking up.

It has been replaced with a real-time SVG wave line. A new useMicMeter hook opens an audio analyser on the selected mic, samples it 20 times per second, and draws an oscillating wave that reacts to actual sound — it moves when you speak and flattens when silent. The meter only runs while the popover is open and you are not recording.

The visual design also changed: from bars positioned at the bottom of the row to an inline wave line between the device name and the dropdown arrow, with a soft fade at both ends. image

shomix avatar Jun 19 '26 17:06 shomix

Deploy Preview for agent-native-scheduling ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-scheduling/deploys/6a36a633797b8d0008a969fa
Deploy Preview https://deploy-preview-1329--agent-native-scheduling.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-meeting-notes ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-meeting-notes/deploys/6a36a633ab25aa00087b6933
Deploy Preview https://deploy-preview-1329--agent-native-meeting-notes.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for nutritrack-daily-calories canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/nutritrack-daily-calories/deploys/6a357779cce95700089825ca

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-voice ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-voice/deploys/6a36a633c267340008ce5106
Deploy Preview https://deploy-preview-1329--agent-native-voice.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-calendar canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-calendar/deploys/6a35777949c18a0008c3b178

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-design ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-design/deploys/6a36a6331dd2a900091738be
Deploy Preview https://deploy-preview-1329--agent-native-design.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-images ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-images/deploys/6a36a633cc21490008dcc1c7
Deploy Preview https://deploy-preview-1329--agent-native-images.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-brain ready!

Name Link
Latest commit fcc2e41105bac660fa0d7fff6990fffa05b97ff3
Latest deploy log https://app.netlify.com/projects/agent-native-brain/deploys/6a36a633da32d60008188bba
Deploy Preview https://deploy-preview-1329--agent-native-brain.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-content canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-content/deploys/6a3577798066ca0008366482

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-macros canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-macros/deploys/6a3577792ebfd700083150c5

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-videos canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-videos/deploys/6a35777906bc240008650d12

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-slides canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-slides/deploys/6a35777984e43f00084188b2

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-starter canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-starter/deploys/6a357779f319940008c7ea6a

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-forms canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-forms/deploys/6a357779c2673400084c84f3

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-dispatch canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-dispatch/deploys/6a357779ec39ac0008ce4243

netlify avatar Jun 19 '26 17:06 netlify

Deploy Preview for agent-native-mail canceled.

Name Link
Latest commit 58c94439a8f2928bb710539582f0c27889e64efd
Latest deploy log https://app.netlify.com/projects/agent-native-mail/deploys/6a357779ec39ac0008ce4249

netlify avatar Jun 19 '26 17:06 netlify

Visual recap — generation failed

The visual recap could not be generated for this pull request. This is informational only and does not block the PR.

Diagnostic:

No plan URL: recap-url.txt was not created.

github-actions[bot] avatar Jun 19 '26 17:06 github-actions[bot]