VideoClientController

VideoClientController uses the Video Client for video related functionality such as starting local or remote video, switching camera, or pausing a remote video.

Inheritors

Functions

Link copied to clipboard

See AudioVideoFacade.demoteFromPrimaryMeeting

Link copied to clipboard
abstract fun getActiveCamera(): MediaDevice?

Get the currently active camera, if any. This will return null if using a custom source, e.g. one passed in via startLocalVideo

Link copied to clipboard

Get the meeting session configuration

Link copied to clipboard

See AudioVideoFacade.promoteToPrimaryMeeting

Link copied to clipboard
abstract fun sendDataMessage(topic: String, data: Any, lifetimeMs: Int)

Send message via data channel

Link copied to clipboard
abstract fun setMaxBitRateKbps(maxBitRate: Int)

Set max bitrate in kbps for mobile video client

Link copied to clipboard
abstract fun setRemotePaused(isPaused: Boolean, videoId: Int)

Pause or resume a remote video tile.

Link copied to clipboard
abstract fun start()

Start the video client.

Link copied to clipboard
abstract fun startLocalVideo()

Start local video and begin transmitting frames from an internally held DefaultCameraCaptureSource. stopLocalVideo will stop the internal capture source if being used.

Start local video with configuration and begin transmitting frames from an internally held DefaultCameraCaptureSource. stopLocalVideo will stop the internal capture source if being used.

abstract fun startLocalVideo(source: VideoSource)

Start local video with a provided custom VideoSource which can be used to provide custom VideoFrames to be transmitted to remote clients. This will call VideoSource.addVideoSink on the provided source.

abstract fun startLocalVideo(source: VideoSource, config: LocalVideoConfiguration)

Start local video with with configuration and a provided custom VideoSource which can be used to provide custom VideoFrame objects to be transmitted to remote clients

Link copied to clipboard
abstract fun startRemoteVideo()

Starts receiving video from remote attendee(s).

Link copied to clipboard
abstract fun stopAndDestroy()

Stop and destroy the video client.

Link copied to clipboard
abstract fun stopLocalVideo()

Stops sending video for local attendee. This will additionally stop the internal capture source if being used. If using a custom video source, this will call VideoSource.removeVideoSink on the previously provided source.

Link copied to clipboard
abstract fun stopRemoteVideo()

Stops receiving video from remote attendee(s).

Link copied to clipboard
abstract fun switchCamera()

Switches the currently active camera. This will no-op if using a custom source, e.g. one passed in via startLocalVideo

Link copied to clipboard

Update remote video source subscription configurations, perform internal conversions.