Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jan 17, 2024
1 parent e9c3ee5 commit 7177a1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion ts/Private/internal/IrisApiEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ export function callIrisApi(funcName: string, params: any): any {
);
AgoraRtcNg.ReleaseEnv();
return;
case 'RtcEngine_sendMetaData_c58275f':
case 'RtcEngine_sendMetaData':
// metadata.buffer
buffers.push(params.metadata.buffer);
break;
Expand Down
20 changes: 0 additions & 20 deletions ts/Private/internal/RtcEngineExInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,26 +708,6 @@ export class RtcEngineExInternal extends IRtcEngineExImpl {
return 'RtcEngine_sendMetaData';
}

protected override getApiTypeFromGetExtensionProperty(
provider: string,
extension: string,
key: string,
bufLen: number,
type: MediaSourceType = MediaSourceType.UnknownMediaSource
): string {
return 'RtcEngine_getExtensionProperty';
}

protected override getApiTypeFromSetExtensionProperty(
provider: string,
extension: string,
key: string,
value: string,
type: MediaSourceType = MediaSourceType.UnknownMediaSource
): string {
return 'RtcEngine_setExtensionProperty';
}

protected override getApiTypeFromEnableExtension(
provider: string,
extension: string,
Expand Down

0 comments on commit 7177a1c

Please sign in to comment.