Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio recording in media importer #1538

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

clpetersonucf
Copy link
Member

@clpetersonucf clpetersonucf commented Oct 26, 2023

Adds a built-in media recorder option to the media importer.

Note: this uses the mediaRecorder interface which is relatively new. It has cross-browser support, but a few quirks: there may be browser compatibility issues related to the audio format(s) used for recording. audio/webm; codecs=opus is hard-coded as the MIME type due to general compatibility.

Additionally, the blobs generated by the mediaRecorder interface due not contain duration metadata. This is apparently a bug in chromium that has previously been tagged as wontfix due to it being "by design". Instead, I had to use a fix-webm-duration package that reads the blob after recording has stopped and returns a modified blob that includes the correct duration information.

Replacement for #1527 since that was accidentally closed when I deleted dev/10.0.1 before changing the original PR's base branch.

@clpetersonucf clpetersonucf deleted the branch ucfopen:master February 9, 2024 19:57
@clpetersonucf clpetersonucf reopened this Feb 9, 2024
@clpetersonucf clpetersonucf changed the base branch from dev/10.1.0 to master February 9, 2024 20:01
@clpetersonucf clpetersonucf changed the base branch from master to dev/10.2.0 March 27, 2024 19:05
@clpetersonucf clpetersonucf changed the base branch from dev/10.2.0 to dev/10.3.0 July 16, 2024 19:19
@clpetersonucf clpetersonucf marked this pull request as ready for review July 24, 2024 20:45
@clpetersonucf clpetersonucf deleted the branch ucfopen:master December 12, 2024 14:42
@clpetersonucf clpetersonucf reopened this Dec 12, 2024
@clpetersonucf clpetersonucf changed the base branch from dev/10.3.0 to master December 12, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant