getMediaSource

fun getMediaSource(onSuccess: (MediaSource) -> Unit)

Gets a MediaSource for an ExoPlayer instance to read from api.video HLS.

Parameters

onSuccess

The callback that returns the MediaSource