├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── close.png │ │ │ │ ├── timg.jpg │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── close.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── lobby_qidongye.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── layout │ │ │ │ ├── activity_first.xml │ │ │ │ ├── activity_fplm.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── ws │ │ │ └── ijk │ │ │ └── ws_ijk │ │ │ ├── FirstActivity.java │ │ │ ├── MainActivity.java │ │ │ ├── FPLMActivity.java │ │ │ └── CameraUtil.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── ws │ │ │ └── ijk │ │ │ └── ws_ijk │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── ws │ │ └── ijk │ │ └── ws_ijk │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── wsqj_ijkplayer ├── .gitignore ├── libs │ └── armeabi-v7a │ │ ├── libijksdl.so │ │ ├── libijkffmpeg.so │ │ └── libijkplayer.so ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── ws │ │ │ └── ijk │ │ │ └── wsqj_ijkplayer │ │ │ └── ExampleUnitTest.java │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── ws │ │ │ │ └── ijk │ │ │ │ └── wsqj_ijkplayer │ │ │ │ └── widget │ │ │ │ ├── LianMaiSplitScreen │ │ │ │ ├── LMFlowGroupView.java │ │ │ │ ├── LMVideoView.java │ │ │ │ └── AspectTextureView.java │ │ │ │ ├── media │ │ │ │ ├── IMediaController.java │ │ │ │ ├── FileMediaDataSource.java │ │ │ │ ├── AndroidMediaController.java │ │ │ │ ├── IRenderView.java │ │ │ │ ├── MediaPlayerCompat.java │ │ │ │ ├── Settings.java │ │ │ │ ├── SurfaceRenderView.java │ │ │ │ ├── MeasureHelper.java │ │ │ │ ├── TextureRenderView.java │ │ │ │ └── IjkVideoView.java │ │ │ │ ├── LianMai │ │ │ │ ├── LianMaiVideoView.java │ │ │ │ └── LianMaiViewGroup.java │ │ │ │ ├── content │ │ │ │ ├── PathCursorLoader.java │ │ │ │ ├── RecentMediaStorage.java │ │ │ │ └── PathCursor.java │ │ │ │ └── services │ │ │ │ └── MediaPlayerService.java │ │ └── res │ │ │ ├── layout │ │ │ └── lm_videoview.xml │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── strings_pref.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── ws │ │ └── ijk │ │ └── wsqj_ijkplayer │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /wsqj_ijkplayer/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':wsqj_ijkplayer' 2 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | WS_IJK 3 | 4 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-hdpi/close.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/timg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-hdpi/timg.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xhdpi/close.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /wsqj_ijkplayer/libs/armeabi-v7a/libijksdl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/wsqj_ijkplayer/libs/armeabi-v7a/libijksdl.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/lobby_qidongye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xhdpi/lobby_qidongye.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /wsqj_ijkplayer/libs/armeabi-v7a/libijkffmpeg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/wsqj_ijkplayer/libs/armeabi-v7a/libijkffmpeg.so -------------------------------------------------------------------------------- /wsqj_ijkplayer/libs/armeabi-v7a/libijkplayer.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/wsqj_ijkplayer/libs/armeabi-v7a/libijkplayer.so -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WangShuo1143368701/WS_IJK/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jun 15 11:44:22 CST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | //背景色 7 | #e6e8f2 8 | 9 | -------------------------------------------------------------------------------- /app/src/test/java/com/ws/ijk/ws_ijk/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.ws.ijk.ws_ijk; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /wsqj_ijkplayer/src/test/java/com/ws/ijk/wsqj_ijkplayer/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.ws.ijk.wsqj_ijkplayer; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /wsqj_ijkplayer/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/ws/ijk/ws_ijk/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.ws.ijk.ws_ijk; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.ws.ijk.ws_ijk", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /wsqj_ijkplayer/src/androidTest/java/com/ws/ijk/wsqj_ijkplayer/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.ws.ijk.wsqj_ijkplayer; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.ws.ijk.wsqj_ijkplayer.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\androidstudio\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /wsqj_ijkplayer/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\androidstudio\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /wsqj_ijkplayer/src/main/java/com/ws/ijk/wsqj_ijkplayer/widget/LianMaiSplitScreen/LMFlowGroupView.java: -------------------------------------------------------------------------------- 1 | package com.ws.ijk.wsqj_ijkplayer.widget.LianMaiSplitScreen; 2 | 3 | import android.content.Context; 4 | import android.support.annotation.Nullable; 5 | import android.util.AttributeSet; 6 | import android.widget.LinearLayout; 7 | 8 | /** 9 | * Created by WangShuo on 2017/7/21. 10 | */ 11 | 12 | public class LMFlowGroupView extends LinearLayout { 13 | 14 | 15 | public LMFlowGroupView(Context context) { 16 | super(context); 17 | init(context); 18 | } 19 | 20 | public LMFlowGroupView(Context context, @Nullable AttributeSet attrs) { 21 | super(context, attrs); 22 | init(context); 23 | } 24 | 25 | public LMFlowGroupView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { 26 | super(context, attrs, defStyleAttr); 27 | init(context); 28 | } 29 | 30 | private void init(Context context) { 31 | setOrientation(LinearLayout.HORIZONTAL); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_first.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 |