Package-level declarations
Types
A MediaSurfaceProvider that provides a SurfaceHolder from a given Activity
A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from an AVPlayerLayer
A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from an AVPlayerViewController
An abstract implementation for MediaManager
A MediaSurfaceProvider that grabs a MediaSurface from a given Value
An abstract ColdStateFlowRepo for managing PlaybackState
A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from a MediaSurfaceBinding
Default implementation of BaseMediaManager
Default implementation of BaseMediaManager
Default implementation of BaseMediaManager
Default implementation of BaseMediaManager
Default implementation of BaseMediaManager
A default implementation of MediaPlayer
Default implementation of PlayableMedia
Default implementation of PlayableMedia
Default implementation of PlayableMedia
Default implementation of PlayableMedia
Default implementation of PlayableMedia
Manages media playback
Plays a MediaSource
The source at which PlayableMedia can be found
The source at which PlayableMedia can be found
The source at which PlayableMedia can be found
The source at which PlayableMedia can be found
The source at which PlayableMedia can be found
A surface on which the video component of a PlayableMedia can be rendered. Exposes a SurfaceHolder to bind to
A surface on which the video component of a PlayableMedia can be rendered
A surface on which the video component of a PlayableMedia can be rendered.
A surface on which the video component of a PlayableMedia can be rendered
A surface on which the video component of a PlayableMedia can be rendered
Controller for rendering a PlayableMedia to a MediaSurface
A LifecycleSubscribable that provides a MediaSurface
A media that can be played by a MediaPlayer
An Exception that may occur during playback
A KalugaState of playback
A StateRepo/MutableStateFlow of PlaybackState
A BasePlaybackStateRepo managed using a MediaManager
The screen resolution of a video
Info of the track of a PlayableMedia
A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from a UIView Requires that UIView.layer is an AVPlayerLayer
Controller for adjusting the volume
Properties
A Flow that provides the Duration of the current PlayableMedia of a MediaPlayer. If no PlayableMedia is loaded this will result in Duration.ZERO.
If true
this PlayableMedia has a video component
Functions
Creates an ActivityMediaSurfaceProvider
Attempts to create a MediaSource from a url string
Attempts to create a MediaSource from a url string
Attempts to create a MediaSource from a url string
Attempts to create a MediaSource from a url string
Attempts to create a MediaSource from a url string
Forces the MediaPlayer to start playback and suspends until playback has completed
A Flow that polls the playtime of the current PlayableMedia of a MediaPlayer as a Duration. If no PlayableMedia is loaded this will result in Duration.ZERO.