Skip to main content

Class: ProcessedVideo

Defined in: WAProto/index.d.ts:40067

Represents a ProcessedVideo.

Implements

Constructors

new ProcessedVideo()

new ProcessedVideo(properties?): ProcessedVideo

Defined in: WAProto/index.d.ts:40073

Constructs a new ProcessedVideo.

Parameters

properties?

IProcessedVideo

Properties to set

Returns

ProcessedVideo

Properties

bitrate?

optional bitrate: null | number

Defined in: WAProto/index.d.ts:40091

ProcessedVideo bitrate.

Implementation of

IProcessedVideo.bitrate


capabilities

capabilities: string[]

Defined in: WAProto/index.d.ts:40097

ProcessedVideo capabilities.

Implementation of

IProcessedVideo.capabilities


directPath?

optional directPath: null | string

Defined in: WAProto/index.d.ts:40076

ProcessedVideo directPath.

Implementation of

IProcessedVideo.directPath


fileLength?

optional fileLength: null | number | Long

Defined in: WAProto/index.d.ts:40088

ProcessedVideo fileLength.

Implementation of

IProcessedVideo.fileLength


fileSha256?

optional fileSha256: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:40079

ProcessedVideo fileSha256.

Implementation of

IProcessedVideo.fileSha256


height?

optional height: null | number

Defined in: WAProto/index.d.ts:40082

ProcessedVideo height.

Implementation of

IProcessedVideo.height


quality?

optional quality: null | VideoQuality

Defined in: WAProto/index.d.ts:40094

ProcessedVideo quality.

Implementation of

IProcessedVideo.quality


width?

optional width: null | number

Defined in: WAProto/index.d.ts:40085

ProcessedVideo width.

Implementation of

IProcessedVideo.width

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:40167

Converts this ProcessedVideo to JSON.

Returns

object

JSON object


create()

static create(properties?): ProcessedVideo

Defined in: WAProto/index.d.ts:40104

Creates a new ProcessedVideo instance using the specified properties.

Parameters

properties?

IProcessedVideo

Properties to set

Returns

ProcessedVideo

ProcessedVideo instance


decode()

static decode(reader, length?): ProcessedVideo

Defined in: WAProto/index.d.ts:40130

Decodes a ProcessedVideo message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

ProcessedVideo

ProcessedVideo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): ProcessedVideo

Defined in: WAProto/index.d.ts:40139

Decodes a ProcessedVideo message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

ProcessedVideo

ProcessedVideo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

Defined in: WAProto/index.d.ts:40112

Encodes the specified ProcessedVideo message. Does not implicitly verify messages.

Parameters

message

IProcessedVideo

ProcessedVideo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

Defined in: WAProto/index.d.ts:40120

Encodes the specified ProcessedVideo message, length delimited. Does not implicitly verify messages.

Parameters

message

IProcessedVideo

ProcessedVideo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): ProcessedVideo

Defined in: WAProto/index.d.ts:40153

Creates a ProcessedVideo message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

ProcessedVideo

ProcessedVideo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:40174

Gets the default type url for ProcessedVideo

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

Defined in: WAProto/index.d.ts:40161

Creates a plain object from a ProcessedVideo message. Also converts values to other types if specified.

Parameters

message

ProcessedVideo

ProcessedVideo

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

Defined in: WAProto/index.d.ts:40146

Verifies a ProcessedVideo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not