-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Embedded audio gives base64 decode error. #185
Comments
Embedded audio now is a base64 encoded mp3 file with no id3 tags which says "Embedded audio" when you play it. The base64 encoding has no line breaks. Fixes #185
Actually, it was my intention to permit normal XML whitespace characters in base64 data, which is permitted [1], and which would be ignored by decoders [2]. However, I see that RFC4648 wants the referring spec (in our case TTML2) to explicitly sanction such usage. I will add an issue (for resolution in 2e) to explicitly permit these characters within base64 data. [1] https://tools.ietf.org/html/rfc4648#section-3.1 |
When base64 decoding the audio in:
ttml2-prstn-audio-embedding-chunked.xml
andttml2-prstn-audio-embedding-sourced.xml
there's an invalid character error (input to base64 formed by creating a text file from the source data):
I will propose a pull request that replaces the base64 encoded data with audio data that does not produce this error.
The text was updated successfully, but these errors were encountered: