- java.lang.Object
-
- dev.onvoid.webrtc.media.video.VideoFrame
-
- All Implemented Interfaces:
dev.onvoid.webrtc.internal.RefCounted
public class VideoFrame extends Object implements dev.onvoid.webrtc.internal.RefCounted
-
-
Field Summary
Fields Modifier and Type Field Description VideoFrameBufferbufferThe underlying frame buffer.introtationRotation of the frame in degrees.longtimestampNsTimestamp of the frame in nano seconds.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrelease()Decreases ref count by one.voidretain()Increases ref count by one.StringtoString()
-
-
-
Field Detail
-
buffer
public final VideoFrameBuffer buffer
The underlying frame buffer.
-
rotation
public final int rotation
Rotation of the frame in degrees.
-
timestampNs
public final long timestampNs
Timestamp of the frame in nano seconds.
-
-
Method Detail
-
retain
public void retain()
Description copied from interface:dev.onvoid.webrtc.internal.RefCountedIncreases ref count by one.- Specified by:
retainin interfacedev.onvoid.webrtc.internal.RefCounted
-
release
public void release()
Description copied from interface:dev.onvoid.webrtc.internal.RefCountedDecreases ref count by one. When the ref count reaches zero, resources related to the object will be freed.- Specified by:
releasein interfacedev.onvoid.webrtc.internal.RefCounted
-
-