Skip to content

agent


@tsky/client / agent / Video

Video ​

Defined in: client/src/agent.ts:1094

Constructors ​

new Video() ​

ts
new Video(client): Video

Defined in: client/src/agent.ts:1095

Parameters ​

client ​

Client

Returns ​

Video

Methods ​

limit() ​

ts
limit(options): Promise<Output>

Defined in: client/src/agent.ts:1100

Get video upload limits for the authenticated user.

Parameters ​

options ​

RPCOptions = {}

Returns ​

Promise<Output>


status() ​

ts
status(jobId, options?): Promise<JobStatus>

Defined in: client/src/agent.ts:1112

Get status details for a video processing job.

Parameters ​

jobId ​

string

options? ​

RPCOptions

Returns ​

Promise<JobStatus>


upload() ​

ts
upload(data, options?): Promise<JobStatus>

Defined in: client/src/agent.ts:1124

Upload a video to be processed then stored on the PDS.

Parameters ​

data ​

Input

options? ​

RPCOptions

Returns ​

Promise<JobStatus>