15 secs audio recording using iPad wasn’t too successful. After 10 minutes processing I gave up. Now i have an iPhone next to me and it has been processed 10 sec audio now around 5 minutes.
Processors, load and memory of DigitalOcean droplet are totally fine, though. Without any knowledge what is happening it sounds like there will happend nothing. Not even cancel works.
What do you suggest how I start to dig this? Will a recording device send wav or what it is using to server and the component change it to mp3 there using tools of server? If so perhaps I’m missing some tools.
I’m using S3, will that be a problem?
It is an issue of iPad/iPhone. Using Windows-laptop everything worked just fine.
Same was bothering all recording plugins at Moodle. There must be used some tricks, I really don’t know how, but like using separate recording app and then upload a file… Things can be changed between iOS-version, though.
Is there some CSS tricks to hide downloading/speed?
Yes, the existing plugin had the same issues on mobile (when it worked). The only way these issues will be properly addressed is either:
handling file processing on the backend (the “proper” way).
This theme component is just a direct translation of the existing plugin to a theme component, and adding compatibility updates so it works with the latest Discourse. For a more comprehensive solution this would need to be a funded project and it would take a couple of months.
I made this conversion so the existing users of the plugin could enjoy the same functionality the plugin had
I would like to help Discourse by translating plugins in ptbr.
There are several plugins that I really like and want to translate in ptbr.
As I said earlier, I would like to be a good software developer, one way I thought was to translate plugins in Discourse. I feel that in doing so, I am contributing in some way to Discourse.
As I said earlier, I can send a pull request if you guys want and find it interesting.
I think Discourse is amazing and the people in it are a great community.
I talked about these points of view, as I had commented here on this post: https://meta.discourse.org/t/voice-recording-plugin - But they said the plugin doesn’t work - old post link. They said here would be the most stable version. So here I am - Hope this helps in some way
As far as I know at the moment, .yml files can be translated. This is very interesting if you want to support multiple languages, you may have multiple users who want to use your plugin in a native language. About this, I hope to help in some way
To submit translations, you will first need a Crowdin account. You can sign up for one here. After creating an account you can submit your translations for the voice recorder component by doing the following:
I stumbled on this js library but I’m not sure if it would work or be easy to substitute in:
But I figured I’d document it here in case anyone was interested in trying.
Edit: this one may be even better because it also has an option for video and screen recording. The only challenge may be that it records to wav or ogg, not mp3, but says there may an easy way to convert wav to mp3 with a different library: