Version: 2018.4

VideoPlayer.IsAudioTrackEnabled

Switch to Manual
public bool IsAudioTrackEnabled (ushort trackIndex);

Parameters

trackIndexIndex 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.