MediaRecorderOptions Class
The options of a MediaRecorder (https://w3c.github.io/mediacapture-record/#dictdef-mediarecorderoptions).
public sealed class MediaRecorderOptionsConstructors
| Name | Description |
|---|---|
| MediaRecorderOptions() |
MediaRecorderOptions()
MediaRecorder.cspublic MediaRecorderOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AudioBitrateMode | Gets how the audio encoder controls its bitrate. |
| AudioBitsPerSecond | Gets the target bitrate of the audio, in bits per second. |
| BitsPerSecond | Gets the target bitrate of the audio and the video together, in bits per second (it overrides the other bitrates). |
| MimeType | Gets the container and the codecs of the recording (e.g. video/webm;codecs=vp8,opus), or an empty string to let the recorder choose. |
| VideoBitsPerSecond | Gets the target bitrate of the video, in bits per second. |
| VideoKeyFrameIntervalCount | Gets the largest number of video frames between two key frames. |
| VideoKeyFrameIntervalDuration | Gets the largest duration between two video key frames, in milliseconds. |
AudioBitrateMode
MediaRecorder.csGets how the audio encoder controls its bitrate.
public BitrateMode AudioBitrateMode { get; init; }AudioBitsPerSecond
MediaRecorder.csGets the target bitrate of the audio, in bits per second.
public uint? AudioBitsPerSecond { get; init; }BitsPerSecond
MediaRecorder.csGets the target bitrate of the audio and the video together, in bits per second (it overrides the other bitrates).
public uint? BitsPerSecond { get; init; }Property value
See also
MimeType
MediaRecorder.csGets the container and the codecs of the recording (e.g. video/webm;codecs=vp8,opus), or an empty string to let the recorder choose.
public string MimeType { get; init; }Property value
See also
VideoBitsPerSecond
MediaRecorder.csGets the target bitrate of the video, in bits per second.
public uint? VideoBitsPerSecond { get; init; }VideoKeyFrameIntervalCount
MediaRecorder.csGets the largest number of video frames between two key frames.
public uint? VideoKeyFrameIntervalCount { get; init; }VideoKeyFrameIntervalDuration
MediaRecorder.csGets the largest duration between two video key frames, in milliseconds.
public double? VideoKeyFrameIntervalDuration { get; init; }