MockBaseMediaManager
constructor(surfaceBinder: MediaSurfaceBinder?, volumeController: MockVolumeController = MockVolumeController(), mediaSurfaceController: MockMediaSurfaceController = MockMediaSurfaceController(), coroutineContext: CoroutineContext, setupMocks: Boolean = true)
Parameters
surfaceBinder
a MediaSurfaceBinder whose bound MediaSurface is automatically passed to renderVideoOnSurface
volumeController
a MockVolumeController to act as the VolumeController
mediaSurfaceController
a MockMediaSurfaceController to act as the MediaSurfaceController
coroutineContext
the CoroutineContext on which the media will be managed
setupMocks
If true this will automatically set up some mocking