AVPlayerLayerMediaSurfaceProvider

class AVPlayerLayerMediaSurfaceProvider(initialLayer: <Error class: unknown class>?) : BaseMediaSurfaceProvider<<Error class: unknown class>>

A BaseMediaSurfaceProvider that attempts to grab the MediaSurface from an AVPlayerLayer

Parameters

initialLayer

the initial AVPlayerLayer or 'null' to provide a MediaSurface for

Constructors

Link copied to clipboard
constructor(initialLayer: <Error class: unknown class>?)

Properties

Link copied to clipboard
open val surface: <Error class: unknown class><MediaSurface?>

Functions

Link copied to clipboard
fun update(value: <Error class: unknown class>?)

Updates the Value so that a new MediaSurface will be provided