VideoTileController

Functions

Link copied to clipboard
abstract fun addVideoTileObserver(observer: VideoTileObserver)

Subscribe to Video Tile events with an VideoTileObserver.

Link copied to clipboard
abstract fun bindVideoView(videoView: VideoRenderView, tileId: Int)

Binds the video rendering view to Video Tile. The view will start displaying the video frame after the completion of this API.

Link copied to clipboard
abstract fun onReceiveFrame(frame: VideoFrame?, videoId: Int, attendeeId: String?, pauseState: VideoPauseState)

Called whenever there is a new Video frame received for any of the attendee in the meeting

Link copied to clipboard
abstract fun pauseRemoteVideoTile(tileId: Int)

Pauses the specified remote video tile. Ignores the tileId if it belongs to the local video tile.

Link copied to clipboard

Unsubscribes from Video Tile events by removing specified VideoTileObserver.

Link copied to clipboard
abstract fun resumeRemoteVideoTile(tileId: Int)

Resumes the specified remote video tile. Ignores the tileId if it belongs to the local video tile.

Link copied to clipboard
abstract fun unbindVideoView(tileId: Int)

Unbinds the video rendering view from Video Tile. The view will stop displaying the video frame after the completion of this API.