Automated testing voice and video calls in the android app

In the app I made, I want to test the voice and video connection of two Android devices. This app is like WhatsApp. And I have no idea how to test if the two devices are connected or not in a call, and also if there is video or audio for both parties. Is such a thing possible at all? Can anyone help me?

I’m doing an automated test with android simulators(genymotion), appium, and python.