Skip to content

Commit

Permalink
Release 1.9.5 (16 Jan 2020)
Browse files Browse the repository at this point in the history
* Remove finalized() function and require explicit call on free() to avoid dangling finalized() causing memory leak.
* Performance improvement on sending data in multiple ongoing stream in one client.
* Fix stream information mis-alignment due to missing retention in describeStreamResult
  • Loading branch information
chehefen committed Jan 20, 2020
1 parent 026f890 commit 31b1b11
Show file tree
Hide file tree
Showing 18 changed files with 135 additions and 135 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,25 @@ This will provide details on missing libraries during linking; If the output sho
rm -rf ./kinesis-video-native-build/CMakeCache.txt ./kinesis-video-native-build/CMakeFiles
```
and run `./install-script` again.
and run `./java-install-script` again.

```
./install-script
./java-install-script
```
Also, set the `LD_LIBRARY_PATH` as below
```
export LD_LIBRARY_PATH=/<YOUR_PRODUCER_SDK_CPP_DOWNLOAD>/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/<YOUR_PRODUCER_SDK_CPP_DOWNLOAD>/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build:$LD_LIBRARY_PATH
```

This should resolve native library loading issues.

## Release Notes
### Release 1.9.5 (16 Jan 2020)
* Remove finalized() function and require explicit call on free() to avoid dangling finalized() causing memory leak.
* Performance improvement on sending data in multiple ongoing stream in one client.
* Fix stream information mis-alignment due to missing retention in describeStreamResult

### Release 1.9.4 (9 July 2019)
* License update: KVS SDK is under Apache 2.0 license now.
* Stablization updates in C layer.
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>com.amazonaws</groupId>
<artifactId>amazon-kinesis-video-streams-producer-sdk-java</artifactId>
<name>Amazon Kinesis Video Streams Producer SDK Java</name>
<version>1.9.3</version>
<version>1.9.5</version>
<description>The Amazon Kinesis Video Streams Producer SDK for Java enables Java developers to ingest data into
Amazon Kinesis Video.
</description>
Expand Down Expand Up @@ -52,7 +52,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.487</version>
<version>1.11.602</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private static MediaSource createImageFileMediaSource() {
.filenameFormat(IMAGE_FILENAME_FORMAT)
.startFileIndex(START_FILE_INDEX)
.endFileIndex(END_FILE_INDEX)
//.contentType("video/hevc") // for h265
.build();
final ImageFileMediaSource mediaSource = new ImageFileMediaSource(STREAM_NAME);
mediaSource.configure(configuration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class PutMediaClient {
private static final String CONNECTION = "connection";
private static final String KEEP_ALIVE = "keep-alive";
private static final String USER_AGENT = "user-agent";
private static final int BUFFER_SIZE = 1024 * 1024; // 1MB
private static final int BUFFER_SIZE = 4096; // 4KB
private static final double MILLI_TO_SEC = 1000;
private static final int LOGGING_INTERVAL = 250; // Rougly every 10 seconds in 25 fps
private final Builder mBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ public void log(final LogLevel logLevel, final String message) {
* Arguments
*/
public void log(final LogLevel logLevel, final String template, final Object... args) {
log(logLevel, String.format(template, args));
if (logLevel.getLogLevel() >= mCurrentLogLevel.getLogLevel()) {
log(logLevel, String.format(template, args));
}
}

/**
Expand Down
Loading

0 comments on commit 31b1b11

Please sign in to comment.