public void setVideoSource(MediaSource source, int videoTrackIndex, int audioTrackIndex) {
        mCurrentState = STATE_IDLE;
        mTargetState = STATE_IDLE;
        mSource = source;
        mVideoTrackIndex = videoTrackIndex;
        mAudioTrackIndex = audioTrackIndex;
        mSeekWhenPrepared = 0;
        mPlaybackSpeedWhenPrepared = 1;
        openVideo();
        requestLayout();
        invalidate();
    }
Sets a media source and track indices. See {@link MediaPlayer#setDataSource(MediaSource, int, int)}
for a detailed explanation of the parameters.

@param source the media source
@param videoTrackIndex a video track index or one of the MediaPlayer#TRACK_INDEX_* constants
@param audioTrackIndex an video audio index or one of the MediaPlayer#TRACK_INDEX_* constants
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/VideoView.java