amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video / DefaultVideoTile

DefaultVideoTile

class DefaultVideoTile : VideoTile

Constructors

<init>

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

Properties

state

State of video tile

var state: VideoTileState

videoRenderView

View which will be used to render the Video Frame

var videoRenderView: VideoRenderView?

Functions

bind

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

fun bind(videoRenderView: VideoRenderView?): Unit

onVideoFrameReceived

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

fun onVideoFrameReceived(frame: VideoFrame): Unit

setPauseState

Update the pause state of the tile.

fun setPauseState(pauseState: VideoPauseState): Unit

unbind

Unbinds the videoRenderView from tile.

fun unbind(): Unit