Skip to content

Commit

Permalink
修改v2.4.x上ijkplayer版本,demo添加追帧倍率。
Browse files Browse the repository at this point in the history
Change-Id: Ief7fc07cd387524dfba32023ae5ae137674df931
  • Loading branch information
SundoggyNew committed Aug 9, 2022
1 parent c12b3db commit a82ae88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdkdemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ dependencies {
api project(path: ':sdk:video-link-android')
}

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-java:1.0.7'
implementation 'com.tencent.iot.thirdparty.android:ijkplayer-armv7a:1.0.7'
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 @@ -449,6 +449,7 @@ class VideoPreviewActivity : VideoBaseActivity(), EventView, TextureView.Surface
it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec-auto-rotate", 1)
it.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec-handle-resolution-change", 1)

it.setFrameSpeed(1.5f)
while (!::surface.isInitialized) {
delay(50)
L.e("delay for waiting surface.")
Expand Down

0 comments on commit a82ae88

Please sign in to comment.