DefaultVideoTile

class DefaultVideoTile(logger: Logger, tileId: Int, attendeeId: String, videoStreamContentWidth: Int, videoStreamContentHeight: Int, isLocalTile: Boolean) : VideoTile

Constructors

Link copied to clipboard
constructor(logger: Logger, tileId: Int, attendeeId: String, videoStreamContentWidth: Int, videoStreamContentHeight: Int, isLocalTile: Boolean)

Properties

Link copied to clipboard
open override var state: VideoTileState

State of video tile

Link copied to clipboard
open override var videoRenderView: VideoRenderView?

View which will be used to render the Video Frame

Functions

Link copied to clipboard
open override 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
open override 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
open override fun setPauseState(pauseState: VideoPauseState)

Update the pause state of the tile.

Link copied to clipboard
open override fun unbind()

Unbinds the videoRenderView from tile.