Skip to content

Commit 0e8e620

Browse files
[AUTO] Generate code by terra (#1067)
Co-authored-by: LichKing-2234 <[email protected]>
1 parent 51cd046 commit 0e8e620

7 files changed

+180
-31
lines changed

ts/Private/AgoraBase.ts

+33-1
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,10 @@ export enum ErrorCodeType {
438438
* 1501: Permission to access the camera is not granted. Check whether permission to access the camera permission is granted.
439439
*/
440440
ErrVdmCameraNotAuthorized = 1501,
441+
/**
442+
* @ignore
443+
*/
444+
ErrAdmApplicationLoopback = 2007,
441445
}
442446

443447
/**
@@ -2081,6 +2085,26 @@ export enum LocalVideoStreamError {
20812085
* @ignore
20822086
*/
20832087
LocalVideoStreamErrorScreenCaptureNoPermission = 22,
2088+
/**
2089+
* @ignore
2090+
*/
2091+
LocalVideoStreamErrorScreenCapturePaused = 23,
2092+
/**
2093+
* @ignore
2094+
*/
2095+
LocalVideoStreamErrorScreenCaptureResumed = 24,
2096+
/**
2097+
* @ignore
2098+
*/
2099+
LocalVideoStreamErrorScreenCaptureWindowHidden = 25,
2100+
/**
2101+
* @ignore
2102+
*/
2103+
LocalVideoStreamErrorScreenCaptureWindowRecoverFromHidden = 26,
2104+
/**
2105+
* @ignore
2106+
*/
2107+
LocalVideoStreamErrorScreenCaptureWindowRecoverFromMinimized = 27,
20842108
}
20852109

20862110
/**
@@ -3095,7 +3119,7 @@ export enum ConnectionChangedReasonType {
30953119
*/
30963120
ConnectionChangedClientIpAddressChanged = 13,
30973121
/**
3098-
* 14: Timeout for the keep-alive of the connection between the SDK and the Agora edge server. The connection state changes to .
3122+
* 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.
30993123
*/
31003124
ConnectionChangedKeepAliveTimeout = 14,
31013125
/**
@@ -3126,6 +3150,10 @@ export enum ConnectionChangedReasonType {
31263150
* @ignore
31273151
*/
31283152
ConnectionChangedLicenseValidationFailure = 21,
3153+
/**
3154+
* @ignore
3155+
*/
3156+
ConnectionChangedCertificationVeryfyFailure = 22,
31293157
}
31303158

31313159
/**
@@ -3236,6 +3264,10 @@ export enum NetworkType {
32363264
* 5: The network type is mobile 4G.
32373265
*/
32383266
NetworkTypeMobile4g = 5,
3267+
/**
3268+
* @ignore
3269+
*/
3270+
NetworkTypeMobile5g = 6,
32393271
}
32403272

32413273
/**

ts/Private/AgoraMediaBase.ts

+24
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ export enum ContentInspectType {
267267
* @ignore
268268
*/
269269
ContentInspectSupervision = 2,
270+
/**
271+
* @ignore
272+
*/
273+
ContentInspectImageModeration = 3,
270274
}
271275

272276
/**
@@ -291,6 +295,10 @@ export class ContentInspectConfig {
291295
* 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.
292296
*/
293297
extraInfo?: string;
298+
/**
299+
* @ignore
300+
*/
301+
serverConfig?: string;
294302
/**
295303
* 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.
296304
*/
@@ -433,6 +441,10 @@ export enum VideoPixelFormat {
433441
* 16: The format is I422.
434442
*/
435443
VideoPixelI422 = 16,
444+
/**
445+
* @ignore
446+
*/
447+
VideoTextureId3d11texture2d = 17,
436448
}
437449

438450
/**
@@ -575,6 +587,14 @@ export class ExternalVideoFrame {
575587
* @ignore
576588
*/
577589
alphaBuffer?: Uint8Array;
590+
/**
591+
* @ignore
592+
*/
593+
d3d11_texture_2d?: any;
594+
/**
595+
* @ignore
596+
*/
597+
texture_slice_index?: number;
578598
}
579599

580600
/**
@@ -643,6 +663,10 @@ export class VideoFrame {
643663
* This parameter only applies to video data in Texture format. Texture ID.
644664
*/
645665
textureId?: number;
666+
/**
667+
* @ignore
668+
*/
669+
d3d11Texture2d?: any;
646670
/**
647671
* This parameter only applies to video data in Texture format. Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
648672
*/

ts/Private/IAgoraMusicContentCenter.ts

+8
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export enum MusicContentCenterStatusCode {
5555
* @ignore
5656
*/
5757
KMusicContentCenterStatusErrMusicDecryption = 6,
58+
/**
59+
* @ignore
60+
*/
61+
KMusicContentCenterStatusErrHttpInternalError = 7,
5862
}
5963

6064
/**
@@ -309,6 +313,10 @@ export class MusicContentCenterConfiguration {
309313
* @ignore
310314
*/
311315
maxCacheSize?: number;
316+
/**
317+
* @ignore
318+
*/
319+
mccDomain?: string;
312320
}
313321

314322
/**

0 commit comments

Comments
 (0)