MediaRecorderOptions Class

The options of a MediaRecorder (https://w3c.github.io/mediacapture-record/#dictdef-mediarecorderoptions).

public sealed class MediaRecorderOptions

Constructors

NameDescription
MediaRecorderOptions()

MediaRecorderOptions()

MediaRecorder.cs
public MediaRecorderOptions()

No documentation is available.

Properties

NameDescription
AudioBitrateModeGets how the audio encoder controls its bitrate.
AudioBitsPerSecondGets the target bitrate of the audio, in bits per second.
BitsPerSecondGets the target bitrate of the audio and the video together, in bits per second (it overrides the other bitrates).
MimeTypeGets the container and the codecs of the recording (e.g. video/webm;codecs=vp8,opus), or an empty string to let the recorder choose.
VideoBitsPerSecondGets the target bitrate of the video, in bits per second.
VideoKeyFrameIntervalCountGets the largest number of video frames between two key frames.
VideoKeyFrameIntervalDurationGets the largest duration between two video key frames, in milliseconds.

AudioBitrateMode

MediaRecorder.cs

Gets how the audio encoder controls its bitrate.

public BitrateMode AudioBitrateMode { get; init; }

AudioBitsPerSecond

MediaRecorder.cs

Gets the target bitrate of the audio, in bits per second.

public uint? AudioBitsPerSecond { get; init; }

BitsPerSecond

MediaRecorder.cs

Gets the target bitrate of the audio and the video together, in bits per second (it overrides the other bitrates).

public uint? BitsPerSecond { get; init; }

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.

public string MimeType { get; init; }

VideoBitsPerSecond

MediaRecorder.cs

Gets the target bitrate of the video, in bits per second.

public uint? VideoBitsPerSecond { get; init; }

VideoKeyFrameIntervalCount

MediaRecorder.cs

Gets the largest number of video frames between two key frames.

public uint? VideoKeyFrameIntervalCount { get; init; }

VideoKeyFrameIntervalDuration

MediaRecorder.cs

Gets the largest duration between two video key frames, in milliseconds.

public double? VideoKeyFrameIntervalDuration { get; init; }