Version: 2022.3

VideoPlayer.audioOutputMode

切换到手册
public Video.VideoAudioOutputMode audioOutputMode ;

描述

嵌入在视频中的音频的目标。

Note: WebGL only fully supports VideoAudioOutputMode.None and VideoAudioOutputMode.Direct. If you set the output mode to VideoAudioOutputMode.AudioSource, Unity ignores all AudioSource fields except mute. This is because 3D spatialization of video playback is not available on the web.