VideoSinkProvider


@UnstableApi
public interface VideoSinkProvider


A provider of VideoSinks.

Summary

Public methods

abstract void

Clears the set output surface info.

abstract VideoSink

Returns a VideoSink to forward video frames for processing.

abstract void

Releases the sink provider.

abstract void
setOutputSurfaceInfo(Surface outputSurface, Size outputResolution)

Sets the output surface info.

Public methods

clearOutputSurfaceInfo

abstract void clearOutputSurfaceInfo()

Clears the set output surface info.

getSink

abstract VideoSink getSink()

Returns a VideoSink to forward video frames for processing.

release

abstract void release()

Releases the sink provider.

setOutputSurfaceInfo

abstract void setOutputSurfaceInfo(Surface outputSurface, Size outputResolution)

Sets the output surface info.