MediaConnectionFactory
Main entry point to the MediaConnection API for clients.
Note: use LocalAudioTrackFactory and CameraVideoTrackFactory directly as MediaConnectionFactory won't eventually implement these interfaces.
Functions
Link copied to clipboard
Creates a MediaConnection with the specified config.
Link copied to clipboard
Disposes this MediaConnectionFactory and releases any held resources.
Inherited functions
Link copied to clipboard
Creates a CameraVideoTrack for the best available camera.
abstract fun createCameraVideoTrack(deviceName: String, callback: CameraVideoTrack.Callback): CameraVideoTrack
Creates a CameraVideoTrack for specific deviceName.
Link copied to clipboard
Creates a LocalAudioTrack.
Link copied to clipboard
Returns all available device names.
Link copied to clipboard
Returns a list of supported quality profiles for a specific camera.
Link copied to clipboard
Checks whether the provided device name belongs to a back-facing camera.
Link copied to clipboard
Checks whether the provided device name belongs to a front-facing camera.