NIMSDK-AOS  9.15.0
Public 属性 | 所有成员列表
com.netease.nimlib.sdk.avchat.constant.AVChatVideoScalingType接口 参考

视频画面缩放模式 更多...

Public 属性

int SCALE_ASPECT_FIT = RtcVideoScalingType.SCALE_ASPECT_FIT
 自动适应画面比例,屏幕上可能存在黑边 更多...
 
int SCALE_ASPECT_FILL = RtcVideoScalingType.SCALE_ASPECT_FILL
 自动适应屏幕比例, 画面存在被裁剪的可能 更多...
 
int SCALE_ASPECT_BALANCED = RtcVideoScalingType.SCALE_ASPECT_BALANCED
 AVChatVideoScalingType#SCALE_ASPECT_FILLAVChatVideoScalingType#SCALE_ASPECT_FIT 折中方案 更多...
 

详细描述

视频画面缩放模式

在文件 AVChatVideoScalingType.java13 行定义.

类成员变量说明

◆ SCALE_ASPECT_BALANCED

int com.netease.nimlib.sdk.avchat.constant.AVChatVideoScalingType.SCALE_ASPECT_BALANCED = RtcVideoScalingType.SCALE_ASPECT_BALANCED

◆ SCALE_ASPECT_FILL

int com.netease.nimlib.sdk.avchat.constant.AVChatVideoScalingType.SCALE_ASPECT_FILL = RtcVideoScalingType.SCALE_ASPECT_FILL

自动适应屏幕比例, 画面存在被裁剪的可能

在文件 AVChatVideoScalingType.java24 行定义.

◆ SCALE_ASPECT_FIT

int com.netease.nimlib.sdk.avchat.constant.AVChatVideoScalingType.SCALE_ASPECT_FIT = RtcVideoScalingType.SCALE_ASPECT_FIT

自动适应画面比例,屏幕上可能存在黑边

在文件 AVChatVideoScalingType.java18 行定义.


该接口的文档由以下文件生成: