DefaultVideoTileController

class DefaultVideoTileController(logger: Logger, videoClientController: VideoClientController, videoTileFactory: VideoTileFactory, eglCoreFactory: EglCoreFactory, meetingStatsCollector: MeetingStatsCollector) : VideoTileController

Constructors

Link copied to clipboard
constructor(logger: Logger, videoClientController: VideoClientController, videoTileFactory: VideoTileFactory, eglCoreFactory: EglCoreFactory, meetingStatsCollector: MeetingStatsCollector)

Functions

Link copied to clipboard
open override fun addVideoTileObserver(observer: VideoTileObserver)

Subscribe to Video Tile events with an VideoTileObserver.

Link copied to clipboard
open override 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
open override 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
open override 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
open override fun removeVideoTileObserver(observer: VideoTileObserver)

Unsubscribes from Video Tile events by removing specified VideoTileObserver.

Link copied to clipboard
open override 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
open override 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.