From 13890ae0d65bb6b235779d60dadfe010bb5856c1 Mon Sep 17 00:00:00 2001 From: Hanoi Date: Sat, 22 May 2021 17:22:07 +0700 Subject: [PATCH] + Update readme & config build --- README.md | 7 +++---- app/build.gradle | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f48c90..f028d51 100644 --- a/README.md +++ b/README.md @@ -43,16 +43,15 @@ allprojects { Add the dependency ```groovy dependencies { - implementation "com.github.baka3k:RTSPRecorder:1.0" + implementation "com.github.baka3k:RTSPRecorder:1.0.1" } ``` ## Usage Capture Video Frame ```Java -// 1280 x 720 is frame size video -Bitmap bitmap = Bitmap.createBitmap(1280, 720, Bitmap.Config.ARGB_8888); -mVideoView.getCurrentFrame(bitmap); +Bitmap bitmap = mVideoView.getCurrentFrame(); ``` + RecordVideo ```Java mVideoView.startRecord(mOutPutRecord); diff --git a/app/build.gradle b/app/build.gradle index 7db48b5..45a3446 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,5 +36,6 @@ dependencies { testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' - implementation (project(":videoplayer")) +// implementation (project(":videoplayer")) + implementation "com.github.baka3k:RTSPRecorder:1.0.1" } \ No newline at end of file