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

DefaultVideoTileController

class DefaultVideoTileController : VideoTileController

Constructors

<init>

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

Functions

addVideoTileObserver

Subscribe to Video Tile events with an VideoTileObserver.

fun addVideoTileObserver(observer: VideoTileObserver): Unit

bindVideoView

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

fun bindVideoView(videoView: VideoRenderView, tileId: Int): Unit

onReceiveFrame

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

fun onReceiveFrame(frame: VideoFrame?, videoId: Int, attendeeId: String?, pauseState: VideoPauseState): Unit

pauseRemoteVideoTile

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

fun pauseRemoteVideoTile(tileId: Int): Unit

removeVideoTileObserver

Unsubscribes from Video Tile events by removing specified VideoTileObserver.

fun removeVideoTileObserver(observer: VideoTileObserver): Unit

resumeRemoteVideoTile

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

fun resumeRemoteVideoTile(tileId: Int): Unit

unbindVideoView

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

fun unbindVideoView(tileId: Int): Unit