DefaultMediaManager
constructor(surfaceBinder: MediaSurfaceBinder?, coroutineContext: CoroutineContext, context: Context)
Parameters
surfaceBinder
a MediaSurfaceBinder whose bound MediaSurface is automatically passed to renderVideoOnSurface
coroutineContext
the CoroutineContext on which the media will be managed
context
the Context to access local resources
constructor(surfaceBinder: MediaSurfaceBinder?, settings: DefaultMediaManager.Settings, coroutineContext: CoroutineContext)
Parameters
surfaceBinder
a MediaSurfaceBinder whose bound MediaSurface is automatically passed to renderVideoOnSurface
settings
the Settings used to configure the Media Manager
coroutineContext
the CoroutineContext on which the media will be managed
constructor(surfaceBinder: MediaSurfaceBinder?, settings: DefaultMediaManager.Settings, coroutineContext: CoroutineContext)
Parameters
surfaceBinder
a MediaSurfaceBinder whose bound MediaSurface is automatically passed to renderVideoOnSurface
settings
the Settings used to configure the Media Manager
coroutineContext
the CoroutineContext on which the media will be managed