title: pjsua2 sample(for android) video call rotate -90 degree and throws exception when call setCaptureOrient
body: <p>I'm using pjsua2 sample project to make a video call,every thing is well, both the android app client can see and hear each other,but the video is rotate -90 degree.
  And in the <code>CallActivity.java</code>, it's throws an exception when call <code>setCaptureOrient(cap_dev, orient, true)</code>.</p>
  
  <pre><code>@Override
      public void onConfigurationChanged(Configuration newConfig) {
      super.onConfigurationChanged(newConfig);
  
      WindowManager wm;
      Display display;
      int rotation;
      pjmedia_orient orient;
  
      wm = (WindowManager)this.getSystemService(Context.WINDOW_SERVICE);
      display = wm.getDefaultDisplay();
      rotation = display.getRotation();
      System.out.println("Device orientation changed: " + rotation);
  
      switch (rotation) {
      case Surface.ROTATION_0:   // Portrait
          orient = pjmedia_orient.PJMEDIA_ORIENT_ROTATE_270DEG;
          break;
      case Surface.ROTATION_90:  // Landscape, home button on the right
          orient = pjmedia_orient.PJMEDIA_ORIENT_NATURAL;
          break;
      case Surface.ROTATION_180:
          orient = pjmedia_orient.PJMEDIA_ORIENT_ROTATE_90DEG;
          break;
      case Surface.ROTATION_270: // Landscape, home button on the left
          orient = pjmedia_orient.PJMEDIA_ORIENT_ROTATE_180DEG;
          break;
      default:
          orient = pjmedia_orient.PJMEDIA_ORIENT_UNKNOWN;
      }
  
      if (MyApp.ep != null &amp;&amp; MainActivity.account != null) {
          try {
          AccountConfig cfg = MainActivity.account.cfg;
          int cap_dev = cfg.getVideoConfig().getDefaultCaptureDevice();
  
  
  
  
          //----------here throws an exception:option/operation is not support. ------------
  
          MyApp.ep.vidDevManager().setCaptureOrient(cap_dev, orient,true);
  
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  }    
  </code></pre>
  
  <p>Exception info:</p>
  
  <blockquote>
    <p>media.cpp!pjsua_vid_dev_set_setting(dev_id,PJMEDIA_VID_DEV_CAP_ORIENTATION, &amp;orient, keep) error: Option/operation is not supported (PJ_ENOTSUP) (status=70012) [../src/pjsua2/media.cpp:1483]
        Description: Option/operation is not supported (PJ_ENOTSUP)</p>
  </blockquote>
  
  <p>I don't have changed anything,but it just not work,so why ?</p>