diff --git a/app/build.gradle b/app/build.gradle index df0c2f5e7..450a0eccb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -185,7 +185,7 @@ dependencies { if (findProject(':sdk:video-link-android') != null) { api project(path: ':sdk:video-link-android') } - implementation 'com.tencent.iot.thirdparty.android:ijkplayer-java:1.0.7-SNAPSHOT' - implementation 'com.tencent.iot.thirdparty.android:ijkplayer-armv7a:1.0.7-SNAPSHOT' - implementation 'com.tencent.iot.thirdparty.android:ijkplayer-arm64:1.0.7-SNAPSHOT' + implementation 'com.tencent.iot.thirdparty.android:ijkplayer-java:1.0.6' + implementation 'com.tencent.iot.thirdparty.android:ijkplayer-armv7a:1.0.6' + implementation 'com.tencent.iot.thirdparty.android:ijkplayer-arm64:1.0.6' } diff --git a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/activity/videoui/RecordVideoActivity.java b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/activity/videoui/RecordVideoActivity.java index cd34ed1c7..6d0233040 100644 --- a/app/src/main/java/com/tencent/iot/explorer/link/kitlink/activity/videoui/RecordVideoActivity.java +++ b/app/src/main/java/com/tencent/iot/explorer/link/kitlink/activity/videoui/RecordVideoActivity.java @@ -636,7 +636,6 @@ private void play(int callType) { player.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec-auto-rotate", 1); player.setFrameSpeed(1.5f); - player.setMaxPacketNum(2); getDeviceStatus(); player.setSurface(surface); String url = XP2P.delegateHttpFlv(TRTCUIManager.getInstance().deviceId) + "ipc.flv?action=live"; diff --git a/sdk/video-link-android/build.gradle b/sdk/video-link-android/build.gradle index f4bdd2fe9..fd8a4acd8 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.4.26' - api 'com.tencent.iot.thirdparty.android:media-server:1.0.3-SNAPSHOT' + api 'com.tencent.iot.thirdparty.android:media-server:1.0.2' } configurations.all {