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.
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.
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).
https://www.driftingruby.com/episodes/video-chat-with-webrtc
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