Package tvi.webrtc
Class JniCommon
- java.lang.Object
-
- tvi.webrtc.JniCommon
-
public class JniCommon extends java.lang.Object
Class with static JNI helper functions that are used in many places.
-
-
Constructor Summary
Constructors Constructor Description JniCommon()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
nativeAddRef(long refCountedPointer)
Functions to increment/decrement an rtc::RefCountInterface pointer.static java.nio.ByteBuffer
nativeAllocateByteBuffer(int size)
static void
nativeFreeByteBuffer(java.nio.ByteBuffer buffer)
static void
nativeReleaseRef(long refCountedPointer)
-
-
-
Method Detail
-
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 java.nio.ByteBuffer nativeAllocateByteBuffer(int size)
-
nativeFreeByteBuffer
public static void nativeFreeByteBuffer(java.nio.ByteBuffer buffer)
-
-