Skip to content

Commit

Permalink
升级版本
Browse files Browse the repository at this point in the history
  • Loading branch information
limin committed Aug 27, 2018
1 parent 8e25066 commit df5982e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ With it, you can encode a video at any resolution, no longer need to care about
![ScreenRecord_1](https://github.com/lmylr/HardwareVideoCodec/blob/master/images/ScreenRecord_1.gif)
![ScreenRecord_1](https://github.com/lmylr/HardwareVideoCodec/blob/master/images/ScreenRecord_2.gif)
## Latest release
[V1.6.0](https://github.com/lmylr/HardwareVideoCodec/releases/tag/v1.6.0)
[V1.6.1](https://github.com/lmylr/HardwareVideoCodec/releases/tag/v1.6.1)

* New api.
* Fixed some FC.
* Can switch camera.

## Features
* Support video encoding at any resolution. No need to care about camera resolution.
Expand All @@ -36,17 +35,16 @@ buildscript {
}
allprojects {
repositories {
maven {
url 'https://dl.bintray.com/lmylr/maven'
}
google()
jcenter()
}
}
```
* Module build.gradle
```
dependencies {
implementation 'com.lmy.codec:hardwarevideocodec:1.6.0'
implementation 'com.lmy.codec:rtmp:1.2.0'//If you want to use RTMP stream.
implementation 'com.lmy.codec:hardwarevideocodec:1.6.1'
implementation 'com.lmy.codec:rtmp:1.6.1'//If you want to use RTMP stream.
}
```
* For record mp4
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ dependencies {
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.tencent.bugly:crashreport:latest.release'
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
// implementation 'com.lmy.codec:hardwarevideocodec:1.6.0'
// implementation 'com.lmy.codec:rtmp:1.2.0'
// implementation 'com.lmy.codec:hardwarevideocodec:1.6.1'
// implementation 'com.lmy.codec:rtmp:1.6.1'
implementation project(':codec')
implementation project(':rtmp')
}
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ allprojects {
repositories {
google()
jcenter()
maven {
url 'https://dl.bintray.com/lmylr/maven'
}
}
tasks.getByPath(":codec:releaseAndroidJavadocs").enabled = false
// tasks.getByPath(":rtmp:releaseAndroidJavadocs").enabled = false
Expand Down
4 changes: 2 additions & 2 deletions codec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 11
versionName "1.6.0"
versionCode 12
versionName "1.6.1"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
4 changes: 2 additions & 2 deletions rtmp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "1.2.0"
versionCode 12
versionName "1.6.1"
ndk {
/**
* 名称 说明 功能
Expand Down

0 comments on commit df5982e

Please sign in to comment.