com.mediakind.mkplayer.config.media

package com.mediakind.mkplayer.config.media

Classes

Name Description
class MKPSourceOptions: Any

SourceOptions to set as part of SourceItem. Example usage snippet :


this.sourceConfiguration = MKPSourceConfiguration(sourceConfig, analyticsConfig)
val tmpstartOffsetMKTimelineReference: MKTimelineReferencePoint = if(sourceConfig.isLive == true) MKTimelineReferencePoint.END else MKTimelineReferencePoint.START
val sOption = MKPSourceOptions(10.0, tmpstartOffsetMKTimelineReference)
this.sourceConfiguration!!.options = sOption
enum class MKTimelineReferencePoint: Enum<MKTimelineReferencePoint>

Reference points on a timeline to allow definition of relative offsets.