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