Package tvi.webrtc
Class JniCommon
- java.lang.Object
-
- tvi.webrtc.JniCommon
-
public class JniCommon extends java.lang.ObjectClass 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 voidnativeAddRef(long refCountedPointer)Functions to increment/decrement an rtc::RefCountInterface pointer.static java.nio.ByteBuffernativeAllocateByteBuffer(int size)static voidnativeFreeByteBuffer(java.nio.ByteBuffer buffer)static voidnativeReleaseRef(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)
-
-