diff --git a/sdk/video-link-android/build.gradle b/sdk/video-link-android/build.gradle index e72b8f0d9..4241d0c4f 100644 --- a/sdk/video-link-android/build.gradle +++ b/sdk/video-link-android/build.gradle @@ -49,7 +49,7 @@ dependencies { // changing = true // } api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.3.5' -// api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.1-SNAPSHOT' +// api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.22-SNAPSHOT' } configurations.all { diff --git a/sdkdemo/build.gradle b/sdkdemo/build.gradle index 79191545f..40ebf5f7b 100644 --- a/sdkdemo/build.gradle +++ b/sdkdemo/build.gradle @@ -139,6 +139,7 @@ dependencies { implementation 'com.tencent.iot.thirdparty.android:ijkplayer-java:1.0.5' implementation 'com.tencent.iot.thirdparty.android:ijkplayer-armv7a:1.0.5' + implementation 'com.tencent.iot.thirdparty.android:ijkplayer-arm64:1.0.5' implementation 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7-mpp-dev-11' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7-mpp-dev-11' diff --git a/sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt b/sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt index 067c4f653..1baaa7c64 100644 --- a/sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt +++ b/sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt @@ -431,7 +431,7 @@ class VideoPreviewActivity : VideoBaseActivity(), EventView, TextureView.Surface it.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "analyzemaxduration", 100) it.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "probesize", 25 * 1024) - it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "packet-buffering", 0) +// it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "packet-buffering", 0) it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "start-on-prepared", 1) it.setOption(IjkMediaPlayer.OPT_CATEGORY_CODEC, "threads", 1) it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "sync-av-start", 0)