You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the timestamp unit for media codec encoder (#1091)
* Remove trailing zeros before putting frame into SDK
* Add unit test for removing trailing zeros
* Update KinesisVideoFrameTest.java
* Fix validation exception caused by request model update
* Add comment and update change log
* Fix the timestamp unit for media codec encoder
The presentation timestamp in microseconds for this buffer. This is normally the media time at which this buffer should be presented (rendered).
according to https://developer.android.com/reference/android/media/MediaCodec.html#queueInputBuffer(int,%20int,%20int,%20long,%20int)
* Add change log for time unit bug fix
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,19 @@
1
1
# Change Log - AWS SDK for Android
2
2
3
-
### Bug Fixes
4
-
***Amazon Kinesis Video**
5
-
* Fixed a bug when CreateStreamRequest is initialized without setting Tags, auto-generated empty HashMap of Tags would cause ValidationException from Kinesis Video.
- Fixed response unmarshalling when response is gzip encoded without a CRC32 checksum. Also fixes bug decoding Kinesis responses with GZIP encoding.
8
+
-**Amazon Kinesis Video**
9
+
- Fixed a bug when CreateStreamRequest is initialized without setting Tags, auto-generated empty HashMap of Tags would cause ValidationException from Kinesis Video.
10
+
- Fixed incorrect timestamp unit for encoder input caused high bitrate issue for the stream.
@@ -1676,4 +1675,3 @@ All documentation is now centralized at https://aws-amplify.github.io/
1676
1675
### Bug Fixes
1677
1676
- **Amazon S3**: Fixed an issue that occurs when required headers are not properly signed. This issue affects S3 in two regions: Frankfurt (eu-central-1) and China (cn-north-1). [#42](https://github.com/aws/aws-sdk-android/issues/42)
1678
1677
- **AWS Core Runtime Library**: Fixed an issue in Maven distribution where an incorrect version string is set in "User-Agent".
Copy file name to clipboardExpand all lines: aws-android-sdk-kinesisvideo/src/main/java/com/amazonaws/mobileconnectors/kinesisvideo/encoding/EncoderFrameSubmitter.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@
83
83
* - mic drop
84
84
*/
85
85
publicclassEncoderFrameSubmitter {
86
-
86
+
privatestaticfinallongNS_IN_US = 1000;
87
87
privatestaticfinallongNS_IN_MS = 1000000;
88
88
privatestaticfinalintFROM_START = 0;
89
89
privatestaticfinalintNO_FLAGS = 0;
@@ -101,14 +101,14 @@ public void submitFrameToEncoder(final Image frameImageYUV420,
101
101
102
102
// encoders are super sensitive to the timestamps, careful here
0 commit comments