3 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

VideoError

VideoError represents the outcome of video operations performed by the engine. Values are surfaced through video-related callbacks and APIs to describe why an operation succeeded or failed.

Items

NameValueDescription
Ok0The video operation completed successfully without error.
Eof1The end of the video stream or file has been reached.
EAgain2No data is available at this moment; the caller should retry the operation.
BadParameter3An invalid or out-of-range parameter was supplied to the video operation.
AllocFailed4A memory allocation required for the video operation failed.
CodecInitFailed5The video codec failed to initialize.
CodecCloseFailed6The video codec failed to shut down cleanly.
DecodeFailed7The video decoder failed to decode a frame from the stream.
ParsingFailed8Parsing the video stream or container format failed.
Unsupported9The requested video operation or format is not supported on this platform.
Generic10A generic or unclassified error occurred in the video subsystem.
DownloadFailed11The video asset could not be downloaded.
StreamNotFound12The requested video stream could not be found.
EncodeFailed13The video encoder failed to encode a frame.
CreateFailed14Creating a required video resource or object failed.
NoPermission15The video operation was denied because the required permission, such as camera access, has not been granted.
NoService16The required video service is unavailable on this device or platform.
ReleaseFailed17Releasing a video resource failed.
Unknown18An unknown or unrecognized error occurred; this value covers errors that have no specific classification in this enum.

Ok

The video operation completed successfully without error.

FieldValue
value0

Eof

The end of the video stream or file has been reached.

FieldValue
value1

EAgain

No data is available at this moment; the caller should retry the operation.

FieldValue
value2

BadParameter

An invalid or out-of-range parameter was supplied to the video operation.

FieldValue
value3

AllocFailed

A memory allocation required for the video operation failed.

FieldValue
value4

CodecInitFailed

The video codec failed to initialize.

FieldValue
value5

CodecCloseFailed

The video codec failed to shut down cleanly.

FieldValue
value6

DecodeFailed

The video decoder failed to decode a frame from the stream.

FieldValue
value7

ParsingFailed

Parsing the video stream or container format failed.

FieldValue
value8

Unsupported

The requested video operation or format is not supported on this platform.

FieldValue
value9

Generic

A generic or unclassified error occurred in the video subsystem.

FieldValue
value10

DownloadFailed

The video asset could not be downloaded.

FieldValue
value11

StreamNotFound

The requested video stream could not be found.

FieldValue
value12

EncodeFailed

The video encoder failed to encode a frame.

FieldValue
value13

CreateFailed

Creating a required video resource or object failed.

FieldValue
value14

NoPermission

The video operation was denied because the required permission, such as camera access, has not been granted.

FieldValue
value15

NoService

The required video service is unavailable on this device or platform.

FieldValue
value16

ReleaseFailed

Releasing a video resource failed.

FieldValue
value17

Unknown

An unknown or unrecognized error occurred; this value covers errors that have no specific classification in this enum.

FieldValue
value18