Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法调用ijk解码器 #26

Open
xipeng5 opened this issue Jun 24, 2023 · 1 comment
Open

无法调用ijk解码器 #26

xipeng5 opened this issue Jun 24, 2023 · 1 comment

Comments

@xipeng5
Copy link

xipeng5 commented Jun 24, 2023

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
flatDir {
dirs 'libs'
}
google()
jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
//GroMore SDK依赖
maven {
url "https://artifact.bytedance.com/repository/pangle"
}
//友盟统计服务
maven { url 'https://repo1.maven.org/maven2/' }
}

dependencies {
    classpath "com.android.tools.build:gradle:4.0.1"
    classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

allprojects {

repositories {
    flatDir {
        dirs 'libs'
    }
    google()
    jcenter()
    mavenCentral()
    maven { url "https://jitpack.io" }

    //GroMore SDK依赖
    maven {
        url "https://artifact.bytedance.com/repository/pangle"
    }
    //友盟统计服务
    maven { url 'https://repo1.maven.org/maven2/' }
}

}

task clean(type: Delete) {
delete rootProject.buildDir
}

//播放器(无UI交互)
implementation 'com.github.hty527.iPlayer:iplayer:2.1.26.1'
//SDK默认UI交互组件
implementation 'com.github.hty527.iPlayer:widget:2.1.26.1'
//音视频预缓存+边播边存
implementation 'com.github.hty527.iPlayer:cache:2.1.26.1'
//ijk音视频解码器
implementation 'com.github.hty527.iPlayer:ijk:2.1.26.1'
//exo音视频解码器
implementation 'com.github.hty527.iPlayer:exo:2.1.26.1'

已经导包。但是无法调用这个方法
IjkPlayerFactory.create().createPlayer(VideoPlayerActivity.this)

@hty527
Copy link
Owner

hty527 commented Oct 7, 2023

你好,问题解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants