Package tvi.webrtc

Class JniCommon

java.lang.Object
tvi.webrtc.JniCommon

public class JniCommon extends Object
Class with static JNI helper functions that are used in many places.
  • Constructor Details

    • JniCommon

      public JniCommon()
  • Method Details

    • nativeAddRef

      public static void nativeAddRef(long refCountedPointer)
      Functions to increment/decrement an rtc::RefCountInterface pointer.
    • nativeReleaseRef

      public static void nativeReleaseRef(long refCountedPointer)
    • nativeAllocateByteBuffer

      public static ByteBuffer nativeAllocateByteBuffer(int size)
    • nativeFreeByteBuffer

      public static void nativeFreeByteBuffer(ByteBuffer buffer)