DefaultMediaManager

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

constructor(mediaSurfaceProvider: <Error class: unknown class>?, settings: DefaultMediaManager.Settings, coroutineContext: <Error class: unknown class>)

Parameters

mediaSurfaceProvider

a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface

settings

the Settings used to configure the Media Manager

coroutineContext

the CoroutineContext on which the media will be managed

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

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