getMp4MediaSource

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

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

Parameters

onSuccess

The callback that returns the MediaSource