getMediaItem

fun getMediaItem(onSuccess: (MediaItem) -> Unit)

Gets a MediaItem for a Player instance to read from api.video HLS.

Parameters

onSuccess

The callback that returns the MediaItem