BaseMediaManager

constructor(mediaSurfaceProvider: MediaSurfaceProvider?, coroutineContext: CoroutineContext)

Parameters

mediaSurfaceProvider

a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface

coroutineContext

the CoroutineContext on which the media will be managed