AndroidMediaDevices
class AndroidMediaDevices(context: Context, eglBase: EglBase = EglBase.create()) : MediaTrackFactory(source)
MediaDevicesFactory based on the org.webrtc, which uses Android Camera2 API
Constructors
Functions
Link copied to clipboard
open suspend fun createAudioTrack(constraints: WebRtcMedia.AudioTrackConstraints.() -> Unit = {}): WebRtcMedia.AudioTrack
open suspend override fun createAudioTrack(constraints: WebRtcMedia.AudioTrackConstraints): WebRtcMedia.AudioTrack
Link copied to clipboard
open suspend fun createVideoTrack(constraints: WebRtcMedia.VideoTrackConstraints.() -> Unit = {}): WebRtcMedia.VideoTrack
open suspend override fun createVideoTrack(constraints: WebRtcMedia.VideoTrackConstraints): WebRtcMedia.VideoTrack