[MediaPlayer] Add API for setting audio codec type (#1043)