Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTO] Generate code by terra #1067

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion ts/Private/AgoraBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ export enum ErrorCodeType {
* 1501: Permission to access the camera is not granted. Check whether permission to access the camera permission is granted.
*/
ErrVdmCameraNotAuthorized = 1501,
/**
* @ignore
*/
ErrAdmApplicationLoopback = 2007,
}

/**
Expand Down Expand Up @@ -2081,6 +2085,26 @@ export enum LocalVideoStreamError {
* @ignore
*/
LocalVideoStreamErrorScreenCaptureNoPermission = 22,
/**
* @ignore
*/
LocalVideoStreamErrorScreenCapturePaused = 23,
/**
* @ignore
*/
LocalVideoStreamErrorScreenCaptureResumed = 24,
/**
* @ignore
*/
LocalVideoStreamErrorScreenCaptureWindowHidden = 25,
/**
* @ignore
*/
LocalVideoStreamErrorScreenCaptureWindowRecoverFromHidden = 26,
/**
* @ignore
*/
LocalVideoStreamErrorScreenCaptureWindowRecoverFromMinimized = 27,
}

/**
Expand Down Expand Up @@ -3095,7 +3119,7 @@ export enum ConnectionChangedReasonType {
*/
ConnectionChangedClientIpAddressChanged = 13,
/**
* 14: Timeout for the keep-alive of the connection between the SDK and the Agora edge server. The connection state changes to .
* 14: Timeout for the keep-alive of the connection between the SDK and the Agora edge server. The SDK tries to reconnect to the server automatically.
*/
ConnectionChangedKeepAliveTimeout = 14,
/**
Expand Down Expand Up @@ -3126,6 +3150,10 @@ export enum ConnectionChangedReasonType {
* @ignore
*/
ConnectionChangedLicenseValidationFailure = 21,
/**
* @ignore
*/
ConnectionChangedCertificationVeryfyFailure = 22,
}

/**
Expand Down Expand Up @@ -3236,6 +3264,10 @@ export enum NetworkType {
* 5: The network type is mobile 4G.
*/
NetworkTypeMobile4g = 5,
/**
* @ignore
*/
NetworkTypeMobile5g = 6,
}

/**
Expand Down
24 changes: 24 additions & 0 deletions ts/Private/AgoraMediaBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ export enum ContentInspectType {
* @ignore
*/
ContentInspectSupervision = 2,
/**
* @ignore
*/
ContentInspectImageModeration = 3,
}

/**
Expand All @@ -291,6 +295,10 @@ export class ContentInspectConfig {
* Additional information on the video content (maximum length: 1024 Bytes). The SDK sends the screenshots and additional information on the video content to the Agora server. Once the video screenshot and upload process is completed, the Agora server sends the additional information and the callback notification to your server.
*/
extraInfo?: string;
/**
* @ignore
*/
serverConfig?: string;
/**
* Functional module. See ContentInspectModule. A maximum of 32 ContentInspectModule instances can be configured, and the value range of MAX_CONTENT_INSPECT_MODULE_COUNT is an integer in [1,32]. A function module can only be configured with one instance at most. Currently only the video screenshot and upload function is supported.
*/
Expand Down Expand Up @@ -433,6 +441,10 @@ export enum VideoPixelFormat {
* 16: The format is I422.
*/
VideoPixelI422 = 16,
/**
* @ignore
*/
VideoTextureId3d11texture2d = 17,
}

/**
Expand Down Expand Up @@ -575,6 +587,14 @@ export class ExternalVideoFrame {
* @ignore
*/
alphaBuffer?: Uint8Array;
/**
* @ignore
*/
d3d11_texture_2d?: any;
/**
* @ignore
*/
texture_slice_index?: number;
}

/**
Expand Down Expand Up @@ -643,6 +663,10 @@ export class VideoFrame {
* This parameter only applies to video data in Texture format. Texture ID.
*/
textureId?: number;
/**
* @ignore
*/
d3d11Texture2d?: any;
/**
* This parameter only applies to video data in Texture format. Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
*/
Expand Down
8 changes: 8 additions & 0 deletions ts/Private/IAgoraMusicContentCenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export enum MusicContentCenterStatusCode {
* @ignore
*/
KMusicContentCenterStatusErrMusicDecryption = 6,
/**
* @ignore
*/
KMusicContentCenterStatusErrHttpInternalError = 7,
}

/**
Expand Down Expand Up @@ -309,6 +313,10 @@ export class MusicContentCenterConfiguration {
* @ignore
*/
maxCacheSize?: number;
/**
* @ignore
*/
mccDomain?: string;
}

/**
Expand Down
Loading