Skip to content

Commit

Permalink
+ Update readme & config build
Browse files Browse the repository at this point in the history
  • Loading branch information
baka3k committed May 22, 2021
1 parent bf7c6cd commit 13890ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 13890ae

Please sign in to comment.