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

Update options documentation to match default in code for videoMimeType #677

Merged

Conversation

nicolo-kira
Copy link
Contributor

According to https://github.com/collab-project/videojs-record/blame/master/src/js/defaults.js#L49 the default for the videoMimeType option is video/webm and not video/webm;codecs=vp8

Debated changing the defaults file but video/webm;codecs=vp8 did not work with Firefox with this error:

VIDEOJS: ERROR: DOMException: MediaRecorder.start: An audio track cannot be recorded: video/webm;codecs=vp8 indicates an unsupported codec

while video/webm has no such issues

@thijstriemstra thijstriemstra merged commit 828098b into collab-project:master Feb 14, 2024
@thijstriemstra
Copy link
Member

thanks!

@nicolo-kira nicolo-kira deleted the docs-video-mime-type-default branch October 10, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants