DefaultMediaManager
Default implementation of BaseMediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
the CoroutineContext on which the media will be managed
Default implementation of BaseMediaManager
Default implementation of BaseMediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
the CoroutineContext on which the media will be managed
the Settings used to configure the Media Manager
Default implementation of BaseMediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
the CoroutineContext on which the media will be managed
Default implementation of BaseMediaManager
Parameters
a MediaSurfaceProvider that will automatically call renderVideoOnSurface for the latest MediaSurface
the CoroutineContext on which the media will be managed
Constructors
Types
Builder for creating a DefaultMediaManager
Builder for creating a DefaultMediaManager
Builder for creating a DefaultMediaManager
Builder for creating a DefaultMediaManager
Settings used for configuring a DefaultMediaManager
Properties
The volume of the audio playback. A value of 0.0
indicates silence; a value of 1.0
(the default) indicates full audio volume for the player instance.
The volume of the audio playback. A value of 0.0
indicates silence; a value of 1.0
(the default) indicates full audio volume for the player instance.
The volume of the audio playback. A value of 0.0
indicates silence; a value of 1.0
(the default) indicates full audio volume for the player instance.
The volume of the audio playback. A value of 0.0
indicates silence; a value of 1.0
(the default) indicates full audio volume for the player instance.
A Flow of all the Event detected by the media manager
A Flow of all the Event detected by the media manager
A Flow of all the Event detected by the media manager
A Flow of all the Event detected by the media manager
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
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
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
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
Attempts to create a PlayableMedia for a given MediaSource
Attempts to create a PlayableMedia for a given MediaSource
Attempts to create a PlayableMedia for a given MediaSource
Initializes to manage for a given PlayableMedia
Initializes to manage for a given PlayableMedia
Initializes to manage for a given PlayableMedia
Initializes to manage for a given PlayableMedia
Renders the video component of any initialized PlayableMedia on a MediaSurface
Renders the video component of any initialized PlayableMedia on a MediaSurface
Renders the video component of any initialized PlayableMedia on a MediaSurface
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.
Resets the media manager to an uninitialized state. After calling this initialize will have to be called again.
Resets the media manager to an uninitialized state. After calling this initialize will have to be called again.
Resets the media manager to an uninitialized state. After calling this initialize will have to be called again.
Seeks to a specified time position. Will suspend until seek has completed
Seeks to a specified time position. Will suspend until seek has completed
Seeks to a specified time position. Will suspend until seek has completed
Updates the currentVolume
Updates the currentVolume
Updates the currentVolume
Updates the currentVolume