BaseMediaManager
An abstract implementation for MediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
the CoroutineContext on which the media will be managed
Inheritors
Types
Builder for creating a BaseMediaManager
Properties
Functions
Releases all resources associated with the media manager. This method should be called when done with the media manager. After calling this playback is disabled. Any subsequent calls will result in a PlaybackError.PlaybackHasEnded
Attempts to create a PlayableMedia for a given MediaSource
Initializes to manage for a given PlayableMedia
Renders the video component of any initialized PlayableMedia on a MediaSurface
Resets the media manager to an uninitialized state. After calling this initialize will have to be called again.
Updates the currentVolume