We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The chat voice message is currently very big and it's size should be considerably reduced.
The message size was tested with voice messages of 1 minute (60 seconds) length.
qaul: 1min = 1M
Signal: 1min = 250 kB
Whatsapp: 1min = 140 kB
We currently use the flutter record plugin, for which the AAC-LC codec seems to be the best encoding which is supported on all platforms.
record
AAC-LC
We currently use it's default configuration which has the following values:
const RecordConfig({ this.encoder = AudioEncoder.aacLc, this.bitRate = 128000, this.sampleRate = 44100, this.numChannels = 2, this.device, this.autoGain = false, this.echoCancel = false, this.noiseSuppress = false, });
I suggest to change the following values:
numChannels = 1
bitRate
And to test and document the following values for 60 seconds:
samplingRate
In order to compare the test results, the tests should contain the following results:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The chat voice message is currently very big and it's size should be considerably reduced.
Current Message Size & Encoding
The message size was tested with voice messages of 1 minute (60 seconds) length.
qaul: 1min = 1M
Other Messengers Message Size & Encoding
Signal: 1min = 250 kB
Whatsapp: 1min = 140 kB
Optimization
We currently use the flutter
record
plugin, for which theAAC-LC
codec seems to be the best encoding which is supported on all platforms.We currently use it's default configuration which has the following values:
I suggest to change the following values:
numChannels = 1
for mono recordingbitRate
: 64000And to test and document the following values for 60 seconds:
bitRate
: 64000, 56000, 48000, 32000samplingRate
: 44100, 32000In order to compare the test results, the tests should contain the following results:
Codec Information
The text was updated successfully, but these errors were encountered: