google / jetpack-camera-app

Apache License 2.0
152 stars 29 forks source link

Video audio test #218

Closed Kimblebee closed 5 months ago

Kimblebee commented 6 months 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