Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/ba71e47f-d546-45f2-bf44-aedaab74a966.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "ba71e47f-d546-45f2-bf44-aedaab74a966",
"type": "misc",
"description": "Increase maximum event stream message length to 24MB"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import aws.smithy.kotlin.runtime.text.encoding.encodeToHex

internal const val MESSAGE_CRC_BYTE_LEN = 4

// max message size is 16 MB
internal const val MAX_MESSAGE_SIZE = 16 * 1024 * 1024
// max message size is 24 MB
internal const val MAX_MESSAGE_SIZE = 24 * 1024 * 1024

// max header size is 128 KB
internal const val MAX_HEADER_SIZE = 128 * 1024

/*
Message Wire Format
See also: https://docs.aws.amazon.com/transcribe/latest/dg/event-stream-med.html
See also: https://docs.aws.amazon.com/transcribe/latest/dg/streaming-setting-up.html

+--------------------------------------------------------------------+ --
| Total Len (32) | |
Expand Down
Loading