support set render mode to avplayer