Module webrtc.java

Class VideoFrame

  • All Implemented Interfaces:
    dev.onvoid.webrtc.internal.RefCounted

    public class VideoFrame
    extends Object
    implements dev.onvoid.webrtc.internal.RefCounted
    • Field Detail

      • 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.RefCounted
        Increases ref count by one.
        Specified by:
        retain in interface dev.onvoid.webrtc.internal.RefCounted
      • release

        public void release()
        Description copied from interface: dev.onvoid.webrtc.internal.RefCounted
        Decreases ref count by one. When the ref count reaches zero, resources related to the object will be freed.
        Specified by:
        release in interface dev.onvoid.webrtc.internal.RefCounted