AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
com.alivc.live.pusher.AlivcLivePushVideoFrame Class Reference

Video frame data. More...

Public Member Functions

String toString ()
 

Public Attributes

long dataFrameY = 0L
 
long dataFrameU = 0L
 
long dataFrameV = 0L
 
byte[] data
 
AlivcImageFormat format
 
int width = 0
 
int height = 0
 
int strideY = 0
 
int strideU = 0
 
int strideV = 0
 
int rotate = 0
 
long extraData = 0L
 
long textureId = 0L
 
float[] matrix
 
long glContext = 0L
 

Detailed Description

Video frame data.

Author
keria
Date
2024/3/3
Attention
This API is only supported in the interactive mode currently

Definition at line 11 of file AlivcLivePushVideoFrame.java.

Member Function Documentation

◆ toString()

String com.alivc.live.pusher.AlivcLivePushVideoFrame.toString ( )

Definition at line 88 of file AlivcLivePushVideoFrame.java.

Member Data Documentation

◆ data

byte [] com.alivc.live.pusher.AlivcLivePushVideoFrame.data

Raw frame data, possibly compressed video frame data

Definition at line 30 of file AlivcLivePushVideoFrame.java.

◆ dataFrameU

long com.alivc.live.pusher.AlivcLivePushVideoFrame.dataFrameU = 0L

Frame data address for the U component (chrominance) of the YUV frame

Definition at line 20 of file AlivcLivePushVideoFrame.java.

◆ dataFrameV

long com.alivc.live.pusher.AlivcLivePushVideoFrame.dataFrameV = 0L

Frame data address for the V component (chrominance) of the YUV frame

Definition at line 25 of file AlivcLivePushVideoFrame.java.

◆ dataFrameY

long com.alivc.live.pusher.AlivcLivePushVideoFrame.dataFrameY = 0L

Frame data address for the Y component (luminance) of the YUV frame

Definition at line 15 of file AlivcLivePushVideoFrame.java.

◆ extraData

long com.alivc.live.pusher.AlivcLivePushVideoFrame.extraData = 0L

Address for extra data, which can be used to store additional information related to the frame

Definition at line 70 of file AlivcLivePushVideoFrame.java.

◆ format

AlivcImageFormat com.alivc.live.pusher.AlivcLivePushVideoFrame.format

The image format of the frame, such as YUV, RGB, etc.

Definition at line 35 of file AlivcLivePushVideoFrame.java.

◆ glContext

long com.alivc.live.pusher.AlivcLivePushVideoFrame.glContext = 0L

Reference address for the OpenGL context, used for OpenGL rendering

Definition at line 85 of file AlivcLivePushVideoFrame.java.

◆ height

int com.alivc.live.pusher.AlivcLivePushVideoFrame.height = 0

Height of the video frame

Definition at line 45 of file AlivcLivePushVideoFrame.java.

◆ matrix

float [] com.alivc.live.pusher.AlivcLivePushVideoFrame.matrix

Array of transformation matrix, used for image transformation operations such as rotation and scaling

Definition at line 80 of file AlivcLivePushVideoFrame.java.

◆ rotate

int com.alivc.live.pusher.AlivcLivePushVideoFrame.rotate = 0

Rotation angle of the video frame, typically 0, 90, 180, or 270 degrees

Definition at line 65 of file AlivcLivePushVideoFrame.java.

◆ strideU

int com.alivc.live.pusher.AlivcLivePushVideoFrame.strideU = 0

Stride for the U component, which is the byte interval between rows of the U component

Definition at line 55 of file AlivcLivePushVideoFrame.java.

◆ strideV

int com.alivc.live.pusher.AlivcLivePushVideoFrame.strideV = 0

Stride for the V component, which is the byte interval between rows of the V component

Definition at line 60 of file AlivcLivePushVideoFrame.java.

◆ strideY

int com.alivc.live.pusher.AlivcLivePushVideoFrame.strideY = 0

Stride for the Y component, which is the byte interval between rows of the Y component

Definition at line 50 of file AlivcLivePushVideoFrame.java.

◆ textureId

long com.alivc.live.pusher.AlivcLivePushVideoFrame.textureId = 0L

Texture ID, used for referencing a texture in OpenGL rendering

Definition at line 75 of file AlivcLivePushVideoFrame.java.

◆ width

int com.alivc.live.pusher.AlivcLivePushVideoFrame.width = 0

Width of the video frame

Definition at line 40 of file AlivcLivePushVideoFrame.java.