ContainerConfig

sealed interface ContainerConfig(source)

Describes the container to run and how StreamLink clients authenticate against it.

Implemented by DefaultContainerConfig (builds a Liberator image on the fly) and CustomContainerConfig (wraps a container and configuration you supply).

Inheritors

Properties

Link copied to clipboard
abstract val container: GenericContainer<*>

The container to start; its exposed ports are mapped to random host ports.

Link copied to clipboard
abstract val dataSourcePort: Int

The container port serving the DataSource endpoint.

Link copied to clipboard
abstract val httpPort: Int

The container port serving the Liberator HTTP/RTTP endpoint.

Link copied to clipboard
abstract val keymasterConfiguration: IKeyMasterConfiguration

KeyMaster configuration used to sign the credentials of connecting clients.