public void setAudioSessionId(int sessionId) {
        if(isInitialized()) {
            throw new IllegalStateException("cannot set session id on an initialized audio track");
        }
        mAudioSessionId = sessionId;
    }
Can be used to set an audio session ID before calling {@link #init(android.media.MediaFormat)}.
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/AudioPlayback.java