setAudioTracks method

void setAudioTracks(
  1. List<int> value
)

Set active audio tracks. Other tracks will be disabled. The tracks can be from data source from VideoPlayerController constructor, or an external audio data source via setExternalAudio https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setactivetracksmediatype-type-const-stdsetint-tracks

Implementation

void setAudioTracks(List<int> value) {
  _platform.setAudioTracks(textureId, value);
}