You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run FWRecorder.getBase64('recordingName'); in Chrome console, it returns proper Data URL string. We can click on it and it plays. It proves that Base64 encoding works correctly. I don't have much experience with PHP so I can't help you without experiments with PHP functions. I need more time for this issue.
@drimk: What does the file(1) command in Unix tell you about the file you've saved (test.wav)? It should say something like RIFF WAVE ..., if it says "data" then you probably don't have a binary clean method of saving the bytes that come out of base64_decode(). If you just try to print out the content of $decoded to your terminal, what does it look like (just need the first few lines, as it it supposed to be binary). You should see the letters RIFF and WAVE somewhere at the start. Also, does str_replace() actually return the modified string, instead of modifying the input string?
hi friends,
try html form post FWRecorder.getBase64() string
PHP:
but the test.wav can't play, help ~ thanks very much!
The text was updated successfully, but these errors were encountered: