Components

1. Reliant SDK:

Including common data type definition and transmission method definition, the definition here will be used by Streaming SDK and Control SDK. That is, Streaming SDK and Control SDK could not compile, link, and run without the basic support provided by this Reliant SDK.

2. Camera SDK:

Mainly used to communicate with the camera by command

  • Get and set camera properties
  • Get camera file list
  • Get thumbnail, large image, original image, download image, video.
  • Partial ftp operation (such as upload and download files).

    3. Streaming SDK:

    Mainly used to perform operations related to streams (including rendering video frames, playing audio content, etc.)

  • Get the video stream from the camera. The video stream may be a live preview stream or a playback stream of a video file from the camera.

  • Support for rendering video frames, playing audio, audio and video synchronization.

Andriod SDK

1. SDK directory structure:
  • root/jar/libs/*.jar Interfaces, classes that the App will use. Please place them in the appropriate place of the App and import the corresponding classes to your source file.
  • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/*.so Related native library file paths.

2. Interface file introduction, library introduction
  • ReliantSDK:
    • root/jar/libs/ICatchtekReliant.jar
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libreliant.so

      libreliant.soDepends on the same path’s libusb_transport.so, libdepth_net_transport.so, So when you use it, you need to copy these two files to the corresponding location of your App.

  • ControlSDK:
    • root/jar/libs/ICatchtekControl.jar
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libcontrol.so
      1. libcontrol.so Depends on the same path’s file libreliant.so, If you need to use ControlSDK in your app, you need to copy libreliant and its native libraries to the corresponding location of your app.
      2. ICatchtekContro.jar Also depends on ICatchtekReliant.jar to provide class, interface and other declarations, so you also need to copy the ICatchtekReliant.jar file to the corresponding location of your App when using ControlSDK.
  • StreamingSDK:
    • root/jar/libs/ICatchtekVr.jar
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libpanorama_vr.so
      1. libpanorama_vr.so Depends on the same path’s file libreliant.so, if your app needs to use StreamingSDK, you need to copy libreliant and its native libraries to the corresponding location of your app.
      2. ICatchtekVr.jar It also relies on ICatchtekReliant.jar to provide classes, interfaces and other declarations. Therefore, when using StreamingSDK, you also need to copy theICatchtekReliant.jar file to the corresponding location of your App.

3. Examples of dependencies:
  • If you want to use the functions provided by ControlSDK alone, you need to copy at least the following necessary files to the corresponding locations:
    • root/jar/libs/ICatchtekControl.jar
    • root/jar/libs/ICatchtekReliant.jar<br />
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libreliant.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libusb_transport.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libdepth_net_transport.so<br />
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libcontrol.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libc++_shared.so<br />
  • If you want to use the functions provided by StreamingSDK independently, you need to copy at least the following necessary files to the corresponding locations:
    • root/jar/libs/ICatchtekVr.jar
    • root/jar/libs/ICatchtekReliant.jar<br />
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libreliant.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libusb_transport.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libdepth_net_transport.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libpanorama_vr.so
    • root/libs/[armeabi|armeabi-v7a|arm64-v8a|x86|x84_64]/libc++_shared.so
  • In general, and when there are no major restrictions on the App, all files provided by the SDK are directly placed in the corresponding location.

    If the App has a corresponding limit on the size of the compiled Apk, in general, it can be simplified as follows:

    1. Remove armeabi, x86, x84_64 in turn. Note: For maximum compatibility, you must provide at least Android 32-bit and 64-bit libraries.
    2. According to the requirements of the app, remove the corresponding library files. As mentioned above, if the app only needs the functions provided by the StreamingSDK, the corresponding jar package and the corresponding native dynamic library can be removed.

IOS SDK

1. SDK directory structure:
  • root/PancamSDK/
  • root/ControlSDK/
  • root/ReliantSDK/

    2. Interface file introduction, library introduction
  • ReliantSDK:

    • root/ReliantSDK/include/Header file path
    • root/ReliantSDK/lib/ Library file path
  • ControlSDK:
    • root/ControlSDK/include/Header file path
    • root/ControlSDK/lib/ Library file path
  • StreamingSDK:
    • root/ControlSDK/include/Header file path
    • root/ControlSDK/lib/ Library file path
      3.Examples of dependencies:
  • If you want to use the functions provided by ControlSDK alone, you need to copy at least the following two SDK’s related files to the corresponding locations:
    • ControlSDK
    • ReliantSDK
  • If you want to use the functions provided by StreamingSDK independently, you need to copy at least the following necessary files to the corresponding locations:

    • PancamSDK
    • ReliantSDK

      Please note that because The StreamingSDK includes decoding and rendering components related to audio and video frames, the following necessary components should be provided in the xcode IDE:

      1. FFmpeg
      2. libz libbz2 libiconv
      3. CoreMedia VideoToolBox AudioToolBox
  • If you want to use the functions provided by StreamingSDK and StreamingSDK at the same time, you need to copy at least the following necessary files to the corresponding locations:

    • ControlSDK
    • PancamSDK
    • ReliantSDK
      4. Some other notes
  • The current SDK we released only includes library files for real machine testing. If you need to test your app in the simulator, you can contact the corresponding window to obtain library files that support x86, x86-64.

  • To avoid link errors, we have provided pre-compiled ffmpeg in the SDK, and customers are recommended to use it by default. If the customer does not expect the SDK to use ffmpeg, please contact the corresponding window. The SDK team can provides special versions that lack specific functions.

    You could get more information about this issue from About the no-ffmpeg version