Skip to content

Commit 2dd864a

Browse files
committed
Merge branch 'develop' v0.3.3
2 parents 18016f5 + c4bd683 commit 2dd864a

File tree

7 files changed

+25
-16
lines changed

7 files changed

+25
-16
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.3.3] - 2022-09-14
8+
### Fixed
9+
- SFProcessTurn causing CREATE_FAILURE and stack rollback. This was caused by the Sept 10 release of the FFMPEG v5.1.1 distribution which had a larger size than the earlier version, resulting in the FFMPEG Lamba Layer exceeding the max size allowed by the Lambda service. To avoid this issue, the main stack CloudFormation parameter `ffmpegDownloadUrl` now defaults to the v4.4 distribution instead of 'latest'.
10+
- Reduce Lambda function failure rate when processing very large audio files:
11+
- Increase multiple PCA server lambda function memory allocation to make functions run faster, and increase timeouts to reduce liklihood of timeouts when processing large audio files.
12+
- Increase empheral storage for 'StartTranscribeJob' lambda to accomodate S3 download and temp storage of large audio files.
13+
714
## [0.3.2] - 2022-08-24
815
### Fixed
916
- PCA Workflow failure with KMS encrypted recordings caused by the new `SFPostCTRProcessing` Lambda function role not included in KMS Key policy. Function role now included in the `RolesForKMSKey` output.
@@ -73,7 +80,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7380
### Added
7481
- Initial release
7582

76-
[Unreleased]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/compare/v0.3.2...develop
83+
[Unreleased]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/compare/v0.3.3...develop
84+
[0.3.3]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.3
7785
[0.3.2]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.2
7886
[0.3.1]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.1
7987
[0.3.0]: https://github.com/aws-samples/amazon-transcribe-post-call-analytics/releases/tag/v0.3.0

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.2
1+
0.3.3

pca-main-nokendra.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: "2010-09-09"
22

3-
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.2) (uksb-1sn29lk73)
3+
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.3) (uksb-1sn29lk73)
44

55
Parameters:
66

@@ -217,7 +217,7 @@ Parameters:
217217

218218
ffmpegDownloadUrl:
219219
Type: String
220-
Default: https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
220+
Default: https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-amd64-static.tar.xz
221221
Description: URL for ffmpeg binary distribution tar file download - see https://www.johnvansickle.com/ffmpeg/
222222

223223
loadSampleAudioFiles:

pca-main.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: "2010-09-09"
22

3-
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.2) (uksb-1sn29lk73)
3+
Description: Amazon Transcribe Post Call Analytics - PCA (v0.3.3) (uksb-1sn29lk73)
44

55
Parameters:
66

@@ -217,7 +217,7 @@ Parameters:
217217

218218
ffmpegDownloadUrl:
219219
Type: String
220-
Default: https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
220+
Default: https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-amd64-static.tar.xz
221221
Description: URL for ffmpeg binary distribution tar file download - see https://www.johnvansickle.com/ffmpeg/
222222

223223
loadSampleAudioFiles:

pca-server/cfn/lib/bulk.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Parameters:
2020
Globals:
2121
Function:
2222
Runtime: python3.8
23-
MemorySize: 128
24-
Timeout: 15
23+
MemorySize: 1024
24+
Timeout: 60
2525

2626
Resources:
2727
BulkFilesCount:

pca-server/cfn/lib/copy-samples.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Parameters:
2222
Globals:
2323
Function:
2424
Runtime: python3.8
25-
MemorySize: 128
26-
Timeout: 15
25+
MemorySize: 1024
26+
Timeout: 60
2727

2828
Resources:
2929

pca-server/cfn/lib/pca.template

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Parameters:
3737
Globals:
3838
Function:
3939
Runtime: python3.8
40-
MemorySize: 128
41-
Timeout: 15
40+
MemorySize: 1024
41+
Timeout: 60
4242

4343
Resources:
4444
FFMPEGLayer:
@@ -126,7 +126,9 @@ Resources:
126126
Properties:
127127
CodeUri: ../../src/pca
128128
Handler: pca-aws-sf-start-transcribe-job.lambda_handler
129-
Timeout: 30
129+
EphemeralStorage:
130+
Size: 4096
131+
Timeout: 300
130132
Layers:
131133
- !Ref FFMPEGLayer
132134
- !Ref Boto3Layer
@@ -141,8 +143,8 @@ Resources:
141143
Properties:
142144
CodeUri: ../../src/pca
143145
Handler: pca-aws-sf-process-turn-by-turn.lambda_handler
144-
MemorySize: 192
145-
Timeout: 600
146+
MemorySize: 1024
147+
Timeout: 900
146148
Layers:
147149
- !Ref FFMPEGLayer
148150
- !Ref MPLLayer
@@ -204,7 +206,6 @@ Resources:
204206
Properties:
205207
CodeUri: ../../src/pca
206208
Handler: pca-aws-sf-wait-for-transcribe-notification.lambda_handler
207-
Timeout: 10
208209
Environment:
209210
Variables:
210211
TableName: !Ref TableName

0 commit comments

Comments
 (0)