├── hudong_test_jni ├── obj │ └── local │ │ └── armeabi │ │ ├── libstdc++.a │ │ ├── libnative_codec_center.so │ │ └── objs │ │ └── native_codec_center │ │ ├── audio_codec.o │ │ ├── video_codec.o │ │ ├── native_codec_center.o │ │ ├── video_codec.o.d │ │ ├── audio_codec.o.d │ │ └── native_codec_center.o.d ├── jni │ ├── audio_codec.h │ ├── video_codec.h │ ├── audio_codec.cpp │ ├── video_codec.cpp │ ├── Android.mk │ ├── nativetest.h │ ├── native_common_header.h │ ├── nativetest.cpp │ └── native_codec_center.h ├── ic_launcher-web.png ├── libs │ ├── android-support-v4.jar │ └── armeabi │ │ └── libnative_codec_center.so ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ ├── values-v14 │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── activity_main.xml ├── .settings │ └── org.eclipse.jdt.core.prefs ├── .classpath ├── project.properties ├── src │ └── com │ │ └── example │ │ └── hudong_test_jni │ │ └── MainActivity.java ├── proguard-project.txt ├── AndroidManifest.xml ├── .project └── .cproject ├── CollectorSDK ├── lint.xml ├── jni │ ├── Application.mk │ ├── depends │ │ ├── codecer │ │ │ ├── src │ │ │ │ ├── mutex.h │ │ │ │ ├── audio_codec.cpp │ │ │ │ ├── video_codec.cpp │ │ │ │ └── annexb2mp4.h │ │ │ └── include │ │ │ │ ├── audio_codec.h │ │ │ │ └── video_codec.h │ │ ├── liblsu │ │ │ ├── lib │ │ │ │ └── liblsu.so │ │ │ └── include │ │ │ │ └── live_stream_uploader.h │ │ └── ffmpeg │ │ │ ├── lib │ │ │ └── libffmpeg.so │ │ │ └── include │ │ │ ├── libavutil │ │ │ ├── audioconvert.h │ │ │ ├── ffversion.h │ │ │ ├── avconfig.h │ │ │ ├── murmur3.h │ │ │ ├── macros.h │ │ │ ├── random_seed.h │ │ │ ├── intfloat_readwrite.h │ │ │ ├── motion_vector.h │ │ │ ├── adler32.h │ │ │ ├── replaygain.h │ │ │ ├── time.h │ │ │ ├── intfloat.h │ │ │ ├── aes.h │ │ │ ├── xtea.h │ │ │ ├── lfg.h │ │ │ ├── sha.h │ │ │ ├── pixelutils.h │ │ │ ├── md5.h │ │ │ ├── lzo.h │ │ │ ├── ripemd.h │ │ │ ├── sha512.h │ │ │ ├── base64.h │ │ │ ├── avassert.h │ │ │ ├── blowfish.h │ │ │ ├── file.h │ │ │ ├── timestamp.h │ │ │ ├── crc.h │ │ │ ├── hmac.h │ │ │ ├── bswap.h │ │ │ ├── display.h │ │ │ ├── threadmessage.h │ │ │ └── downmix_info.h │ │ │ ├── libavfilter │ │ │ ├── avfiltergraph.h │ │ │ ├── asrc_abuffer.h │ │ │ └── version.h │ │ │ ├── libpostproc │ │ │ ├── version.h │ │ │ └── postprocess.h │ │ │ ├── libswresample │ │ │ └── version.h │ │ │ ├── libavdevice │ │ │ └── version.h │ │ │ ├── libswscale │ │ │ └── version.h │ │ │ ├── libavcodec │ │ │ ├── dxva2.h │ │ │ ├── avfft.h │ │ │ └── dv_profile.h │ │ │ └── libavformat │ │ │ └── version.h │ ├── native_common_header.h │ ├── streamuploader.h │ └── Android.mk ├── ic_launcher-web.png ├── libs │ ├── armeabi │ │ ├── liblsu.so │ │ ├── libffmpeg.so │ │ └── libstreamuploader.so │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values-v11 │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values-v14 │ │ └── styles.xml ├── src │ └── bf │ │ └── cloud │ │ └── datasource │ │ ├── AudioRecorder.java │ │ ├── CameraRecorder.java │ │ ├── CameraPreview.java │ │ ├── UploadCenter.java │ │ ├── BFRecorder.java │ │ └── Utils.java ├── .classpath ├── project.properties ├── proguard-project.txt ├── AndroidManifest.xml ├── .project └── .cproject ├── audioRecod ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── example │ │ └── audiorecod │ │ ├── AudioRecorder.java │ │ ├── TestAudioRecord.java │ │ ├── FileOperator.java │ │ └── FileOperator1.java ├── .settings │ └── org.eclipse.jdt.core.prefs ├── .classpath ├── project.properties ├── proguard-project.txt ├── .project └── AndroidManifest.xml ├── CollectorDemo ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ ├── record_button_start.png │ │ └── record_button_stop.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── layout │ │ ├── activity_main.xml │ │ ├── activity_without_preview.xml │ │ └── activity_with_preview.xml ├── src │ └── bf │ │ └── cloud │ │ └── collectordemo │ │ ├── WithPreview.java │ │ └── MainActivity.java ├── .classpath ├── project.properties ├── proguard-project.txt ├── .project └── AndroidManifest.xml ├── .gitignore ├── testVideoCollect_test ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── example │ │ └── testvideocollect │ │ ├── ByteUtil.java │ │ ├── CameraRecorder.java │ │ ├── FileOperator.java │ │ ├── CameraPreview.java │ │ └── MainActivity.java ├── .settings │ └── org.eclipse.jdt.core.prefs ├── .classpath ├── project.properties ├── proguard-project.txt ├── .project └── AndroidManifest.xml └── README.md /hudong_test_jni/obj/local/armeabi/libstdc++.a: -------------------------------------------------------------------------------- 1 | ! 2 | -------------------------------------------------------------------------------- /CollectorSDK/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /CollectorSDK/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := stlport_static 2 | APP_PLATFORM := android-14 -------------------------------------------------------------------------------- /audioRecod/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/ic_launcher-web.png -------------------------------------------------------------------------------- /CollectorDemo/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/ic_launcher-web.png -------------------------------------------------------------------------------- /CollectorSDK/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/ic_launcher-web.png -------------------------------------------------------------------------------- /hudong_test_jni/jni/audio_codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/jni/audio_codec.h -------------------------------------------------------------------------------- /hudong_test_jni/jni/video_codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/jni/video_codec.h -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /CollectorDemo/bin 2 | /CollectorDemo/gen 3 | /CollectorSDK/bin 4 | /CollectorSDK/gen 5 | /.metadata 6 | /CollectorSDK/obj 7 | -------------------------------------------------------------------------------- /CollectorSDK/libs/armeabi/liblsu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/libs/armeabi/liblsu.so -------------------------------------------------------------------------------- /hudong_test_jni/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/ic_launcher-web.png -------------------------------------------------------------------------------- /hudong_test_jni/jni/audio_codec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/jni/audio_codec.cpp -------------------------------------------------------------------------------- /hudong_test_jni/jni/video_codec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/jni/video_codec.cpp -------------------------------------------------------------------------------- /CollectorSDK/libs/armeabi/libffmpeg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/libs/armeabi/libffmpeg.so -------------------------------------------------------------------------------- /audioRecod/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/libs/android-support-v4.jar -------------------------------------------------------------------------------- /CollectorSDK/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/libs/android-support-v4.jar -------------------------------------------------------------------------------- /CollectorDemo/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/libs/android-support-v4.jar -------------------------------------------------------------------------------- /hudong_test_jni/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/libs/android-support-v4.jar -------------------------------------------------------------------------------- /testVideoCollect_test/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/ic_launcher-web.png -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/src/mutex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/codecer/src/mutex.h -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/liblsu/lib/liblsu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/liblsu/lib/liblsu.so -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # android_audio_video 2 | 音频:采集mic的 3 | 视频:采集摄像头的 4 | 5 | 在网上找了一些例子,加上自己的改良,做了demo 6 | CollectorSDK和CollectorDemo是配到的,而且这里添加了一个Utils的类,之后可以参考 7 | -------------------------------------------------------------------------------- /audioRecod/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /audioRecod/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /audioRecod/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/ffmpeg/lib/libffmpeg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/ffmpeg/lib/libffmpeg.so -------------------------------------------------------------------------------- /CollectorSDK/libs/armeabi/libstreamuploader.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/libs/armeabi/libstreamuploader.so -------------------------------------------------------------------------------- /CollectorSDK/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorSDK/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorSDK/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorSDK/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /audioRecod/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /hudong_test_jni/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /hudong_test_jni/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /hudong_test_jni/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /testVideoCollect_test/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/libs/android-support-v4.jar -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/src/audio_codec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/codecer/src/audio_codec.cpp -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/src/video_codec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/codecer/src/video_codec.cpp -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/ffmpeg/include/libavutil/audioconvert.h: -------------------------------------------------------------------------------- 1 | 2 | #include "version.h" 3 | 4 | #if FF_API_AUDIOCONVERT 5 | #include "channel_layout.h" 6 | #endif 7 | -------------------------------------------------------------------------------- /hudong_test_jni/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-hdpi/record_button_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-hdpi/record_button_start.png -------------------------------------------------------------------------------- /CollectorDemo/res/drawable-hdpi/record_button_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/res/drawable-hdpi/record_button_stop.png -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/include/audio_codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/codecer/include/audio_codec.h -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/include/video_codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/codecer/include/video_codec.h -------------------------------------------------------------------------------- /CollectorSDK/src/bf/cloud/datasource/AudioRecorder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/src/bf/cloud/datasource/AudioRecorder.java -------------------------------------------------------------------------------- /hudong_test_jni/libs/armeabi/libnative_codec_center.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/libs/armeabi/libnative_codec_center.so -------------------------------------------------------------------------------- /testVideoCollect_test/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /testVideoCollect_test/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /CollectorDemo/src/bf/cloud/collectordemo/WithPreview.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorDemo/src/bf/cloud/collectordemo/WithPreview.java -------------------------------------------------------------------------------- /CollectorSDK/src/bf/cloud/datasource/CameraRecorder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/src/bf/cloud/datasource/CameraRecorder.java -------------------------------------------------------------------------------- /audioRecod/src/com/example/audiorecod/AudioRecorder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/src/com/example/audiorecod/AudioRecorder.java -------------------------------------------------------------------------------- /audioRecod/src/com/example/audiorecod/TestAudioRecord.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/audioRecod/src/com/example/audiorecod/TestAudioRecord.java -------------------------------------------------------------------------------- /testVideoCollect_test/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /testVideoCollect_test/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /hudong_test_jni/obj/local/armeabi/libnative_codec_center.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/obj/local/armeabi/libnative_codec_center.so -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/liblsu/include/live_stream_uploader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/CollectorSDK/jni/depends/liblsu/include/live_stream_uploader.h -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/ffmpeg/include/libavutil/ffversion.h: -------------------------------------------------------------------------------- 1 | #ifndef AVUTIL_FFVERSION_H 2 | #define AVUTIL_FFVERSION_H 3 | #define FFMPEG_VERSION "2.4.5" 4 | #endif /* AVUTIL_FFVERSION_H */ 5 | -------------------------------------------------------------------------------- /testVideoCollect_test/src/com/example/testvideocollect/ByteUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/src/com/example/testvideocollect/ByteUtil.java -------------------------------------------------------------------------------- /hudong_test_jni/obj/local/armeabi/objs/native_codec_center/audio_codec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/obj/local/armeabi/objs/native_codec_center/audio_codec.o -------------------------------------------------------------------------------- /hudong_test_jni/obj/local/armeabi/objs/native_codec_center/video_codec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/obj/local/armeabi/objs/native_codec_center/video_codec.o -------------------------------------------------------------------------------- /testVideoCollect_test/src/com/example/testvideocollect/CameraRecorder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/testVideoCollect_test/src/com/example/testvideocollect/CameraRecorder.java -------------------------------------------------------------------------------- /hudong_test_jni/obj/local/armeabi/objs/native_codec_center/native_codec_center.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangjie5540/android_audio_video/HEAD/hudong_test_jni/obj/local/armeabi/objs/native_codec_center/native_codec_center.o -------------------------------------------------------------------------------- /audioRecod/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /hudong_test_jni/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /testVideoCollect_test/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /audioRecod/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /CollectorDemo/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /CollectorSDK/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /audioRecod/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | audioRecod 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /CollectorDemo/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CollectorDemo 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /CollectorSDK/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CollectorSDK 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /audioRecod/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | hudong_test_jni 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/ffmpeg/include/libavutil/avconfig.h: -------------------------------------------------------------------------------- 1 | /* Generated by ffconf */ 2 | #ifndef AVUTIL_AVCONFIG_H 3 | #define AVUTIL_AVCONFIG_H 4 | #define AV_HAVE_BIGENDIAN 0 5 | #define AV_HAVE_FAST_UNALIGNED 1 6 | #define AV_HAVE_INCOMPATIBLE_LIBAV_ABI 0 7 | #endif /* AVUTIL_AVCONFIG_H */ 8 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | testVideoCollect 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /hudong_test_jni/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | LOCAL_MODULE := native_codec_center 4 | LOCAL_SRC_FILES := native_codec_center.cpp 5 | LOCAL_SRC_FILES += audio_codec.cpp 6 | LOCAL_SRC_FILES += video_codec.cpp 7 | 8 | LOCAL_LDLIBS := -lm -llog 9 | 10 | LOCAL_C_INCLUDES := sources/foo 11 | include $(BUILD_SHARED_LIBRARY) -------------------------------------------------------------------------------- /audioRecod/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CollectorDemo/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CollectorSDK/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CollectorDemo/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /audioRecod/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /CollectorSDK/jni/depends/codecer/src/annexb2mp4.h: -------------------------------------------------------------------------------- 1 | #ifndef __ANNEXB_TO_MP4_H__ 2 | #define __ANNEXB_TO_MP4_H__ 3 | 4 | #include 5 | 6 | // annexbģʽתmp4ģʽ 7 | int annexb2mp4(const uint8_t *buf_in, uint8_t **buf_out, 8 | int *size, int filter_ps, int* ps_count); 9 | 10 | // annexbģʽתavccģʽ 11 | int annexb2avcc(const uint8_t *buf_in, uint8_t **buf_out, 12 | int *size); 13 | 14 | #endif //__ANNEXB_TO_MP4_H__ 15 | -------------------------------------------------------------------------------- /hudong_test_jni/jni/nativetest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * nativetest.h 3 | * 4 | * Created on: 2015-6-26 5 | * Author: wang 6 | */ 7 | 8 | #ifndef NATIVETEST_H_ 9 | #define NATIVETEST_H_ 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | JNIEXPORT jstring JNICALL stringFromJNI(JNIEnv* env, jclass clasz, jint num); 16 | 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* NATIVETEST_H_ */ 23 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /CollectorSDK/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CollectorSDK/jni/native_common_header.h: -------------------------------------------------------------------------------- 1 | /* 2 | * native_common_header.h 3 | * 4 | * Created on: 2015-7-13 5 | * Author: wangtonggui 6 | */ 7 | 8 | #ifndef NATIVE_COMMON_HEADER_H_ 9 | #define NATIVE_COMMON_HEADER_H_ 10 | 11 | #include 12 | #define LOG_TAG "streamuploader" 13 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) 14 | 15 | 16 | #endif /* NATIVE_COMMON_HEADER_H_ */ 17 | -------------------------------------------------------------------------------- /audioRecod/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /hudong_test_jni/jni/native_common_header.h: -------------------------------------------------------------------------------- 1 | /* 2 | * native_common_header.h 3 | * 4 | * Created on: 2015-7-13 5 | * Author: wangtonggui 6 | */ 7 | 8 | #ifndef NATIVE_COMMON_HEADER_H_ 9 | #define NATIVE_COMMON_HEADER_H_ 10 | 11 | #include 12 | #define LOG_TAG "native_codec_center" 13 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) 14 | 15 | 16 | #endif /* NATIVE_COMMON_HEADER_H_ */ 17 | -------------------------------------------------------------------------------- /CollectorDemo/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CollectorDemo/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /CollectorSDK/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /CollectorSDK/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hudong_test_jni/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /audioRecod/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CollectorDemo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CollectorSDK/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /hudong_test_jni/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testVideoCollect_test/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /CollectorSDK/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library=true 16 | -------------------------------------------------------------------------------- /audioRecod/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library.reference.1=../appcompat_v7 16 | -------------------------------------------------------------------------------- /CollectorDemo/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library.reference.1=../CollectorSDK 16 | -------------------------------------------------------------------------------- /hudong_test_jni/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library.reference.1=../appcompat_v7 16 | -------------------------------------------------------------------------------- /testVideoCollect_test/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-20 15 | android.library.reference.1=../appcompat_v7 16 | -------------------------------------------------------------------------------- /CollectorDemo/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /audioRecod/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /testVideoCollect_test/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /CollectorSDK/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /hudong_test_jni/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /hudong_test_jni/src/com/example/hudong_test_jni/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.hudong_test_jni; 2 | 3 | import android.support.v7.app.ActionBarActivity; 4 | import android.os.Bundle; 5 | import android.util.Log; 6 | import android.view.Menu; 7 | import android.view.MenuItem; 8 | import android.view.View; 9 | import android.widget.TextView; 10 | 11 | 12 | public class MainActivity extends ActionBarActivity { 13 | 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | CodecCenter codec = new CodecCenter(); 18 | Log.d("wangjie", "" + codec.getStringFromNative()); 19 | setContentView(R.layout.activity_main); 20 | TextView tv1 = (TextView) findViewById(R.id.tv1); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /hudong_test_jni/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /CollectorDemo/src/bf/cloud/collectordemo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package bf.cloud.collectordemo; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.view.Menu; 7 | import android.view.MenuItem; 8 | import android.view.View; 9 | import android.view.View.OnClickListener; 10 | 11 | public class MainActivity extends Activity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_main); 17 | findViewById(R.id.bt_with_preview).setOnClickListener(new OnClickListener() { 18 | 19 | @Override 20 | public void onClick(View v) { 21 | Intent intent = new Intent(); 22 | intent.setClass(MainActivity.this, WithPreview.class); 23 | startActivity(intent); 24 | } 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /audioRecod/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /CollectorDemo/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /CollectorSDK/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /hudong_test_jni/obj/local/armeabi/objs/native_codec_center/video_codec.o.d: -------------------------------------------------------------------------------- 1 | obj/local/armeabi/objs/native_codec_center/video_codec.o: \ 2 | jni/video_codec.cpp jni/video_codec.h \ 3 | D:/program/android-ndk-r9c/sources/cxx-stl/system/include/cstdint \ 4 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/stdint.h \ 5 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/sys/_types.h \ 6 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/machine/_types.h 7 | 8 | jni/video_codec.h: 9 | 10 | D:/program/android-ndk-r9c/sources/cxx-stl/system/include/cstdint: 11 | 12 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/stdint.h: 13 | 14 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/sys/_types.h: 15 | 16 | D:/program/android-ndk-r9c/platforms/android-19/arch-arm/usr/include/machine/_types.h: 17 | -------------------------------------------------------------------------------- /hudong_test_jni/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /testVideoCollect_test/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /CollectorDemo/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 9 | 10 |