EXOPLayer e Mic do Whatsapp

Using ExoPlayer how to pause when triggering the microphone on whatsapp or other sounds?