[MediaPlayer] Add new API to set video codec type (#5359)