NIMSDK-AOS
9.21.10
首页
相关页面
包
类
文件
文件列表
plugins
avchat
src
com
netease
nimlib
sdk
avchat
model
AVChatVideoFrame.java
浏览该文件的文档.
1
/*
2
* Copyright (c) 2014-2018 NetEase, Inc.
3
* All right reserved.
4
*/
5
6
package
com.netease.nimlib.sdk.avchat.model;
7
8
9
import
com
.
netease
.nrtc.sdk.common.VideoFrame;
10
11
@Deprecated
12
/*推荐用 com.netease.nrtc.sdk.video.VideoFrame 来封装实现*/
13
public
class
AVChatVideoFrame
{
14
15
/**
16
* 视频数据
17
*/
18
public
byte[]
data
;
19
20
/**
21
* 镜像后的视频数据。 输出时无效,仅支持外部对原始视频数据镜像后传入。
22
*/
23
public
byte[]
dataMirror
;
24
25
/**
26
* 是否需要输入双路数据。
27
* 外部数据处理后如果有两路数据需要修改此值。
28
* 如果为 {@code true} 则代表 {@link VideoFrame#dataMirror} 数据有效,SDK内部会根据是否需要使用镜像数据来使用镜像数据。
29
* 如果为 {@code false} 则代表仅 {@link VideoFrame#data} 有效,SDK 内部会忽略 {@link VideoFrame#dataMirror}。
30
*/
31
public
boolean
dualInput
;
32
33
/**
34
* 视频数据宽度
35
*/
36
public
int
width
;
37
38
/**
39
* 视频数据高度
40
*/
41
public
int
height
;
42
43
/**
44
* 视频数据有效长度
45
*/
46
public
int
dataLen
;
47
48
/**
49
* 视频画面旋转角度
50
*/
51
public
int
rotation
;
52
53
/**
54
* 视频数据格式
55
*
56
* @see AVChatImageFormat
57
*/
58
public
int
format
;
59
60
61
}
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.rotation
int rotation
视频画面旋转角度
Definition:
AVChatVideoFrame.java:51
com.netease
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.format
int format
视频数据格式
Definition:
AVChatVideoFrame.java:58
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.width
int width
视频数据宽度
Definition:
AVChatVideoFrame.java:36
com
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.dualInput
boolean dualInput
是否需要输入双路数据。 外部数据处理后如果有两路数据需要修改此值。 如果为
Definition:
AVChatVideoFrame.java:31
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.data
byte[] data
视频数据
Definition:
AVChatVideoFrame.java:18
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.dataLen
int dataLen
视频数据有效长度
Definition:
AVChatVideoFrame.java:46
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame
Definition:
AVChatVideoFrame.java:13
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.height
int height
视频数据高度
Definition:
AVChatVideoFrame.java:41
com.netease.nimlib.sdk.avchat.model.AVChatVideoFrame.dataMirror
byte[] dataMirror
镜像后的视频数据。 输出时无效,仅支持外部对原始视频数据镜像后传入。
Definition:
AVChatVideoFrame.java:23
生成于 2026年 一月 30日 星期五 05:56:07 , 为 NIMSDK-AOS使用
1.8.11