Add audio recording to capture to file sample.
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.3k
- Forks
- 194
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
I have seen in the "capture-to-file" sample how to encode and save the MediaStream from a Webcam, but is there a simple way to combine it with the recorded audio?
"https://w3c.github.io/webcodecs/samples/capture-to-file/capture-to-file.html"
I am aware of MediaRecorder, but I cannot use it for certain reasons.
I would appreciate any suggestions or solutions. Thank you very much.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked capture-to-file sample and review how it encodes and saves the webcam MediaStream. Investigate whether WebCodecs audio encoding can be combined with that path without using MediaRecorder. Done should mean the sample records and saves both audio and video, but the issue does not specify the required audio source, format, or synchronization behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100