AkamaiTokenDataSource

Akamai data source that inject Akamai Token when player is opening an Url

Create it with AkamaiTokenDataSource.Factory

Parameters

tokenProvider
dataSource

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Factory(tokenProvider: AkamaiTokenProvider = AkamaiTokenProvider(), defaultDataSourceFactory: DataSource.Factory = DefaultHttpDataSource.Factory()) : DataSource.Factory

Factory that crate a AkamaiTokenDataSource

Functions

Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun getUri(): Uri?
Link copied to clipboard
open override fun open(dataSpec: DataSpec): Long
Link copied to clipboard
open override fun read(p0: ByteArray, p1: Int, p2: Int): Int