Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VideoCaptureResult
Passed as the result argument of UserVideoCaptureFailed when a video capture session ends. VideoCaptureResult.Success means the capture completed normally; other values identify why recording stopped.
Items
| Name | Value | Description |
|---|---|---|
| Success | 0 | Video capture ended normally without any errors. |
| OtherError | 1 | Video capture stopped due to an unspecified internal error. |
| ScreenSizeChanged | 2 | Video capture was interrupted because the screen dimensions changed while recording was in progress. |
| TimeLimitReached | 3 | Video capture was stopped automatically because the maximum allowed recording duration was reached. |
Success
Video capture ended normally without any errors.
| Field | Value |
|---|---|
| value | 0 |
OtherError
Video capture stopped due to an unspecified internal error.
| Field | Value |
|---|---|
| value | 1 |
ScreenSizeChanged
Video capture was interrupted because the screen dimensions changed while recording was in progress.
| Field | Value |
|---|---|
| value | 2 |
TimeLimitReached
Video capture was stopped automatically because the maximum allowed recording duration was reached.
| Field | Value |
|---|---|
| value | 3 |