CustomVideoSourceSurface

A video source for custom tracks, which uses an off-screen, hardware accelerated Surface for sending frames.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Properties

Link copied to clipboard

Returns the Surface associated with this source. Rendering to this Surface will add frames to the video track.

Link copied to clipboard

Returns the Surface associated with this source. Rendering to this Surface will add frames to the video track.

Functions

Link copied to clipboard
fun setSize(width: Int, height: Int)