Android.Media.MediaRecorder.SetVideoFrameRate Method
Sets the frame rate of the video to be captured.

Syntax

[Android.Runtime.Register("setVideoFrameRate", "(I)V", "GetSetVideoFrameRate_IHandler")]
public virtual void SetVideoFrameRate (int rate)

Parameters

rate
the number of frames per second of video to capture

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif it is called after prepare() or before setOutputFormat(). NOTE: On some devices that have auto-frame rate, this sets the maximum frame rate, not a constant frame rate. Actual frame rate will vary according to lighting conditions.

Remarks

Sets the frame rate of the video to be captured. Must be called after setVideoSource(). Call this after setOutFormat() but before prepare().

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3