VideoTile

interface VideoTile : VideoSink

VideoTile is a tile that binds video render view to display the frame into the view.

Inheritors

Properties

Link copied to clipboard
abstract var state: VideoTileState

State of video tile

Link copied to clipboard

View which will be used to render the Video Frame

Functions

Link copied to clipboard
abstract fun bind(videoRenderView: VideoRenderView?)

Binds the view to the tile. The view needs to be create by the application. Once the binding is done, the view will start displaying the video frame automatically

Link copied to clipboard
abstract fun onVideoFrameReceived(frame: VideoFrame)

Receive a video frame from some upstream source. The VideoSink may render, store, process, and forward the frame, among other applications.

Link copied to clipboard
abstract fun setPauseState(pauseState: VideoPauseState)

Update the pause state of the tile.

Link copied to clipboard
abstract fun unbind()

Unbinds the videoRenderView from tile.