Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VideoPlayer.GetAudioLanguageCode

public string GetAudioLanguageCode(ushort trackIndex);

Parameters

trackIndex Index of the audio track to query.

Returns

string Language code.

Description

Returns the language code, if any, for the specified track.