Recording internal audio and device screen while executing Appium Test on Android

Hello, everyone, please can someone help me about HOW TO AUTOMATE RECORDING INTERNAL AUDIO AND DEVICE SCREEN WHILE EXECUTING APPIUM TEST ON ANDROID ?

You could probably try https://github.com/appium/appium-uiautomator2-driver#mobile-startmediaprojectionrecording and https://github.com/appium/appium-uiautomator2-driver#mobile-stopmediaprojectionrecording

Also, note that MediaProjection framework only allows to record audio from apps that allow it in their manifests

1 Like