Skip to content

@bvdmitri/web360 / Web360ErrorCode

Type Alias: Web360ErrorCode ​

Web360ErrorCode = "render-unavailable" | "webcodecs-unavailable" | "codec-unsupported" | "decode" | "missing-second-file" | "unreadable-recording"

Defined in: web360/src/errors.ts:11

Why a rendition could not be made, as a code an application can act on.

Remarks ​

render-unavailable: the browser has no WebGPU device. webcodecs-unavailable: it has no WebCodecs. codec-unsupported: it cannot decode the recording's video codec. decode: decoding failed partway. missing-second-file: a split recording was opened without its second file. unreadable-recording: the files are not a recording web360 reads.

Released under the MIT License.