google / jetpack-camera-app

Apache License 2.0
116 stars 25 forks source link

Video audio test #218

Closed Kimblebee closed 1 month ago

Kimblebee commented 1 month ago

first test for video audio based on main branch.

The test just looks for the presence of the audio visualizer's open-mic icon (tagged as AMPLITUDE_HOT_TAG) while recording.

This test must run on a physical device. The emulators don't currently mock audio input. 🎙️

The open-mic icon's presence is determined by the incoming audio amplitude. So as long as long as the device isn't in some kind of sensory deprivation chamber or the dead of space ~ it should pass. 👍🏾

Also moved Utils files into its own subfolder, so test classes depending on it have updated imports