public class VideoFrame extends Object
CameraCapturer
.Modifier and Type | Class and Description |
---|---|
static class |
VideoFrame.RotationAngle |
Modifier and Type | Field and Description |
---|---|
VideoDimensions |
dimensions
The size of a frame.
|
byte[] |
imageBuffer
The bytes of a frame.
|
VideoFrame.RotationAngle |
orientation
The orientation of a frame in degrees (must be multiple of 90).
|
long |
timestamp
The time in nanoseconds at which this frame was captured.
|
Constructor and Description |
---|
VideoFrame(byte[] imageBuffer,
VideoDimensions dimensions,
VideoFrame.RotationAngle orientation,
long timestamp) |
public final byte[] imageBuffer
public final VideoDimensions dimensions
public final VideoFrame.RotationAngle orientation
public final long timestamp
public VideoFrame(byte[] imageBuffer, VideoDimensions dimensions, VideoFrame.RotationAngle orientation, long timestamp)