NIMSDK-AOS  10.9.90
AVChatVideoCaptureOrientation.java
浏览该文件的文档.
1 /*
2  * Copyright (c) 2014-2018 NetEase, Inc.
3  * All right reserved.
4  */
5 
6 package com.netease.nimlib.sdk.avchat.constant;
7 
8 
9 import com.netease.nrtc.engine.rawapi.RtcCaptureVideoOrientation;
10 
11 /**
12  * 视频画面采集方向
13  */
15 
16  /**
17  * Indicates that video should be oriented vertically, home button on the bottom.
18  */
19  int ORIENTATION_PORTRAIT = RtcCaptureVideoOrientation.ORIENTATION_PORTRAIT;
20 
21  /**
22  * Indicates that video should be oriented vertically, home button on the top.
23  */
24  int ORIENTATION_PORTRAIT_UPSIDEDOWN = RtcCaptureVideoOrientation.ORIENTATION_PORTRAIT_UPSIDEDOWN;
25 
26  /**
27  * Indicates that video should be oriented horizontally, home button on the right.
28  */
29  int ORIENTATION_LANDSCAPE_RIGHT = RtcCaptureVideoOrientation.ORIENTATION_LANDSCAPE_RIGHT;
30 
31  /**
32  * Indicates that video should be oriented horizontally, home button on the left.
33  */
34  int ORIENTATION_LANDSCAPE_LEFT = RtcCaptureVideoOrientation.ORIENTATION_LANDSCAPE_LEFT;
35 
36 }
int ORIENTATION_LANDSCAPE_LEFT
Indicates that video should be oriented horizontally, home button on the left.
int ORIENTATION_PORTRAIT_UPSIDEDOWN
Indicates that video should be oriented vertically, home button on the top.
int ORIENTATION_PORTRAIT
Indicates that video should be oriented vertically, home button on the bottom.
int ORIENTATION_LANDSCAPE_RIGHT
Indicates that video should be oriented horizontally, home button on the right.