NIMSDK-AOS  9.19.0
AVChatVideoScalingType.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 import com.netease.nrtc.engine.rawapi.RtcVideoScalingType;
9 
10 /**
11  * 视频画面缩放模式
12  */
13 public interface AVChatVideoScalingType {
14 
15  /**
16  * 自动适应画面比例,屏幕上可能存在黑边
17  */
18  int SCALE_ASPECT_FIT = RtcVideoScalingType.SCALE_ASPECT_FIT;
19 
20 
21  /**
22  * 自动适应屏幕比例, 画面存在被裁剪的可能
23  */
24  int SCALE_ASPECT_FILL = RtcVideoScalingType.SCALE_ASPECT_FILL;
25 
26 
27  /**
28  * {@link AVChatVideoScalingType#SCALE_ASPECT_FILL} 和 {@link AVChatVideoScalingType#SCALE_ASPECT_FIT} 折中方案
29  */
30  int SCALE_ASPECT_BALANCED = RtcVideoScalingType.SCALE_ASPECT_BALANCED;
31 }
int SCALE_ASPECT_FILL
自动适应屏幕比例, 画面存在被裁剪的可能
int SCALE_ASPECT_BALANCED
AVChatVideoScalingType#SCALE_ASPECT_FILL 和 AVChatVideoScalingType#SCALE_ASPECT_FIT 折中方案 ...
int SCALE_ASPECT_FIT
自动适应画面比例,屏幕上可能存在黑边