daniulive / SmarterStreaming

业内为数不多致力于极致体验的超强全自研跨平台(windows/linux/android/iOS)流媒体内核,通过模块化自由组合,支持实时RTMP推流、RTSP推流、RTMP播放器、RTSP播放器、录像、多路流媒体转发、音视频导播、动态视频合成、音频混音、直播互动、内置轻量级RTSP服务等,比快更快,业界真正靠谱的超低延迟直播SDK(1秒内,低延迟模式下150~300ms)。
https://www.daniusdk.com
10.94k stars 2.76k forks source link

No implementation found for long smartplayertest.SmartPlayerJniV2.SmartPlayerOpen(java.lang.Object) #74

Closed EmbeddedAndMore closed 5 years ago

EmbeddedAndMore commented 5 years ago

Thanks for such a great job. I am getting this error although a have added this :

static {
        System.loadLibrary("SmartPlayer");
    }

do i need to anything else. i also aded all .so and .jar as it is in sample project.

daniulive commented 5 years ago

Make sure the project with our app name(or else will show "license failed" error): strings.xml:

SmartPlayerSDKDemo

IF you need license, please contact with 89030985@qq.com

  1. Please make sure SmartPlayerJniV2.java put into the package name of com.daniulive.smartplayer;
  2. Add Smartavengine.jar to your proeject;
  3. Copy the lib "SmartPlayerV2\app\src\main\jniLibs\armeabi-v7a and SmartPlayerV2\app\src\main\jniLibs\arm64-v8a“ libSmartPlayer.so to your project;
  4. Load the lib: static {
    System.loadLibrary("SmartPlayer"); }
  5. Add permission:
EmbeddedAndMore commented 5 years ago

Oh, I thought it might be the package name. Thanks for the quick response.