Skip to content

Commit

Permalink
Bumping the version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
izzytwosheds committed Apr 24, 2020
1 parent 526806c commit 3d39cb4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ By default, LiTr uses Android MediaCodec stack for hardware accelerated decoding
Simply grab via Gradle:

```groovy
implementation 'com.linkedin.android.litr:litr:1.2.5'
implementation 'com.linkedin.android.litr:litr:1.3.0'
```
...or Maven:

```xml
<dependency>
<groupId>com.linkedin.android.litr</groupId>
<artifactId>litr</artifactId>
<version>1.2.5</version>
<version>1.3.0</version>
</dependency>

```
Expand Down Expand Up @@ -116,20 +116,30 @@ transform(requestId,

When using your own component implementations, make sure that output of a component matches the expected input of a next component. For example, if you are using a custom `Encoder` (AV1?), make sure it accepts whatever frame format `Renderer` produces (`GlSurface`, `ByteBuffer`) and outputs what `MediaTarget` expects as an input.

Another way to gain even finer control over transformation is to use "track transformation" API:
```java
tranform(requestId,
List<TrackTransform> trackTransforms,
listener,
granularity)
```

This API allows defining components and parameters per media track, thus allowing track based operations, such as muxing/demuxing tracks, transcoding different tracks differently, changing track order, etc.

## Using Filters

You can use custom filters to modify video frames. Write your own in OpenGL as an implementation of `GlFilter` interface, or use existing one from "filter pack" library, which is available via Gradle:
You can use custom filters to modify video frames. Write your own in OpenGL as an implementation of `GlFilter` interface when you need to make extra draw operations which do not need access to source video frames. If you need to change how source video frame is rendered onto a target video frame, implement `GlFrameRender` interface. There are several filters already available from "filter pack" library, which is available via Gradle:

```groovy
implementation 'com.linkedin.android.litr:litr-filters:1.2.5'
implementation 'com.linkedin.android.litr:litr-filters:1.3.0'
```
...or Maven:

```xml
<dependency>
<groupId>com.linkedin.android.litr</groupId>
<artifactId>litr-filters</artifactId>
<version>1.2.5</version>
<version>1.3.0</version>
</dependency>

```
Expand Down
4 changes: 2 additions & 2 deletions constants.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project.ext {
releaseVersion = '1.2.5'
releaseVersionCode = 10020500
releaseVersion = '1.3.0'
releaseVersionCode = 10030000
minSdkVersion = 18
targetSdkVersion = 28
compileSdkVersion = 29
Expand Down

0 comments on commit 3d39cb4

Please sign in to comment.