Server

data class Server(val sources: List<Streamable.Source>, val merged: Boolean) : Streamable.Media

A data class representing a loaded server media for a Track.

The sources will all load at the same time if merged is true and combined into a single media source like a M3U8 with multiple qualities.

If merged is false, the sources will be loaded separately and the user can switch between them.

See also

Constructors

Link copied to clipboard
constructor(sources: List<Streamable.Source>, merged: Boolean)

Properties

Link copied to clipboard

Whether the server media is merged or not

Link copied to clipboard

The list of sources for the server media