Help with Audio Ducking

Helping Leap to run in Audio apps
Ignore this if you have already handled audio focus in Exoplayer
Leap supports audio ducking but if you have ExoPlayer, and you expect Leap to duck audio on that window then refer to the following snippet. (Ignore this if you have already handled audio focus)
Create an instance of that matches your use case. You need to pass handleAudioFocus as true while setting the audioAttributes. Refer to this link or to the example below:
AudioAttributes audioAttributes = new AudioAttributes.Builder()
/* handleAudioFocus= */ true);