MediaConstraints

data class MediaConstraints(val isVideoRequested: Boolean)

MediaConstraints object holds media parameters used to initiate a call.

Constructors

Link copied to clipboard
constructor(isVideoRequested: Boolean)

Creates MediaConstraints specifying if video stream should be present.

Properties

Link copied to clipboard

true if call should contain both video and audio streams, false if only video is requested.