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 VideoFrameReleaseControl

Returns the VideoFrameReleaseControl that will be used for releasing of video frames during rendering.

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.

getVideoFrameReleaseControl

abstract VideoFrameReleaseControl getVideoFrameReleaseControl()

Returns the VideoFrameReleaseControl that will be used for releasing of video frames during rendering.

release

abstract void release()

Releases the sink provider.

setOutputSurfaceInfo

abstract void setOutputSurfaceInfo(Surface outputSurface, Size outputResolution)

Sets the output surface info.