Skip to content

Commit

Permalink
关闭追帧
Browse files Browse the repository at this point in the history
Change-Id: Ic6ba3ff70ff0685ed46de8d604c2d3be9142b644
  • Loading branch information
tonychanchen committed Apr 29, 2022
1 parent 895ad2e commit 33989f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/video-link-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions sdkdemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 33989f8

Please sign in to comment.