Class MediaConstraints


  • public class MediaConstraints
    extends java.lang.Object
    MediaConstraints object holds media parameters used to initiate a call.
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaConstraints​(boolean requestVideo)
      Creates MediaConstraints specifying if video stream should be present.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isVideoRequested()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaConstraints

        public MediaConstraints​(boolean requestVideo)
        Creates MediaConstraints specifying if video stream should be present.
        Parameters:
        requestVideo - true if call should contain both video and audio streams, false if only audio stream should be initialized
    • Method Detail

      • isVideoRequested

        public boolean isVideoRequested()