Package com.sinch.android.rtc.calling
Class MediaConstraints
-
- All Implemented Interfaces:
public final class MediaConstraintsMediaConstraints object holds media parameters used to initiate a call.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisVideoRequested
-
Constructor Summary
Constructors Constructor Description MediaConstraints(Boolean isVideoRequested)Creates MediaConstraints specifying if video stream should be present.
-
Method Summary
Modifier and Type Method Description final BooleanisVideoRequested()true if call should contain both video and audio streams, false if only video is requested. -
-
Constructor Detail
-
MediaConstraints
MediaConstraints(Boolean isVideoRequested)
Creates MediaConstraints specifying if video stream should be present.
-
-
Method Detail
-
isVideoRequested
final Boolean isVideoRequested()
true if call should contain both video and audio streams, false if only video is requested.
-
-
-
-