CreateStreamOptions

data class CreateStreamOptions(var videoInputId: String? = null, val constraints: UserAgent.CreateStreamOptions.Constraints = Constraints())

Constructors

Link copied to clipboard
fun CreateStreamOptions(videoInputId: String? = null, constraints: UserAgent.CreateStreamOptions.Constraints = Constraints())

Types

Link copied to clipboard
data class Constraints(var audio: Boolean = true, var video: Boolean = true)

Properties

Link copied to clipboard

audio and video constraints

Link copied to clipboard
var videoInputId: String? = null

video input device id (obtained from UserAgent.fetchUserMediaDevices); set to null if video track is not requested