MockBaseMediaManager
constructor(mediaSurfaceProvider: MediaSurfaceProvider?, volumeController: MockVolumeController = MockVolumeController(), mediaSurfaceController: MockMediaSurfaceController = MockMediaSurfaceController(), coroutineContext: CoroutineContext, setupMocks: Boolean = true)
Parameters
mediaSurfaceProvider
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
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