addDrmConfig

fun addDrmConfig(uuid: UUID, licenseUrl: String): DrmConfig?

Deprecated

Use `setDrmConfig` with a `DrmConfig` instead.

Replace with

setDrmConfig(drmConfig)

Sets a DrmConfig to this SourceConfig. Returns the DrmConfig that was set on the SourceConfig.


fun addDrmConfig(drmConfig: DrmConfig)

Deprecated

Use `setDrmConfig` instead.

Replace with

apply { [email protected] = drmConfig }

Sets a DrmConfig to this SourceConfig. Returns the DrmConfig that was set on the SourceConfig.