IosMediaDevices

class IosMediaDevices(videoCapturerFactory: VideoCapturerFactory = defaultVideoCapturerFactory()) : MediaTrackFactory(source)

iOS-specific implementation of MediaTrackFactory for WebRTC media operations.

This class provides iOS-native WebRTC media track creation capabilities using the WebRTC framework. It manages peer connection factory initialization, SSL setup, and platform-specific media track creation.

Lifecycle

  • SSL initialization happens lazily when the first peer connection factory is accessed

  • Video capturers are automatically started when video tracks are created

Report a problem

Parameters

videoCapturerFactory

Factory for creating video capturer instances. Defaults to platform-specific implementation

Constructors

Link copied to clipboard
constructor(videoCapturerFactory: VideoCapturerFactory = defaultVideoCapturerFactory())

Properties

Link copied to clipboard
val peerConnectionFactory: RTCPeerConnectionFactory

Functions

Link copied to clipboard
Link copied to clipboard