load

abstract fun load(source: Source)

Loads a new Source into the player.

abstract fun load(sourceConfig: SourceConfig)

Loads a new Source based on the provided SourceConfig into the player.

abstract fun load(playlistConfig: PlaylistConfig)

Loads a playlist containing multiple Sources into the player. The first source in the PlaylistConfig becomes active immediately.