void abandonFocus() {

        if (mAudioManager == null) {
            return;
        }

        mStartRequested = false;
        mAudioManager.abandonAudioFocus(this);
    }
Requests the system to drop the audio focus
dkplayer-java/src/main/java/xyz/doikki/videoplayer/player/AudioFocusHelper.java