Skip to content

Commit 33989f8

Browse files
committed
关闭追帧
Change-Id: Ic6ba3ff70ff0685ed46de8d604c2d3be9142b644
1 parent 895ad2e commit 33989f8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

sdk/video-link-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dependencies {
4949
// changing = true
5050
// }
5151
api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.3.5'
52-
// api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.1-SNAPSHOT'
52+
// api 'com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.22-SNAPSHOT'
5353
}
5454

5555
configurations.all {

sdkdemo/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ dependencies {
139139

140140
implementation 'com.tencent.iot.thirdparty.android:ijkplayer-java:1.0.5'
141141
implementation 'com.tencent.iot.thirdparty.android:ijkplayer-armv7a:1.0.5'
142+
implementation 'com.tencent.iot.thirdparty.android:ijkplayer-arm64:1.0.5'
142143
implementation 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
143144
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7-mpp-dev-11'
144145
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7-mpp-dev-11'

sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/video/preview/VideoPreviewActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class VideoPreviewActivity : VideoBaseActivity(), EventView, TextureView.Surface
431431

432432
it.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "analyzemaxduration", 100)
433433
it.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "probesize", 25 * 1024)
434-
it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "packet-buffering", 0)
434+
// it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "packet-buffering", 0)
435435
it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "start-on-prepared", 1)
436436
it.setOption(IjkMediaPlayer.OPT_CATEGORY_CODEC, "threads", 1)
437437
it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "sync-av-start", 0)

0 commit comments

Comments
 (0)