Base64 Encoded Data

Some data from the apps need to be encoded in base64 first, then sent to Kafka. Currently, this is being used for the audio input in the active RMT app.

The data sent will look like this (ellipsis added for brevity):

Audio Base64
data:audio/mpeg;base64,AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAEU/G1kYXQBQCKAo3twhS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS.....


Decoding base64 encoded data

There are various ways to decoded this data, but one easy way to manually decode individual data would be to use this online decoder: https://opinionatedgeek.com/Codecs/Base64Decoder, then paste the encoded data without the data type information:

Audio Base64
AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAEU/G1kYXQBQCKAo3twhS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS.....

Click Decode, rename the file name next to 'Click here to download decoded file as' to 'your-file-name.m4a', then download the file.