Package tvi.webrtc

Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JniCommon

        public JniCommon()
    • 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)