Version: 2018.4

VideoPlayer.GetAudioChannelCount

Switch to Manual
public ushort GetAudioChannelCount (ushort trackIndex);

Parameters

trackIndexIndex for the audio track being queried.

Returns

ushort Number of audio channels.

Description

The number of audio channels in the specified audio track.

For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.