AudioVideoControllerFacade

AudioVideoControllerFacade manages the signaling and peer connections.

Inheritors

Functions

Link copied to clipboard

Subscribe to audio, video, and connection events with an AudioVideoObserver.

Link copied to clipboard
abstract fun addMetricsObserver(observer: MetricsObserver)

Subscribe to metrics events with an MetricsObserver.

Link copied to clipboard

Remove the promoted attendee from the Primary meeting. This client will stop sharing audio, video, and data messages. This will revert the end-user to precisely the state they were before a call to promoteToPrimaryMeeting

Link copied to clipboard

Allows an attendee in a Replica meeting to immediately transition to a Primary meeting attendee without need for reconnection.

Link copied to clipboard

Unsubscribes from audio, video, and connection events by removing specified AudioVideoObserver.

Link copied to clipboard
abstract fun removeMetricsObserver(observer: MetricsObserver)

Unsubscribes from metrics by removing specified MetricsObserver.

Link copied to clipboard
abstract fun start()

Starts audio and video.

abstract fun start(audioVideoConfiguration: AudioVideoConfiguration)

Starts audio and video with the given configuration.

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 VideoFrame objects to be transmitted to remote clients

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()

Start remote video.

Link copied to clipboard
abstract fun stop()

Stops audio and video. It's important to call this when your meeting connection is no longer needed in order to clean up and explicitly release resources.

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()

Stop remote video.

Link copied to clipboard

Add, update, or remove subscriptions to remote video sources provided via remoteVideoSourcesDidBecomeAvailable.