Episodes
cjstewar said over 1 year ago on Record Audio to Active Storage :
This is really cool! Question: Do you have any episodes that cover uploading music files and reading/changing meta data tags?

David Kimura PRO said over 1 year ago on Record Audio to Active Storage :
  cjstewar  I do not currently have one for reading the metadata tags, but I like the idea. I think that changing the metadata could be a bit more difficult, but reading it should be possible.

cjstewar said over 1 year ago on Record Audio to Active Storage :
Even reading would be great! 

dedannie said about 1 year ago on Record Audio to Active Storage :
What need to be changed if we would like record video instead of audio?

David Kimura PRO said about 1 year ago on Record Audio to Active Storage :
  dedannie You would likely need to make most of your changes in the recorder function and also change the stream function to allow video. This episode may help with getting the camera to show. You would just want to ignore the bits about the streaming server as you wouldn't be transmitting the video feed.

https://www.driftingruby.com/episodes/video-chat-with-webrtc

TEST
Episode 246 - Video Chat with WebRTC

Using ActionCable and StimulusJS, we can create a Zoom-like video chat functionality where chat rooms can share live audio and video streams.

https://www.driftingruby.com/episodes/video-chat-with-webrtc


dedannie said about 1 year ago on Record Audio to Active Storage :
Yes, I made it work. Thanks a lot!

snRenato PRO said 11 months ago on Record Audio to Active Storage :
instead of recording could I upload an audio instead ?

David Kimura PRO said 11 months ago on Record Audio to Active Storage :
  snRenato Yes, and you would likely not use any of the Stimulus controller parts since the file is already generated. For audio files (and likewise with images), you should probably have some front end validation with the mime types that you would accept in a comma separated string. For example, in this case, you would accept MP3 (or similar).

<%= form.file_field :media, direct_upload: true, accept: 'audio/mpeg' %>

Login to Comment