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