larksr_websdk
Version:
Larksr websdk. Easy to build a cloud render client for larksr system or ue4 pixelstreaming.docs: https://paraversetechnology.github.io/en/webclient_sdk/
1,282 lines (1,037 loc) • 400 kB
TypeScript
import * as $protobuf from "protobufjs";
/** Namespace CloudLark. */
export namespace CloudLark {
/** Properties of a Version. */
interface IVersion {
/** Version versionMarjor */
versionMarjor?: (number|null);
/** Version versionMinor */
versionMinor?: (number|null);
/** Version versionRevise */
versionRevise?: (number|null);
/** Version versionBuild */
versionBuild?: (number|null);
}
/** Represents a Version. */
class Version implements IVersion {
/**
* Constructs a new Version.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IVersion);
/** Version versionMarjor. */
public versionMarjor: number;
/** Version versionMinor. */
public versionMinor: number;
/** Version versionRevise. */
public versionRevise: number;
/** Version versionBuild. */
public versionBuild: number;
/**
* Creates a new Version instance using the specified properties.
* @param [properties] Properties to set
* @returns Version instance
*/
public static create(properties?: CloudLark.IVersion): CloudLark.Version;
/**
* Encodes the specified Version message. Does not implicitly {@link CloudLark.Version.verify|verify} messages.
* @param message Version message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IVersion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Version message, length delimited. Does not implicitly {@link CloudLark.Version.verify|verify} messages.
* @param message Version message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IVersion, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Version message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Version
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.Version;
/**
* Decodes a Version message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Version
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.Version;
/**
* Verifies a Version message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Version message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Version
*/
public static fromObject(object: { [k: string]: any }): CloudLark.Version;
/**
* Creates a plain object from a Version message. Also converts values to other types if specified.
* @param message Version
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.Version, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Version to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a VersionCheck. */
interface IVersionCheck {
/** VersionCheck clientVer */
clientVer?: (CloudLark.IVersion|null);
}
/** Represents a VersionCheck. */
class VersionCheck implements IVersionCheck {
/**
* Constructs a new VersionCheck.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IVersionCheck);
/** VersionCheck clientVer. */
public clientVer?: (CloudLark.IVersion|null);
/**
* Creates a new VersionCheck instance using the specified properties.
* @param [properties] Properties to set
* @returns VersionCheck instance
*/
public static create(properties?: CloudLark.IVersionCheck): CloudLark.VersionCheck;
/**
* Encodes the specified VersionCheck message. Does not implicitly {@link CloudLark.VersionCheck.verify|verify} messages.
* @param message VersionCheck message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IVersionCheck, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified VersionCheck message, length delimited. Does not implicitly {@link CloudLark.VersionCheck.verify|verify} messages.
* @param message VersionCheck message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IVersionCheck, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a VersionCheck message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns VersionCheck
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.VersionCheck;
/**
* Decodes a VersionCheck message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns VersionCheck
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.VersionCheck;
/**
* Verifies a VersionCheck message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a VersionCheck message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns VersionCheck
*/
public static fromObject(object: { [k: string]: any }): CloudLark.VersionCheck;
/**
* Creates a plain object from a VersionCheck message. Also converts values to other types if specified.
* @param message VersionCheck
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.VersionCheck, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this VersionCheck to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a VersionCheckResponse. */
interface IVersionCheckResponse {
/** VersionCheckResponse response */
response?: (boolean|null);
/** VersionCheckResponse serverVer */
serverVer?: (CloudLark.IVersion|null);
/** VersionCheckResponse clientVer */
clientVer?: (CloudLark.IVersion|null);
}
/** Represents a VersionCheckResponse. */
class VersionCheckResponse implements IVersionCheckResponse {
/**
* Constructs a new VersionCheckResponse.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IVersionCheckResponse);
/** VersionCheckResponse response. */
public response: boolean;
/** VersionCheckResponse serverVer. */
public serverVer?: (CloudLark.IVersion|null);
/** VersionCheckResponse clientVer. */
public clientVer?: (CloudLark.IVersion|null);
/**
* Creates a new VersionCheckResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns VersionCheckResponse instance
*/
public static create(properties?: CloudLark.IVersionCheckResponse): CloudLark.VersionCheckResponse;
/**
* Encodes the specified VersionCheckResponse message. Does not implicitly {@link CloudLark.VersionCheckResponse.verify|verify} messages.
* @param message VersionCheckResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IVersionCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified VersionCheckResponse message, length delimited. Does not implicitly {@link CloudLark.VersionCheckResponse.verify|verify} messages.
* @param message VersionCheckResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IVersionCheckResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a VersionCheckResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns VersionCheckResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.VersionCheckResponse;
/**
* Decodes a VersionCheckResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns VersionCheckResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.VersionCheckResponse;
/**
* Verifies a VersionCheckResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a VersionCheckResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns VersionCheckResponse
*/
public static fromObject(object: { [k: string]: any }): CloudLark.VersionCheckResponse;
/**
* Creates a plain object from a VersionCheckResponse message. Also converts values to other types if specified.
* @param message VersionCheckResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.VersionCheckResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this VersionCheckResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a TaskRequest. */
interface ITaskRequest {
/** TaskRequest taskid */
taskid?: (string|null);
/** TaskRequest type */
type?: (CloudLark.TaskRequest.Type|null);
/** TaskRequest nickname */
nickname?: (string|null);
}
/** Represents a TaskRequest. */
class TaskRequest implements ITaskRequest {
/**
* Constructs a new TaskRequest.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.ITaskRequest);
/** TaskRequest taskid. */
public taskid: string;
/** TaskRequest type. */
public type: CloudLark.TaskRequest.Type;
/** TaskRequest nickname. */
public nickname: string;
/**
* Creates a new TaskRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns TaskRequest instance
*/
public static create(properties?: CloudLark.ITaskRequest): CloudLark.TaskRequest;
/**
* Encodes the specified TaskRequest message. Does not implicitly {@link CloudLark.TaskRequest.verify|verify} messages.
* @param message TaskRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.ITaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TaskRequest message, length delimited. Does not implicitly {@link CloudLark.TaskRequest.verify|verify} messages.
* @param message TaskRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.ITaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TaskRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TaskRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.TaskRequest;
/**
* Decodes a TaskRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TaskRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.TaskRequest;
/**
* Verifies a TaskRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a TaskRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TaskRequest
*/
public static fromObject(object: { [k: string]: any }): CloudLark.TaskRequest;
/**
* Creates a plain object from a TaskRequest message. Also converts values to other types if specified.
* @param message TaskRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.TaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TaskRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
namespace TaskRequest {
/** Type enum. */
enum Type {
PLAYER = 0,
OB = 1
}
}
/** TaskType enum. */
enum TaskType {
UNKNOWN = 0,
DESKTOP = 1,
SHARED = 2,
VR = 3,
XR = 4
}
/** Properties of a TaskDesc. */
interface ITaskDesc {
/** TaskDesc desktopWidth */
desktopWidth?: (number|null);
/** TaskDesc desktopHeight */
desktopHeight?: (number|null);
}
/** Represents a TaskDesc. */
class TaskDesc implements ITaskDesc {
/**
* Constructs a new TaskDesc.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.ITaskDesc);
/** TaskDesc desktopWidth. */
public desktopWidth: number;
/** TaskDesc desktopHeight. */
public desktopHeight: number;
/**
* Creates a new TaskDesc instance using the specified properties.
* @param [properties] Properties to set
* @returns TaskDesc instance
*/
public static create(properties?: CloudLark.ITaskDesc): CloudLark.TaskDesc;
/**
* Encodes the specified TaskDesc message. Does not implicitly {@link CloudLark.TaskDesc.verify|verify} messages.
* @param message TaskDesc message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.ITaskDesc, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TaskDesc message, length delimited. Does not implicitly {@link CloudLark.TaskDesc.verify|verify} messages.
* @param message TaskDesc message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.ITaskDesc, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TaskDesc message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TaskDesc
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.TaskDesc;
/**
* Decodes a TaskDesc message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TaskDesc
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.TaskDesc;
/**
* Verifies a TaskDesc message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a TaskDesc message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TaskDesc
*/
public static fromObject(object: { [k: string]: any }): CloudLark.TaskDesc;
/**
* Creates a plain object from a TaskDesc message. Also converts values to other types if specified.
* @param message TaskDesc
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.TaskDesc, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TaskDesc to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a TaskResponse. */
interface ITaskResponse {
/** TaskResponse response */
response?: (CloudLark.TaskResponse.Response|null);
/** TaskResponse uid */
uid?: (number|null);
/** TaskResponse prestart */
prestart?: (boolean|null);
/** TaskResponse reason */
reason?: (string|null);
/** TaskResponse desc */
desc?: (CloudLark.ITaskDesc|null);
}
/** Represents a TaskResponse. */
class TaskResponse implements ITaskResponse {
/**
* Constructs a new TaskResponse.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.ITaskResponse);
/** TaskResponse response. */
public response: CloudLark.TaskResponse.Response;
/** TaskResponse uid. */
public uid: number;
/** TaskResponse prestart. */
public prestart: boolean;
/** TaskResponse reason. */
public reason: string;
/** TaskResponse desc. */
public desc?: (CloudLark.ITaskDesc|null);
/**
* Creates a new TaskResponse instance using the specified properties.
* @param [properties] Properties to set
* @returns TaskResponse instance
*/
public static create(properties?: CloudLark.ITaskResponse): CloudLark.TaskResponse;
/**
* Encodes the specified TaskResponse message. Does not implicitly {@link CloudLark.TaskResponse.verify|verify} messages.
* @param message TaskResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.ITaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TaskResponse message, length delimited. Does not implicitly {@link CloudLark.TaskResponse.verify|verify} messages.
* @param message TaskResponse message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.ITaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TaskResponse message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TaskResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.TaskResponse;
/**
* Decodes a TaskResponse message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TaskResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.TaskResponse;
/**
* Verifies a TaskResponse message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a TaskResponse message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TaskResponse
*/
public static fromObject(object: { [k: string]: any }): CloudLark.TaskResponse;
/**
* Creates a plain object from a TaskResponse message. Also converts values to other types if specified.
* @param message TaskResponse
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.TaskResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TaskResponse to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
namespace TaskResponse {
/** Response enum. */
enum Response {
TASK_SUCCESS = 0,
TASK_NOTFOUND = 1,
TASK_SERVER_ERROR = 2,
TASK_APP_WRONGPARAM = 3,
TASK_NO_GPU_RESOURCE = 4
}
}
/** Properties of a StartStreamRequest. */
interface IStartStreamRequest {
/** StartStreamRequest width */
width?: (number|null);
/** StartStreamRequest height */
height?: (number|null);
/** StartStreamRequest fps */
fps?: (number|null);
/** StartStreamRequest bitrateKbps */
bitrateKbps?: (number|null);
/** StartStreamRequest useWebcodec */
useWebcodec?: (boolean|null);
}
/** Represents a StartStreamRequest. */
class StartStreamRequest implements IStartStreamRequest {
/**
* Constructs a new StartStreamRequest.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IStartStreamRequest);
/** StartStreamRequest width. */
public width: number;
/** StartStreamRequest height. */
public height: number;
/** StartStreamRequest fps. */
public fps: number;
/** StartStreamRequest bitrateKbps. */
public bitrateKbps: number;
/** StartStreamRequest useWebcodec. */
public useWebcodec: boolean;
/**
* Creates a new StartStreamRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns StartStreamRequest instance
*/
public static create(properties?: CloudLark.IStartStreamRequest): CloudLark.StartStreamRequest;
/**
* Encodes the specified StartStreamRequest message. Does not implicitly {@link CloudLark.StartStreamRequest.verify|verify} messages.
* @param message StartStreamRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IStartStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StartStreamRequest message, length delimited. Does not implicitly {@link CloudLark.StartStreamRequest.verify|verify} messages.
* @param message StartStreamRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IStartStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StartStreamRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StartStreamRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.StartStreamRequest;
/**
* Decodes a StartStreamRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StartStreamRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.StartStreamRequest;
/**
* Verifies a StartStreamRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a StartStreamRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StartStreamRequest
*/
public static fromObject(object: { [k: string]: any }): CloudLark.StartStreamRequest;
/**
* Creates a plain object from a StartStreamRequest message. Also converts values to other types if specified.
* @param message StartStreamRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.StartStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StartStreamRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a StartVrStreamRequest. */
interface IStartVrStreamRequest {
/** StartVrStreamRequest width */
width?: (number|null);
/** StartVrStreamRequest height */
height?: (number|null);
/** StartVrStreamRequest fps */
fps?: (number|null);
/** StartVrStreamRequest bitrateKbps */
bitrateKbps?: (number|null);
/** StartVrStreamRequest ipd */
ipd?: (number|null);
/** StartVrStreamRequest roomSet */
roomSet?: (number|null);
/** StartVrStreamRequest fov */
fov?: (number[]|null);
/** StartVrStreamRequest hasTouchcontroller */
hasTouchcontroller?: (boolean|null);
/** StartVrStreamRequest useKcp */
useKcp?: (boolean|null);
/** StartVrStreamRequest useH265 */
useH265?: (boolean|null);
}
/** Represents a StartVrStreamRequest. */
class StartVrStreamRequest implements IStartVrStreamRequest {
/**
* Constructs a new StartVrStreamRequest.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IStartVrStreamRequest);
/** StartVrStreamRequest width. */
public width: number;
/** StartVrStreamRequest height. */
public height: number;
/** StartVrStreamRequest fps. */
public fps: number;
/** StartVrStreamRequest bitrateKbps. */
public bitrateKbps: number;
/** StartVrStreamRequest ipd. */
public ipd: number;
/** StartVrStreamRequest roomSet. */
public roomSet: number;
/** StartVrStreamRequest fov. */
public fov: number[];
/** StartVrStreamRequest hasTouchcontroller. */
public hasTouchcontroller: boolean;
/** StartVrStreamRequest useKcp. */
public useKcp: boolean;
/** StartVrStreamRequest useH265. */
public useH265: boolean;
/**
* Creates a new StartVrStreamRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns StartVrStreamRequest instance
*/
public static create(properties?: CloudLark.IStartVrStreamRequest): CloudLark.StartVrStreamRequest;
/**
* Encodes the specified StartVrStreamRequest message. Does not implicitly {@link CloudLark.StartVrStreamRequest.verify|verify} messages.
* @param message StartVrStreamRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IStartVrStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified StartVrStreamRequest message, length delimited. Does not implicitly {@link CloudLark.StartVrStreamRequest.verify|verify} messages.
* @param message StartVrStreamRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IStartVrStreamRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a StartVrStreamRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns StartVrStreamRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.StartVrStreamRequest;
/**
* Decodes a StartVrStreamRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns StartVrStreamRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.StartVrStreamRequest;
/**
* Verifies a StartVrStreamRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a StartVrStreamRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns StartVrStreamRequest
*/
public static fromObject(object: { [k: string]: any }): CloudLark.StartVrStreamRequest;
/**
* Creates a plain object from a StartVrStreamRequest message. Also converts values to other types if specified.
* @param message StartVrStreamRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.StartVrStreamRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this StartVrStreamRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a FoveatedAxisRendering. */
interface IFoveatedAxisRendering {
/** FoveatedAxisRendering enableFoveateAxisRendering */
enableFoveateAxisRendering?: (boolean|null);
/** FoveatedAxisRendering foveationCenterSizeX */
foveationCenterSizeX?: (number|null);
/** FoveatedAxisRendering foveationCenterSizeY */
foveationCenterSizeY?: (number|null);
/** FoveatedAxisRendering foveationCenterShiftX */
foveationCenterShiftX?: (number|null);
/** FoveatedAxisRendering foveationCenterShiftY */
foveationCenterShiftY?: (number|null);
/** FoveatedAxisRendering foveationEdgeRatioX */
foveationEdgeRatioX?: (number|null);
/** FoveatedAxisRendering foveationEdgeRatioY */
foveationEdgeRatioY?: (number|null);
}
/** Represents a FoveatedAxisRendering. */
class FoveatedAxisRendering implements IFoveatedAxisRendering {
/**
* Constructs a new FoveatedAxisRendering.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IFoveatedAxisRendering);
/** FoveatedAxisRendering enableFoveateAxisRendering. */
public enableFoveateAxisRendering: boolean;
/** FoveatedAxisRendering foveationCenterSizeX. */
public foveationCenterSizeX: number;
/** FoveatedAxisRendering foveationCenterSizeY. */
public foveationCenterSizeY: number;
/** FoveatedAxisRendering foveationCenterShiftX. */
public foveationCenterShiftX: number;
/** FoveatedAxisRendering foveationCenterShiftY. */
public foveationCenterShiftY: number;
/** FoveatedAxisRendering foveationEdgeRatioX. */
public foveationEdgeRatioX: number;
/** FoveatedAxisRendering foveationEdgeRatioY. */
public foveationEdgeRatioY: number;
/**
* Creates a new FoveatedAxisRendering instance using the specified properties.
* @param [properties] Properties to set
* @returns FoveatedAxisRendering instance
*/
public static create(properties?: CloudLark.IFoveatedAxisRendering): CloudLark.FoveatedAxisRendering;
/**
* Encodes the specified FoveatedAxisRendering message. Does not implicitly {@link CloudLark.FoveatedAxisRendering.verify|verify} messages.
* @param message FoveatedAxisRendering message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IFoveatedAxisRendering, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FoveatedAxisRendering message, length delimited. Does not implicitly {@link CloudLark.FoveatedAxisRendering.verify|verify} messages.
* @param message FoveatedAxisRendering message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IFoveatedAxisRendering, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FoveatedAxisRendering message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FoveatedAxisRendering
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.FoveatedAxisRendering;
/**
* Decodes a FoveatedAxisRendering message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FoveatedAxisRendering
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.FoveatedAxisRendering;
/**
* Verifies a FoveatedAxisRendering message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a FoveatedAxisRendering message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FoveatedAxisRendering
*/
public static fromObject(object: { [k: string]: any }): CloudLark.FoveatedAxisRendering;
/**
* Creates a plain object from a FoveatedAxisRendering message. Also converts values to other types if specified.
* @param message FoveatedAxisRendering
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.FoveatedAxisRendering, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FoveatedAxisRendering to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a FoveatedRendering. */
interface IFoveatedRendering {
/** FoveatedRendering enableFoveateRendering */
enableFoveateRendering?: (boolean|null);
/** FoveatedRendering foveationStrength */
foveationStrength?: (number|null);
/** FoveatedRendering foveationShape */
foveationShape?: (number|null);
/** FoveatedRendering foveationVerticalOffset */
foveationVerticalOffset?: (number|null);
/** FoveatedRendering axis */
axis?: (CloudLark.IFoveatedAxisRendering|null);
}
/** Represents a FoveatedRendering. */
class FoveatedRendering implements IFoveatedRendering {
/**
* Constructs a new FoveatedRendering.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IFoveatedRendering);
/** FoveatedRendering enableFoveateRendering. */
public enableFoveateRendering: boolean;
/** FoveatedRendering foveationStrength. */
public foveationStrength: number;
/** FoveatedRendering foveationShape. */
public foveationShape: number;
/** FoveatedRendering foveationVerticalOffset. */
public foveationVerticalOffset: number;
/** FoveatedRendering axis. */
public axis?: (CloudLark.IFoveatedAxisRendering|null);
/**
* Creates a new FoveatedRendering instance using the specified properties.
* @param [properties] Properties to set
* @returns FoveatedRendering instance
*/
public static create(properties?: CloudLark.IFoveatedRendering): CloudLark.FoveatedRendering;
/**
* Encodes the specified FoveatedRendering message. Does not implicitly {@link CloudLark.FoveatedRendering.verify|verify} messages.
* @param message FoveatedRendering message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IFoveatedRendering, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FoveatedRendering message, length delimited. Does not implicitly {@link CloudLark.FoveatedRendering.verify|verify} messages.
* @param message FoveatedRendering message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IFoveatedRendering, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FoveatedRendering message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FoveatedRendering
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.FoveatedRendering;
/**
* Decodes a FoveatedRendering message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FoveatedRendering
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.FoveatedRendering;
/**
* Verifies a FoveatedRendering message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a FoveatedRendering message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FoveatedRendering
*/
public static fromObject(object: { [k: string]: any }): CloudLark.FoveatedRendering;
/**
* Creates a plain object from a FoveatedRendering message. Also converts values to other types if specified.
* @param message FoveatedRendering
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.FoveatedRendering, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FoveatedRendering to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a ColorCorrention. */
interface IColorCorrention {
/** ColorCorrention enableColorCorrection */
enableColorCorrection?: (boolean|null);
/** ColorCorrention brightness */
brightness?: (number|null);
/** ColorCorrention contrast */
contrast?: (number|null);
/** ColorCorrention saturation */
saturation?: (number|null);
/** ColorCorrention gamma */
gamma?: (number|null);
/** ColorCorrention sharpening */
sharpening?: (number|null);
}
/** Represents a ColorCorrention. */
class ColorCorrention implements IColorCorrention {
/**
* Constructs a new ColorCorrention.
* @param [properties] Properties to set
*/
constructor(properties?: CloudLark.IColorCorrention);
/** ColorCorrention enableColorCorrection. */
public enableColorCorrection: boolean;
/** ColorCorrention brightness. */
public brightness: number;
/** ColorCorrention contrast. */
public contrast: number;
/** ColorCorrention saturation. */
public saturation: number;
/** ColorCorrention gamma. */
public gamma: number;
/** ColorCorrention sharpening. */
public sharpening: number;
/**
* Creates a new ColorCorrention instance using the specified properties.
* @param [properties] Properties to set
* @returns ColorCorrention instance
*/
public static create(properties?: CloudLark.IColorCorrention): CloudLark.ColorCorrention;
/**
* Encodes the specified ColorCorrention message. Does not implicitly {@link CloudLark.ColorCorrention.verify|verify} messages.
* @param message ColorCorrention message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: CloudLark.IColorCorrention, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ColorCorrention message, length delimited. Does not implicitly {@link CloudLark.ColorCorrention.verify|verify} messages.
* @param message ColorCorrention message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: CloudLark.IColorCorrention, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ColorCorrention message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ColorCorrention
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.ColorCorrention;
/**
* Decodes a ColorCorrention message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns ColorCorrention
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.ColorCorrention;
/**
* Verifies a ColorCorrention message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a ColorCorrention message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns ColorCorrention
*/
public static fromObject(object: { [k: string]: any }): CloudLark.ColorCorrention;
/**
* Creates a plain object from a ColorCorrention message. Also converts values to other types if specified.
* @param message ColorCorrention
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: CloudLark.ColorCorrention, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this ColorCorrention to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** StreamType enum. */
enum StreamType {
UDP = 0,
TCP = 1,
THROTTLED_UDP = 2,
KCP = 3
}
/** Properties of a VideoDesc. */
interface IVideoDesc {
/** VideoDesc eyeResolutionWidth */
eyeResolutionWidth?: (number|null);
/** VideoDesc eyeResolutionHeight */
eyeResolutionHeight?: (number|null);