Home > hls.js > AudioTrackController > setAudioOption

AudioTrackController.setAudioOption() method

Signature:

setAudioOption(audioOption: MediaPlaylist | AudioSelectionOption | undefined): MediaPlaylist | null;

Parameters

Parameter

Type

Description

audioOption

MediaPlaylist | AudioSelectionOption | undefined

**Returns:**

MediaPlaylist | null