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

Show how to set resolution and frame rate #2698

Merged
merged 3 commits into from
Mar 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions files/en-us/web/api/mediarecorder/mediarecorder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ <h3 id="Parameters">Parameters</h3>
<p>If bits per second values are not specified for video and/or audio, the default
adopted for video is 2.5Mbps, while the audio default is adaptive, depending upon
the sample rate and the number of channels.</p>
</div>
<div class="note">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, this should also have a class="notecard" (not only „note”)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

<p>Video resolution, frame rate and similar settings are specified as constraints
when calling {{domxref("MediaDevices.getUserMedia", "getUserMedia()")}},
not here in the MediaRecorder API.</p>
Expand Down