Documentation

Unity Engine

Unity Engine

audioOutputMode

Destination for the audio embedded in the video.
Read time 1 minuteLast updated a month ago

Definition

public VideoAudioOutputMode audioOutputMode { get; set; }

Remarks

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.