Package

## Class MediaConstraints

- All Implemented Interfaces:

      public final class MediaConstraints

  MediaConstraints object holds media parameters used to initiate a call.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `private final Boolean` | `isVideoRequested` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MediaConstraints(Boolean isVideoRequested)` | Creates MediaConstraints specifying if video stream should be present.

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final Boolean` | `isVideoRequested()` | true if call should contain both video and audio streams, false if only video is requested.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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.