VideoSinkProvider


@UnstableApi
interface VideoSinkProvider


A provider of VideoSinks.

Summary

Public functions

Unit

Clears the set output surface info.

VideoSink!

Returns a VideoSink to forward video frames for processing.

Unit

Releases the sink provider.

Unit
setOutputSurfaceInfo(outputSurface: Surface!, outputResolution: Size!)

Sets the output surface info.

Public functions

clearOutputSurfaceInfo

fun clearOutputSurfaceInfo(): Unit

Clears the set output surface info.

getSink

fun getSink(): VideoSink!

Returns a VideoSink to forward video frames for processing.

release

fun release(): Unit

Releases the sink provider.

setOutputSurfaceInfo

fun setOutputSurfaceInfo(outputSurface: Surface!, outputResolution: Size!): Unit

Sets the output surface info.