HttpMediaCompositionService

class HttpMediaCompositionService(okHttpClient: OkHttpClient = PillarboxOkHttp()) : MediaCompositionService

A service for fetching a MediaComposition over HTTP.

Parameters

okHttpClient

The OkHttp client instance used for making HTTP requests.

Constructors

Link copied to clipboard
constructor(okHttpClient: OkHttpClient = PillarboxOkHttp())

Functions

Link copied to clipboard
open suspend override fun fetchMediaComposition(uri: Uri): Result<MediaComposition>

Fetches a MediaComposition located at the provided uri.