ComposeMediaSurfaceProvider

A MediaSurfaceProvider whose surface is populated by a MediaSurfaceContainer composable — the inverse of the platform "walk the view tree to find a SurfaceView" providers. Construct one, hand it to a MediaManager, and render it inside Compose via MediaSurfaceContainer; the container creates the platform surface and pushes it into surface.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val surface: Flow<MediaSurface?>