This version of Unity is unsupported.

VideoPlayer.IsAudioTrackEnabled

Declaration

public bool IsAudioTrackEnabled(ushort trackIndex);

Parameters

trackIndex Index of the audio track being queried.

Returns

bool Returns true if decoding for the specified audio track is enabled.

Description

Whether decoding for the specified audio track is enabled. See VideoPlayer.EnableAudioTrack for distinction with mute.