VideoPlayer.GetAudioChannelCount

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.