From 41f93bcd34d4c1aad3ba761532ed7ed074d24917 Mon Sep 17 00:00:00 2001 From: gxz Date: Wed, 17 Jan 2024 11:25:21 +0800 Subject: [PATCH] chore: upgrade for new iris api id --- scripts/terra/package.json | 2 +- scripts/terra/yarn.lock | 8 +- ts/Private/IAgoraMediaPlayer.ts | 26 +- ts/Private/IAgoraRtcEngine.ts | 12 +- ts/Private/impl/AgoraMediaBaseImpl.ts | 2 +- ts/Private/impl/IAgoraH265TranscoderImpl.ts | 10 +- ts/Private/impl/IAgoraMediaEngineImpl.ts | 32 +- ts/Private/impl/IAgoraMediaPlayerImpl.ts | 102 ++-- ts/Private/impl/IAgoraMediaRecorderImpl.ts | 4 +- .../impl/IAgoraMusicContentCenterImpl.ts | 32 +- ts/Private/impl/IAgoraRtcEngineExImpl.ts | 98 ++-- ts/Private/impl/IAgoraRtcEngineImpl.ts | 456 +++++++++--------- ts/Private/impl/IAgoraSpatialAudioImpl.ts | 38 +- ts/Private/impl/IAudioDeviceManagerImpl.ts | 48 +- .../internal/AudioDeviceManagerInternal.ts | 8 + ts/Private/internal/IrisApiEngine.ts | 30 +- .../LocalSpatialAudioEngineInternal.ts | 87 +--- ts/Private/internal/MediaPlayerInternal.ts | 4 +- .../internal/MusicContentCenterInternal.ts | 4 +- ts/Private/internal/RtcEngineExInternal.ts | 101 +++- 20 files changed, 554 insertions(+), 550 deletions(-) diff --git a/scripts/terra/package.json b/scripts/terra/package.json index ac606de16..b71526481 100644 --- a/scripts/terra/package.json +++ b/scripts/terra/package.json @@ -15,7 +15,7 @@ "@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=cxx-parser", "@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=terra", "@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=terra-core", - "@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=ac9ad3fb2497988e3c68178648790ae80959851e", + "@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=0b3318299a385dfa914e14e594e1301ddda81777", "@types/js-yaml": "^4.0.8", "@types/node": "^18.17.9", "js-yaml": "^4.1.0", diff --git a/scripts/terra/yarn.lock b/scripts/terra/yarn.lock index d41b4204d..c9ed01027 100644 --- a/scripts/terra/yarn.lock +++ b/scripts/terra/yarn.lock @@ -39,14 +39,14 @@ __metadata: languageName: node linkType: hard -"@agoraio-extensions/terra_shared_configs@git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=ac9ad3fb2497988e3c68178648790ae80959851e": +"@agoraio-extensions/terra_shared_configs@git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=0b3318299a385dfa914e14e594e1301ddda81777": version: 1.0.2 - resolution: "@agoraio-extensions/terra_shared_configs@git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=ac9ad3fb2497988e3c68178648790ae80959851e" + resolution: "@agoraio-extensions/terra_shared_configs@git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=0b3318299a385dfa914e14e594e1301ddda81777" dependencies: "@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=cxx-parser" "@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#head=main&workspace=terra-core" mustache: "npm:^4.2.0" - checksum: 0756ccbb58f543071a67d893640c1973f406ad37722bc2222c326dc66ccee7280e4829e854502ff672f1653e57552f42b165a33e9367baf50a28184dd0d28091 + checksum: 78884794e9f4063441a08997cc7a0f343ec39b8e5bebb803c58a8aced26f0cdee488368cb4e0439f95436ca529983f0d3c495a2bd2f5ea5beaa4cad3856551cc languageName: node linkType: hard @@ -482,7 +482,7 @@ __metadata: "@agoraio-extensions/cxx-parser": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=cxx-parser" "@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=terra" "@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#commit=d6ec3a950d800ebf92dcabca19c9c5b5831431a0&workspace=terra-core" - "@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=ac9ad3fb2497988e3c68178648790ae80959851e" + "@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=0b3318299a385dfa914e14e594e1301ddda81777" "@types/js-yaml": "npm:^4.0.8" "@types/node": "npm:^20.6.0" js-yaml: "npm:^4.1.0" diff --git a/ts/Private/IAgoraMediaPlayer.ts b/ts/Private/IAgoraMediaPlayer.ts index 466dc9384..bf6e34959 100644 --- a/ts/Private/IAgoraMediaPlayer.ts +++ b/ts/Private/IAgoraMediaPlayer.ts @@ -558,12 +558,34 @@ export abstract class IMediaPlayer { abstract setSoundPositionParams(pan: number, gain: number): number; /** - * @ignore + * Sets the private options for the media player. + * + * The media player supports setting private options by key and value. Under normal circumstances, you do not need to know the private option settings, and just use the default option settings. + * Ensure that you call this method before open. + * If you need to push streams with SEI into the CDN, call setPlayerOptionInInt ("sei_data_with_uuid", 1); otherwise, the loss of SEI might occurs. + * + * @param key The key of the option. + * @param value The value of the key. + * + * @returns + * 0: Success. + * < 0: Failure. */ abstract setPlayerOptionInInt(key: string, value: number): number; /** - * @ignore + * Sets the private options for the media player. + * + * The media player supports setting private options by key and value. Under normal circumstances, you do not need to know the private option settings, and just use the default option settings. + * Ensure that you call this method before open. + * If you need to push streams with SEI into the CDN, call setPlayerOptionInInt ("sei_data_with_uuid", 1); otherwise, the loss of SEI might occurs. + * + * @param key The key of the option. + * @param value The value of the key. + * + * @returns + * 0: Success. + * < 0: Failure. */ abstract setPlayerOptionInString(key: string, value: string): number; } diff --git a/ts/Private/IAgoraRtcEngine.ts b/ts/Private/IAgoraRtcEngine.ts index 63360022e..56d8c09bb 100644 --- a/ts/Private/IAgoraRtcEngine.ts +++ b/ts/Private/IAgoraRtcEngine.ts @@ -6619,7 +6619,17 @@ export abstract class IRtcEngine { abstract release(sync?: boolean): void; /** - * @ignore + * Enables the local video preview. + * + * You can call this method to enable local video preview. Call this method after the following: + * Call setView to initialize the local preview. + * Call enableVideo to enable the video module. + * The local preview enables the mirror mode by default. + * After the local video preview is enabled, if you call to exit the channel, the local preview remains until you call to disable it. + * + * @returns + * 0: Success. + * < 0: Failure. */ abstract startPreviewWithoutSourceType(): number; diff --git a/ts/Private/impl/AgoraMediaBaseImpl.ts b/ts/Private/impl/AgoraMediaBaseImpl.ts index 40cc97806..b5d5ad638 100644 --- a/ts/Private/impl/AgoraMediaBaseImpl.ts +++ b/ts/Private/impl/AgoraMediaBaseImpl.ts @@ -26,7 +26,7 @@ export class IVideoFrameMetaInfoImpl implements IVideoFrameMetaInfo { } protected getApiTypeFromGetMetaInfoStr(key: MetaInfoKey): string { - return 'VideoFrameMetaInfo_getMetaInfoStr'; + return 'VideoFrameMetaInfo_getMetaInfoStr_c81192f'; } } diff --git a/ts/Private/impl/IAgoraH265TranscoderImpl.ts b/ts/Private/impl/IAgoraH265TranscoderImpl.ts index 12efafd28..7aff2b269 100644 --- a/ts/Private/impl/IAgoraH265TranscoderImpl.ts +++ b/ts/Private/impl/IAgoraH265TranscoderImpl.ts @@ -57,7 +57,7 @@ export class IH265TranscoderImpl implements IH265Transcoder { channel: string, uid: number ): string { - return 'H265Transcoder_enableTranscode'; + return 'H265Transcoder_enableTranscode_a0779eb'; } queryChannel(token: string, channel: string, uid: number): number { @@ -83,7 +83,7 @@ export class IH265TranscoderImpl implements IH265Transcoder { channel: string, uid: number ): string { - return 'H265Transcoder_queryChannel'; + return 'H265Transcoder_queryChannel_a0779eb'; } triggerTranscode(token: string, channel: string, uid: number): number { @@ -109,7 +109,7 @@ export class IH265TranscoderImpl implements IH265Transcoder { channel: string, uid: number ): string { - return 'H265Transcoder_triggerTranscode'; + return 'H265Transcoder_triggerTranscode_a0779eb'; } registerTranscoderObserver(observer: IH265TranscoderObserver): number { @@ -127,7 +127,7 @@ export class IH265TranscoderImpl implements IH265Transcoder { protected getApiTypeFromRegisterTranscoderObserver( observer: IH265TranscoderObserver ): string { - return 'H265Transcoder_registerTranscoderObserver'; + return 'H265Transcoder_registerTranscoderObserver_e1ee996'; } unregisterTranscoderObserver(observer: IH265TranscoderObserver): number { @@ -145,7 +145,7 @@ export class IH265TranscoderImpl implements IH265Transcoder { protected getApiTypeFromUnregisterTranscoderObserver( observer: IH265TranscoderObserver ): string { - return 'H265Transcoder_unregisterTranscoderObserver'; + return 'H265Transcoder_unregisterTranscoderObserver_e1ee996'; } } diff --git a/ts/Private/impl/IAgoraMediaEngineImpl.ts b/ts/Private/impl/IAgoraMediaEngineImpl.ts index a84c7f940..18e49397c 100644 --- a/ts/Private/impl/IAgoraMediaEngineImpl.ts +++ b/ts/Private/impl/IAgoraMediaEngineImpl.ts @@ -31,7 +31,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromRegisterAudioFrameObserver( observer: IAudioFrameObserver ): string { - return 'MediaEngine_registerAudioFrameObserver'; + return 'MediaEngine_registerAudioFrameObserver_d873a64'; } registerVideoFrameObserver(observer: IVideoFrameObserver): number { @@ -49,7 +49,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromRegisterVideoFrameObserver( observer: IVideoFrameObserver ): string { - return 'MediaEngine_registerVideoFrameObserver'; + return 'MediaEngine_registerVideoFrameObserver_2cc0ef1'; } registerVideoEncodedFrameObserver( @@ -70,7 +70,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromRegisterVideoEncodedFrameObserver( observer: IVideoEncodedFrameObserver ): string { - return 'MediaEngine_registerVideoEncodedFrameObserver'; + return 'MediaEngine_registerVideoEncodedFrameObserver_d45d579'; } pushAudioFrame(frame: AudioFrame, trackId: number = 0): number { @@ -93,7 +93,7 @@ export class IMediaEngineImpl implements IMediaEngine { frame: AudioFrame, trackId: number = 0 ): string { - return 'MediaEngine_pushAudioFrame'; + return 'MediaEngine_pushAudioFrame_c71f4ab'; } pullAudioFrame(frame: AudioFrame): number { @@ -111,7 +111,7 @@ export class IMediaEngineImpl implements IMediaEngine { } protected getApiTypeFromPullAudioFrame(frame: AudioFrame): string { - return 'MediaEngine_pullAudioFrame'; + return 'MediaEngine_pullAudioFrame_2c74a9c'; } setExternalVideoSource( @@ -150,7 +150,7 @@ export class IMediaEngineImpl implements IMediaEngine { sourceType: ExternalVideoSourceType = ExternalVideoSourceType.VideoFrame, encodedVideoOption: SenderOptions = new SenderOptions() ): string { - return 'MediaEngine_setExternalVideoSource'; + return 'MediaEngine_setExternalVideoSource_fff99b6'; } setExternalAudioSource( @@ -194,7 +194,7 @@ export class IMediaEngineImpl implements IMediaEngine { localPlayback: boolean = false, publish: boolean = true ): string { - return 'MediaEngine_setExternalAudioSource'; + return 'MediaEngine_setExternalAudioSource_e6538be'; } createCustomAudioTrack( @@ -223,7 +223,7 @@ export class IMediaEngineImpl implements IMediaEngine { trackType: AudioTrackType, config: AudioTrackConfig ): string { - return 'MediaEngine_createCustomAudioTrack'; + return 'MediaEngine_createCustomAudioTrack_5a0bf1a'; } destroyCustomAudioTrack(trackId: number): number { @@ -241,7 +241,7 @@ export class IMediaEngineImpl implements IMediaEngine { } protected getApiTypeFromDestroyCustomAudioTrack(trackId: number): string { - return 'MediaEngine_destroyCustomAudioTrack'; + return 'MediaEngine_destroyCustomAudioTrack_6178b5d'; } setExternalAudioSink( @@ -275,7 +275,7 @@ export class IMediaEngineImpl implements IMediaEngine { sampleRate: number, channels: number ): string { - return 'MediaEngine_setExternalAudioSink'; + return 'MediaEngine_setExternalAudioSink_d275ce0'; } enableCustomAudioLocalPlayback(trackId: number, enabled: boolean): number { @@ -301,7 +301,7 @@ export class IMediaEngineImpl implements IMediaEngine { trackId: number, enabled: boolean ): string { - return 'MediaEngine_enableCustomAudioLocalPlayback'; + return 'MediaEngine_enableCustomAudioLocalPlayback_5f38e8a'; } pushVideoFrame(frame: ExternalVideoFrame, videoTrackId: number = 0): number { @@ -324,7 +324,7 @@ export class IMediaEngineImpl implements IMediaEngine { frame: ExternalVideoFrame, videoTrackId: number = 0 ): string { - return 'MediaEngine_pushVideoFrame'; + return 'MediaEngine_pushVideoFrame_4e544e2'; } pushEncodedVideoImage( @@ -362,7 +362,7 @@ export class IMediaEngineImpl implements IMediaEngine { videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId: number = 0 ): string { - return 'MediaEngine_pushEncodedVideoImage'; + return 'MediaEngine_pushEncodedVideoImage_e71452b'; } release(): void { @@ -390,7 +390,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromUnregisterAudioFrameObserver( observer: IAudioFrameObserver ): string { - return 'MediaEngine_unregisterAudioFrameObserver'; + return ''; } unregisterVideoFrameObserver(observer: IVideoFrameObserver): number { @@ -408,7 +408,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromUnregisterVideoFrameObserver( observer: IVideoFrameObserver ): string { - return 'MediaEngine_unregisterVideoFrameObserver'; + return ''; } unregisterVideoEncodedFrameObserver( @@ -429,7 +429,7 @@ export class IMediaEngineImpl implements IMediaEngine { protected getApiTypeFromUnregisterVideoEncodedFrameObserver( observer: IVideoEncodedFrameObserver ): string { - return 'MediaEngine_unregisterVideoEncodedFrameObserver'; + return ''; } } diff --git a/ts/Private/impl/IAgoraMediaPlayerImpl.ts b/ts/Private/impl/IAgoraMediaPlayerImpl.ts index f99d44231..0021382f1 100644 --- a/ts/Private/impl/IAgoraMediaPlayerImpl.ts +++ b/ts/Private/impl/IAgoraMediaPlayerImpl.ts @@ -48,7 +48,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromOpen(url: string, startPos: number): string { - return 'MediaPlayer_open'; + return 'MediaPlayer_open_e43f201'; } openWithMediaSource(source: MediaSource): number { @@ -66,7 +66,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromOpenWithMediaSource(source: MediaSource): string { - return 'MediaPlayer_openWithMediaSource'; + return 'MediaPlayer_openWithMediaSource_3c11499'; } play(): number { @@ -128,7 +128,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSeek(newPos: number): string { - return 'MediaPlayer_seek'; + return 'MediaPlayer_seek_f631116'; } setAudioPitch(pitch: number): number { @@ -146,7 +146,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetAudioPitch(pitch: number): string { - return 'MediaPlayer_setAudioPitch'; + return 'MediaPlayer_setAudioPitch_46f8ab7'; } getDuration(): number { @@ -158,7 +158,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetDuration(): string { - return 'MediaPlayer_getDuration'; + return 'MediaPlayer_getDuration_b12f121'; } getPlayPosition(): number { @@ -170,7 +170,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetPlayPosition(): string { - return 'MediaPlayer_getPlayPosition'; + return 'MediaPlayer_getPlayPosition_b12f121'; } getStreamCount(): number { @@ -182,7 +182,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetStreamCount(): string { - return 'MediaPlayer_getStreamCount'; + return 'MediaPlayer_getStreamCount_b12f121'; } getStreamInfo(index: number): PlayerStreamInfo { @@ -201,7 +201,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetStreamInfo(index: number): string { - return 'MediaPlayer_getStreamInfo'; + return 'MediaPlayer_getStreamInfo_0fa63fa'; } setLoopCount(loopCount: number): number { @@ -219,7 +219,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetLoopCount(loopCount: number): string { - return 'MediaPlayer_setLoopCount'; + return 'MediaPlayer_setLoopCount_46f8ab7'; } setPlaybackSpeed(speed: number): number { @@ -237,7 +237,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetPlaybackSpeed(speed: number): string { - return 'MediaPlayer_setPlaybackSpeed'; + return 'MediaPlayer_setPlaybackSpeed_46f8ab7'; } selectAudioTrack(index: number): number { @@ -255,7 +255,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSelectAudioTrack(index: number): string { - return 'MediaPlayer_selectAudioTrack'; + return 'MediaPlayer_selectAudioTrack_46f8ab7'; } selectMultiAudioTrack( @@ -284,7 +284,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { playoutTrackIndex: number, publishTrackIndex: number ): string { - return 'MediaPlayer_selectMultiAudioTrack'; + return 'MediaPlayer_selectMultiAudioTrack_4e92b3c'; } takeScreenshot(filename: string): number { @@ -302,7 +302,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromTakeScreenshot(filename: string): string { - return 'MediaPlayer_takeScreenshot'; + return 'MediaPlayer_takeScreenshot_3a2037f'; } selectInternalSubtitle(index: number): number { @@ -320,7 +320,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSelectInternalSubtitle(index: number): string { - return 'MediaPlayer_selectInternalSubtitle'; + return 'MediaPlayer_selectInternalSubtitle_46f8ab7'; } setExternalSubtitle(url: string): number { @@ -338,7 +338,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetExternalSubtitle(url: string): string { - return 'MediaPlayer_setExternalSubtitle'; + return 'MediaPlayer_setExternalSubtitle_3a2037f'; } getState(): MediaPlayerState { @@ -367,7 +367,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromMute(muted: boolean): string { - return 'MediaPlayer_mute'; + return 'MediaPlayer_mute_5039d15'; } getMute(): boolean { @@ -379,7 +379,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetMute(): string { - return 'MediaPlayer_getMute'; + return 'MediaPlayer_getMute_c93e9d4'; } adjustPlayoutVolume(volume: number): number { @@ -397,7 +397,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromAdjustPlayoutVolume(volume: number): string { - return 'MediaPlayer_adjustPlayoutVolume'; + return 'MediaPlayer_adjustPlayoutVolume_46f8ab7'; } getPlayoutVolume(): number { @@ -409,7 +409,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetPlayoutVolume(): string { - return 'MediaPlayer_getPlayoutVolume'; + return 'MediaPlayer_getPlayoutVolume_9cfaa7e'; } adjustPublishSignalVolume(volume: number): number { @@ -427,7 +427,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromAdjustPublishSignalVolume(volume: number): string { - return 'MediaPlayer_adjustPublishSignalVolume'; + return 'MediaPlayer_adjustPublishSignalVolume_46f8ab7'; } getPublishSignalVolume(): number { @@ -439,7 +439,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromGetPublishSignalVolume(): string { - return 'MediaPlayer_getPublishSignalVolume'; + return 'MediaPlayer_getPublishSignalVolume_9cfaa7e'; } setView(view: any): number { @@ -457,7 +457,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetView(view: any): string { - return 'MediaPlayer_setView'; + return 'MediaPlayer_setView_cb1a81f'; } setRenderMode(renderMode: RenderModeType): number { @@ -475,7 +475,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSetRenderMode(renderMode: RenderModeType): string { - return 'MediaPlayer_setRenderMode'; + return 'MediaPlayer_setRenderMode_bedb5ae'; } registerPlayerSourceObserver(observer: IMediaPlayerSourceObserver): number { @@ -493,7 +493,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromRegisterPlayerSourceObserver( observer: IMediaPlayerSourceObserver ): string { - return 'MediaPlayer_registerPlayerSourceObserver'; + return 'MediaPlayer_registerPlayerSourceObserver_15621d7'; } unregisterPlayerSourceObserver(observer: IMediaPlayerSourceObserver): number { @@ -511,7 +511,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromUnregisterPlayerSourceObserver( observer: IMediaPlayerSourceObserver ): string { - return 'MediaPlayer_unregisterPlayerSourceObserver'; + return 'MediaPlayer_unregisterPlayerSourceObserver_15621d7'; } registerAudioFrameObserver( @@ -539,7 +539,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { observer: IAudioPcmFrameSink, mode: RawAudioFrameOpModeType = RawAudioFrameOpModeType.RawAudioFrameOpModeReadOnly ): string { - return 'MediaPlayer_registerAudioFrameObserver'; + return ''; } unregisterAudioFrameObserver(observer: IAudioPcmFrameSink): number { @@ -557,7 +557,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromUnregisterAudioFrameObserver( observer: IAudioPcmFrameSink ): string { - return 'MediaPlayer_unregisterAudioFrameObserver'; + return 'MediaPlayer_unregisterAudioFrameObserver_89ab9b5'; } registerVideoFrameObserver(observer: IMediaPlayerVideoFrameObserver): number { @@ -575,7 +575,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromRegisterVideoFrameObserver( observer: IMediaPlayerVideoFrameObserver ): string { - return 'MediaPlayer_registerVideoFrameObserver'; + return ''; } unregisterVideoFrameObserver( @@ -595,7 +595,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromUnregisterVideoFrameObserver( observer: IMediaPlayerVideoFrameObserver ): string { - return 'MediaPlayer_unregisterVideoFrameObserver'; + return ''; } registerMediaPlayerAudioSpectrumObserver( @@ -623,7 +623,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { observer: IAudioSpectrumObserver, intervalInMS: number ): string { - return 'MediaPlayer_registerMediaPlayerAudioSpectrumObserver'; + return 'MediaPlayer_registerMediaPlayerAudioSpectrumObserver_226bb48'; } unregisterMediaPlayerAudioSpectrumObserver( @@ -644,7 +644,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromUnregisterMediaPlayerAudioSpectrumObserver( observer: IAudioSpectrumObserver ): string { - return 'MediaPlayer_unregisterMediaPlayerAudioSpectrumObserver'; + return 'MediaPlayer_unregisterMediaPlayerAudioSpectrumObserver_09064ce'; } setAudioDualMonoMode(mode: AudioDualMonoMode): number { @@ -664,7 +664,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromSetAudioDualMonoMode( mode: AudioDualMonoMode ): string { - return 'MediaPlayer_setAudioDualMonoMode'; + return 'MediaPlayer_setAudioDualMonoMode_30c9672'; } getPlayerSdkVersion(): string { @@ -709,7 +709,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { src: string, startPos: number ): string { - return 'MediaPlayer_openWithAgoraCDNSrc'; + return 'MediaPlayer_openWithAgoraCDNSrc_e43f201'; } getAgoraCDNLineCount(): number { @@ -738,7 +738,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromSwitchAgoraCDNLineByIndex(index: number): string { - return 'MediaPlayer_switchAgoraCDNLineByIndex'; + return 'MediaPlayer_switchAgoraCDNLineByIndex_46f8ab7'; } getCurrentAgoraCDNIndex(): number { @@ -767,7 +767,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromEnableAutoSwitchAgoraCDN(enable: boolean): string { - return 'MediaPlayer_enableAutoSwitchAgoraCDN'; + return 'MediaPlayer_enableAutoSwitchAgoraCDN_5039d15'; } renewAgoraCDNSrcToken(token: string, ts: number): number { @@ -790,7 +790,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { token: string, ts: number ): string { - return 'MediaPlayer_renewAgoraCDNSrcToken'; + return 'MediaPlayer_renewAgoraCDNSrcToken_e43f201'; } switchAgoraCDNSrc(src: string, syncPts: boolean = false): number { @@ -813,7 +813,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { src: string, syncPts: boolean = false ): string { - return 'MediaPlayer_switchAgoraCDNSrc'; + return 'MediaPlayer_switchAgoraCDNSrc_7a174df'; } switchSrc(src: string, syncPts: boolean = true): number { @@ -836,7 +836,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { src: string, syncPts: boolean = true ): string { - return 'MediaPlayer_switchSrc'; + return 'MediaPlayer_switchSrc_7a174df'; } preloadSrc(src: string, startPos: number): number { @@ -856,7 +856,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromPreloadSrc(src: string, startPos: number): string { - return 'MediaPlayer_preloadSrc'; + return 'MediaPlayer_preloadSrc_e43f201'; } playPreloadedSrc(src: string): number { @@ -874,7 +874,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromPlayPreloadedSrc(src: string): string { - return 'MediaPlayer_playPreloadedSrc'; + return 'MediaPlayer_playPreloadedSrc_3a2037f'; } unloadSrc(src: string): number { @@ -892,7 +892,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { } protected getApiTypeFromUnloadSrc(src: string): string { - return 'MediaPlayer_unloadSrc'; + return 'MediaPlayer_unloadSrc_3a2037f'; } setSpatialAudioParams(params: SpatialAudioParams): number { @@ -912,7 +912,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { protected getApiTypeFromSetSpatialAudioParams( params: SpatialAudioParams ): string { - return 'MediaPlayer_setSpatialAudioParams'; + return 'MediaPlayer_setSpatialAudioParams_5035667'; } setSoundPositionParams(pan: number, gain: number): number { @@ -935,7 +935,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { pan: number, gain: number ): string { - return 'MediaPlayer_setSoundPositionParams'; + return 'MediaPlayer_setSoundPositionParams_f282d50'; } setPlayerOptionInInt(key: string, value: number): number { @@ -958,7 +958,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { key: string, value: number ): string { - return 'MediaPlayer_setPlayerOptionInInt'; + return ''; } setPlayerOptionInString(key: string, value: string): number { @@ -981,7 +981,7 @@ export class IMediaPlayerImpl implements IMediaPlayer { key: string, value: string ): string { - return 'MediaPlayer_setPlayerOptionInString'; + return ''; } } @@ -1024,7 +1024,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromRemoveCacheByUri(uri: string): string { - return 'MediaPlayerCacheManager_removeCacheByUri'; + return 'MediaPlayerCacheManager_removeCacheByUri_3a2037f'; } setCacheDir(path: string): number { @@ -1042,7 +1042,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromSetCacheDir(path: string): string { - return 'MediaPlayerCacheManager_setCacheDir'; + return 'MediaPlayerCacheManager_setCacheDir_3a2037f'; } setMaxCacheFileCount(count: number): number { @@ -1060,7 +1060,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromSetMaxCacheFileCount(count: number): string { - return 'MediaPlayerCacheManager_setMaxCacheFileCount'; + return 'MediaPlayerCacheManager_setMaxCacheFileCount_46f8ab7'; } setMaxCacheFileSize(cacheSize: number): number { @@ -1078,7 +1078,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromSetMaxCacheFileSize(cacheSize: number): string { - return 'MediaPlayerCacheManager_setMaxCacheFileSize'; + return 'MediaPlayerCacheManager_setMaxCacheFileSize_f631116'; } enableAutoRemoveCache(enable: boolean): number { @@ -1096,7 +1096,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromEnableAutoRemoveCache(enable: boolean): string { - return 'MediaPlayerCacheManager_enableAutoRemoveCache'; + return 'MediaPlayerCacheManager_enableAutoRemoveCache_5039d15'; } getCacheDir(length: number): string { @@ -1115,7 +1115,7 @@ export class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager { } protected getApiTypeFromGetCacheDir(length: number): string { - return 'MediaPlayerCacheManager_getCacheDir'; + return 'MediaPlayerCacheManager_getCacheDir_c9551e8'; } getMaxCacheFileCount(): number { diff --git a/ts/Private/impl/IAgoraMediaRecorderImpl.ts b/ts/Private/impl/IAgoraMediaRecorderImpl.ts index e93fc7d70..e33d60b70 100644 --- a/ts/Private/impl/IAgoraMediaRecorderImpl.ts +++ b/ts/Private/impl/IAgoraMediaRecorderImpl.ts @@ -21,7 +21,7 @@ export class IMediaRecorderImpl implements IMediaRecorder { protected getApiTypeFromSetMediaRecorderObserver( callback: IMediaRecorderObserver ): string { - return 'MediaRecorder_setMediaRecorderObserver'; + return 'MediaRecorder_setMediaRecorderObserver_e1f7340'; } startRecording(config: MediaRecorderConfiguration): number { @@ -41,7 +41,7 @@ export class IMediaRecorderImpl implements IMediaRecorder { protected getApiTypeFromStartRecording( config: MediaRecorderConfiguration ): string { - return 'MediaRecorder_startRecording'; + return 'MediaRecorder_startRecording_94480b3'; } stopRecording(): number { diff --git a/ts/Private/impl/IAgoraMusicContentCenterImpl.ts b/ts/Private/impl/IAgoraMusicContentCenterImpl.ts index bd5690c44..dc1304a4c 100644 --- a/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +++ b/ts/Private/impl/IAgoraMusicContentCenterImpl.ts @@ -40,7 +40,7 @@ export class MusicChartCollectionImpl implements MusicChartCollection { } protected getApiTypeFromGet(index: number): string { - return 'MusicChartCollection_get'; + return 'MusicChartCollection_get_46f8ab7'; } } @@ -105,7 +105,7 @@ export class MusicCollectionImpl implements MusicCollection { } protected getApiTypeFromGetMusic(index: number): string { - return 'MusicCollection_getMusic'; + return 'MusicCollection_getMusic_8fcdcef'; } } @@ -194,7 +194,7 @@ export class IMusicPlayerImpl extends IMediaPlayerImpl implements IMusicPlayer { songCode: number, startPos: number = 0 ): string { - return 'MusicPlayer_openWithSongCode'; + return ''; } } @@ -217,7 +217,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { protected getApiTypeFromInitialize( configuration: MusicContentCenterConfiguration ): string { - return 'MusicContentCenter_initialize'; + return 'MusicContentCenter_initialize_df70304'; } renewToken(token: string): number { @@ -235,7 +235,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromRenewToken(token: string): string { - return 'MusicContentCenter_renewToken'; + return 'MusicContentCenter_renewToken_3a2037f'; } release(): void { @@ -263,7 +263,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { protected getApiTypeFromRegisterEventHandler( eventHandler: IMusicContentCenterEventHandler ): string { - return 'MusicContentCenter_registerEventHandler'; + return 'MusicContentCenter_registerEventHandler_ae49451'; } unregisterEventHandler(): number { @@ -297,7 +297,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromGetMusicCharts(): string { - return 'MusicContentCenter_getMusicCharts'; + return 'MusicContentCenter_getMusicCharts_66d4ecd'; } getMusicCollectionByMusicChartId( @@ -337,7 +337,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { pageSize: number, jsonOption?: string ): string { - return 'MusicContentCenter_getMusicCollectionByMusicChartId'; + return 'MusicContentCenter_getMusicCollectionByMusicChartId_8cd0b4d'; } searchMusic( @@ -377,7 +377,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { pageSize: number, jsonOption?: string ): string { - return 'MusicContentCenter_searchMusic'; + return 'MusicContentCenter_searchMusic_3f8cf09'; } preload(songCode: number): string { @@ -396,7 +396,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromPreload(songCode: number): string { - return 'MusicContentCenter_preload'; + return ''; } removeCache(songCode: number): number { @@ -414,7 +414,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromRemoveCache(songCode: number): string { - return 'MusicContentCenter_removeCache'; + return 'MusicContentCenter_removeCache_f631116'; } getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number } { @@ -430,7 +430,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromGetCaches(): string { - return 'MusicContentCenter_getCaches'; + return 'MusicContentCenter_getCaches_c4f9978'; } isPreloaded(songCode: number): boolean { @@ -448,7 +448,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromIsPreloaded(songCode: number): string { - return 'MusicContentCenter_isPreloaded'; + return 'MusicContentCenter_isPreloaded_f631116'; } getLyric(songCode: number, lyricType: number = 0): string { @@ -472,7 +472,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { songCode: number, lyricType: number = 0 ): string { - return 'MusicContentCenter_getLyric'; + return 'MusicContentCenter_getLyric_5ab5efd'; } getSongSimpleInfo(songCode: number): string { @@ -491,7 +491,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { } protected getApiTypeFromGetSongSimpleInfo(songCode: number): string { - return 'MusicContentCenter_getSongSimpleInfo'; + return 'MusicContentCenter_getSongSimpleInfo_d3baeab'; } getInternalSongCode(songCode: number, jsonOption: string): number { @@ -518,7 +518,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter { songCode: number, jsonOption: string ): string { - return 'MusicContentCenter_getInternalSongCode'; + return 'MusicContentCenter_getInternalSongCode_3a3d1e7'; } } diff --git a/ts/Private/impl/IAgoraRtcEngineExImpl.ts b/ts/Private/impl/IAgoraRtcEngineExImpl.ts index 41afcdebd..11a0f40fc 100644 --- a/ts/Private/impl/IAgoraRtcEngineExImpl.ts +++ b/ts/Private/impl/IAgoraRtcEngineExImpl.ts @@ -58,7 +58,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { connection: RtcConnection, options: ChannelMediaOptions ): string { - return 'RtcEngineEx_joinChannelEx'; + return 'RtcEngineEx_joinChannelEx_a3cd08c'; } leaveChannelEx( @@ -84,7 +84,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { connection: RtcConnection, options?: LeaveChannelOptions ): string { - return 'RtcEngineEx_leaveChannelEx'; + return ''; } updateChannelMediaOptionsEx( @@ -113,7 +113,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { options: ChannelMediaOptions, connection: RtcConnection ): string { - return 'RtcEngineEx_updateChannelMediaOptionsEx'; + return 'RtcEngineEx_updateChannelMediaOptionsEx_457bb35'; } setVideoEncoderConfigurationEx( @@ -142,7 +142,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { config: VideoEncoderConfiguration, connection: RtcConnection ): string { - return 'RtcEngineEx_setVideoEncoderConfigurationEx'; + return 'RtcEngineEx_setVideoEncoderConfigurationEx_4670c1e'; } setupRemoteVideoEx(canvas: VideoCanvas, connection: RtcConnection): number { @@ -165,7 +165,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { canvas: VideoCanvas, connection: RtcConnection ): string { - return 'RtcEngineEx_setupRemoteVideoEx'; + return 'RtcEngineEx_setupRemoteVideoEx_522a409'; } muteRemoteAudioStreamEx( @@ -199,7 +199,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteRemoteAudioStreamEx'; + return 'RtcEngineEx_muteRemoteAudioStreamEx_6d93082'; } muteRemoteVideoStreamEx( @@ -233,7 +233,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteRemoteVideoStreamEx'; + return 'RtcEngineEx_muteRemoteVideoStreamEx_6d93082'; } setRemoteVideoStreamTypeEx( @@ -267,7 +267,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { streamType: VideoStreamType, connection: RtcConnection ): string { - return 'RtcEngineEx_setRemoteVideoStreamTypeEx'; + return 'RtcEngineEx_setRemoteVideoStreamTypeEx_01dc428'; } muteLocalAudioStreamEx(mute: boolean, connection: RtcConnection): number { @@ -290,7 +290,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteLocalAudioStreamEx'; + return 'RtcEngineEx_muteLocalAudioStreamEx_3cf17a4'; } muteLocalVideoStreamEx(mute: boolean, connection: RtcConnection): number { @@ -313,7 +313,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteLocalVideoStreamEx'; + return 'RtcEngineEx_muteLocalVideoStreamEx_3cf17a4'; } muteAllRemoteAudioStreamsEx( @@ -342,7 +342,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteAllRemoteAudioStreamsEx'; + return 'RtcEngineEx_muteAllRemoteAudioStreamsEx_3cf17a4'; } muteAllRemoteVideoStreamsEx( @@ -371,7 +371,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteAllRemoteVideoStreamsEx'; + return 'RtcEngineEx_muteAllRemoteVideoStreamsEx_3cf17a4'; } setSubscribeAudioBlocklistEx( @@ -405,7 +405,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uidNumber: number, connection: RtcConnection ): string { - return 'RtcEngineEx_setSubscribeAudioBlocklistEx'; + return 'RtcEngineEx_setSubscribeAudioBlocklistEx_9f1e85c'; } setSubscribeAudioAllowlistEx( @@ -439,7 +439,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uidNumber: number, connection: RtcConnection ): string { - return 'RtcEngineEx_setSubscribeAudioAllowlistEx'; + return 'RtcEngineEx_setSubscribeAudioAllowlistEx_9f1e85c'; } setSubscribeVideoBlocklistEx( @@ -473,7 +473,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uidNumber: number, connection: RtcConnection ): string { - return 'RtcEngineEx_setSubscribeVideoBlocklistEx'; + return 'RtcEngineEx_setSubscribeVideoBlocklistEx_9f1e85c'; } setSubscribeVideoAllowlistEx( @@ -507,7 +507,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uidNumber: number, connection: RtcConnection ): string { - return 'RtcEngineEx_setSubscribeVideoAllowlistEx'; + return 'RtcEngineEx_setSubscribeVideoAllowlistEx_9f1e85c'; } setRemoteVideoSubscriptionOptionsEx( @@ -541,7 +541,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { options: VideoSubscriptionOptions, connection: RtcConnection ): string { - return 'RtcEngineEx_setRemoteVideoSubscriptionOptionsEx'; + return 'RtcEngineEx_setRemoteVideoSubscriptionOptionsEx_3cd36bc'; } setRemoteVoicePositionEx( @@ -580,7 +580,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { gain: number, connection: RtcConnection ): string { - return 'RtcEngineEx_setRemoteVoicePositionEx'; + return 'RtcEngineEx_setRemoteVoicePositionEx_fc0471c'; } setRemoteUserSpatialAudioParamsEx( @@ -614,7 +614,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { params: SpatialAudioParams, connection: RtcConnection ): string { - return 'RtcEngineEx_setRemoteUserSpatialAudioParamsEx'; + return 'RtcEngineEx_setRemoteUserSpatialAudioParamsEx_40ca9fb'; } setRemoteRenderModeEx( @@ -653,7 +653,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mirrorMode: VideoMirrorModeType, connection: RtcConnection ): string { - return 'RtcEngineEx_setRemoteRenderModeEx'; + return 'RtcEngineEx_setRemoteRenderModeEx_a72fe4e'; } enableLoopbackRecordingEx( @@ -687,7 +687,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { enabled: boolean, deviceName?: string ): string { - return 'RtcEngineEx_enableLoopbackRecordingEx'; + return 'RtcEngineEx_enableLoopbackRecordingEx_4f41542'; } adjustRecordingSignalVolumeEx( @@ -716,7 +716,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { volume: number, connection: RtcConnection ): string { - return 'RtcEngineEx_adjustRecordingSignalVolumeEx'; + return 'RtcEngineEx_adjustRecordingSignalVolumeEx_e84d10e'; } muteRecordingSignalEx(mute: boolean, connection: RtcConnection): number { @@ -739,7 +739,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { mute: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_muteRecordingSignalEx'; + return 'RtcEngineEx_muteRecordingSignalEx_3cf17a4'; } adjustUserPlaybackSignalVolumeEx( @@ -773,7 +773,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { volume: number, connection: RtcConnection ): string { - return 'RtcEngineEx_adjustUserPlaybackSignalVolumeEx'; + return 'RtcEngineEx_adjustUserPlaybackSignalVolumeEx_adbd29c'; } getConnectionStateEx(connection: RtcConnection): ConnectionStateType { @@ -793,7 +793,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromGetConnectionStateEx( connection: RtcConnection ): string { - return 'RtcEngineEx_getConnectionStateEx'; + return 'RtcEngineEx_getConnectionStateEx_c81e1a4'; } enableEncryptionEx( @@ -827,7 +827,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { enabled: boolean, config: EncryptionConfig ): string { - return 'RtcEngineEx_enableEncryptionEx'; + return 'RtcEngineEx_enableEncryptionEx_10cd872'; } createDataStreamEx( @@ -854,7 +854,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { config: DataStreamConfig, connection: RtcConnection ): string { - return 'RtcEngineEx_createDataStreamEx'; + return ''; } sendStreamMessageEx( @@ -892,7 +892,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { length: number, connection: RtcConnection ): string { - return 'RtcEngineEx_sendStreamMessageEx'; + return 'RtcEngineEx_sendStreamMessageEx_0c34857'; } addVideoWatermarkEx( @@ -926,7 +926,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { options: WatermarkOptions, connection: RtcConnection ): string { - return 'RtcEngineEx_addVideoWatermarkEx'; + return 'RtcEngineEx_addVideoWatermarkEx_ad7daa3'; } clearVideoWatermarkEx(connection: RtcConnection): number { @@ -946,7 +946,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromClearVideoWatermarkEx( connection: RtcConnection ): string { - return 'RtcEngineEx_clearVideoWatermarkEx'; + return 'RtcEngineEx_clearVideoWatermarkEx_c81e1a4'; } sendCustomReportMessageEx( @@ -995,7 +995,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { value: number, connection: RtcConnection ): string { - return 'RtcEngineEx_sendCustomReportMessageEx'; + return 'RtcEngineEx_sendCustomReportMessageEx_833b8a5'; } enableAudioVolumeIndicationEx( @@ -1034,7 +1034,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { reportVad: boolean, connection: RtcConnection ): string { - return 'RtcEngineEx_enableAudioVolumeIndicationEx'; + return 'RtcEngineEx_enableAudioVolumeIndicationEx_ac84f2a'; } startRtmpStreamWithoutTranscodingEx( @@ -1063,7 +1063,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { url: string, connection: RtcConnection ): string { - return 'RtcEngineEx_startRtmpStreamWithoutTranscodingEx'; + return 'RtcEngineEx_startRtmpStreamWithoutTranscodingEx_e405325'; } startRtmpStreamWithTranscodingEx( @@ -1097,7 +1097,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { transcoding: LiveTranscoding, connection: RtcConnection ): string { - return 'RtcEngineEx_startRtmpStreamWithTranscodingEx'; + return 'RtcEngineEx_startRtmpStreamWithTranscodingEx_ab121b5'; } updateRtmpTranscodingEx( @@ -1126,7 +1126,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { transcoding: LiveTranscoding, connection: RtcConnection ): string { - return 'RtcEngineEx_updateRtmpTranscodingEx'; + return 'RtcEngineEx_updateRtmpTranscodingEx_77f3ee8'; } stopRtmpStreamEx(url: string, connection: RtcConnection): number { @@ -1149,7 +1149,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { url: string, connection: RtcConnection ): string { - return 'RtcEngineEx_stopRtmpStreamEx'; + return 'RtcEngineEx_stopRtmpStreamEx_e405325'; } startOrUpdateChannelMediaRelayEx( @@ -1178,7 +1178,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { configuration: ChannelMediaRelayConfiguration, connection: RtcConnection ): string { - return 'RtcEngineEx_startOrUpdateChannelMediaRelayEx'; + return 'RtcEngineEx_startOrUpdateChannelMediaRelayEx_4ad39a8'; } stopChannelMediaRelayEx(connection: RtcConnection): number { @@ -1198,7 +1198,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromStopChannelMediaRelayEx( connection: RtcConnection ): string { - return 'RtcEngineEx_stopChannelMediaRelayEx'; + return 'RtcEngineEx_stopChannelMediaRelayEx_c81e1a4'; } pauseAllChannelMediaRelayEx(connection: RtcConnection): number { @@ -1218,7 +1218,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromPauseAllChannelMediaRelayEx( connection: RtcConnection ): string { - return 'RtcEngineEx_pauseAllChannelMediaRelayEx'; + return 'RtcEngineEx_pauseAllChannelMediaRelayEx_c81e1a4'; } resumeAllChannelMediaRelayEx(connection: RtcConnection): number { @@ -1238,7 +1238,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromResumeAllChannelMediaRelayEx( connection: RtcConnection ): string { - return 'RtcEngineEx_resumeAllChannelMediaRelayEx'; + return 'RtcEngineEx_resumeAllChannelMediaRelayEx_c81e1a4'; } getUserInfoByUserAccountEx( @@ -1268,7 +1268,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { userAccount: string, connection: RtcConnection ): string { - return 'RtcEngineEx_getUserInfoByUserAccountEx'; + return 'RtcEngineEx_getUserInfoByUserAccountEx_ca39cc6'; } getUserInfoByUidEx(uid: number, connection: RtcConnection): UserInfo { @@ -1292,7 +1292,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uid: number, connection: RtcConnection ): string { - return 'RtcEngineEx_getUserInfoByUidEx'; + return 'RtcEngineEx_getUserInfoByUidEx_1e78da1'; } enableDualStreamModeEx( @@ -1326,7 +1326,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { streamConfig: SimulcastStreamConfig, connection: RtcConnection ): string { - return 'RtcEngineEx_enableDualStreamModeEx'; + return 'RtcEngineEx_enableDualStreamModeEx_4b18f41'; } setDualStreamModeEx( @@ -1360,7 +1360,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { streamConfig: SimulcastStreamConfig, connection: RtcConnection ): string { - return 'RtcEngineEx_setDualStreamModeEx'; + return 'RtcEngineEx_setDualStreamModeEx_622d0f3'; } setHighPriorityUserListEx( @@ -1399,7 +1399,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { option: StreamFallbackOptions, connection: RtcConnection ): string { - return 'RtcEngineEx_setHighPriorityUserListEx'; + return 'RtcEngineEx_setHighPriorityUserListEx_8736b5c'; } takeSnapshotEx( @@ -1433,7 +1433,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { uid: number, filePath: string ): string { - return 'RtcEngineEx_takeSnapshotEx'; + return 'RtcEngineEx_takeSnapshotEx_de1c015'; } enableContentInspectEx( @@ -1467,7 +1467,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { config: ContentInspectConfig, connection: RtcConnection ): string { - return 'RtcEngineEx_enableContentInspectEx'; + return 'RtcEngineEx_enableContentInspectEx_c4e7f69'; } startMediaRenderingTracingEx(connection: RtcConnection): number { @@ -1487,7 +1487,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { protected getApiTypeFromStartMediaRenderingTracingEx( connection: RtcConnection ): string { - return 'RtcEngineEx_startMediaRenderingTracingEx'; + return 'RtcEngineEx_startMediaRenderingTracingEx_c81e1a4'; } setParametersEx(connection: RtcConnection, parameters: string): number { @@ -1510,7 +1510,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx { connection: RtcConnection, parameters: string ): string { - return 'RtcEngineEx_setParametersEx'; + return 'RtcEngineEx_setParametersEx_8225ea3'; } } diff --git a/ts/Private/impl/IAgoraRtcEngineImpl.ts b/ts/Private/impl/IAgoraRtcEngineImpl.ts index d20157350..d3b3e6dd7 100644 --- a/ts/Private/impl/IAgoraRtcEngineImpl.ts +++ b/ts/Private/impl/IAgoraRtcEngineImpl.ts @@ -967,7 +967,7 @@ export class IVideoDeviceManagerImpl implements IVideoDeviceManager { } protected getApiTypeFromSetDevice(deviceIdUTF8: string): string { - return 'VideoDeviceManager_setDevice'; + return 'VideoDeviceManager_setDevice_4ad5f6e'; } getDevice(): string { @@ -979,7 +979,7 @@ export class IVideoDeviceManagerImpl implements IVideoDeviceManager { } protected getApiTypeFromGetDevice(): string { - return 'VideoDeviceManager_getDevice'; + return 'VideoDeviceManager_getDevice_73b9872'; } numberOfCapabilities(deviceIdUTF8: string): number { @@ -997,7 +997,7 @@ export class IVideoDeviceManagerImpl implements IVideoDeviceManager { } protected getApiTypeFromNumberOfCapabilities(deviceIdUTF8: string): string { - return 'VideoDeviceManager_numberOfCapabilities'; + return 'VideoDeviceManager_numberOfCapabilities_3a2037f'; } getCapability( @@ -1027,7 +1027,7 @@ export class IVideoDeviceManagerImpl implements IVideoDeviceManager { deviceIdUTF8: string, deviceCapabilityNumber: number ): string { - return 'VideoDeviceManager_getCapability'; + return 'VideoDeviceManager_getCapability_ddeefdd'; } startDeviceTest(hwnd: any): number { @@ -1045,7 +1045,7 @@ export class IVideoDeviceManagerImpl implements IVideoDeviceManager { } protected getApiTypeFromStartDeviceTest(hwnd: any): string { - return 'VideoDeviceManager_startDeviceTest'; + return 'VideoDeviceManager_startDeviceTest_a55f55f'; } stopDeviceTest(): number { @@ -1125,7 +1125,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromInitialize(context: RtcEngineContext): string { - return 'RtcEngine_initialize'; + return 'RtcEngine_initialize_0320339'; } getVersion(): SDKBuildInfo { @@ -1136,7 +1136,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetVersion(): string { - return 'RtcEngine_getVersion'; + return 'RtcEngine_getVersion_915cb25'; } getErrorDescription(code: number): string { @@ -1154,7 +1154,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetErrorDescription(code: number): string { - return 'RtcEngine_getErrorDescription'; + return 'RtcEngine_getErrorDescription_46f8ab7'; } queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number } { @@ -1170,7 +1170,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromQueryCodecCapability(): string { - return 'RtcEngine_queryCodecCapability'; + return 'RtcEngine_queryCodecCapability_ddf4f31'; } queryDeviceScore(): number { @@ -1207,7 +1207,7 @@ export class IRtcEngineImpl implements IRtcEngine { channelId: string, uid: number ): string { - return 'RtcEngine_preloadChannel'; + return ''; } preloadChannelWithUserAccount( @@ -1241,7 +1241,7 @@ export class IRtcEngineImpl implements IRtcEngine { channelId: string, userAccount: string ): string { - return 'RtcEngine_preloadChannelWithUserAccount'; + return ''; } updatePreloadChannelToken(token: string): number { @@ -1259,7 +1259,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromUpdatePreloadChannelToken(token: string): string { - return 'RtcEngine_updatePreloadChannelToken'; + return 'RtcEngine_updatePreloadChannelToken_3a2037f'; } joinChannel( @@ -1298,7 +1298,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, options: ChannelMediaOptions ): string { - return 'RtcEngine_joinChannel'; + return ''; } updateChannelMediaOptions(options: ChannelMediaOptions): number { @@ -1318,7 +1318,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateChannelMediaOptions( options: ChannelMediaOptions ): string { - return 'RtcEngine_updateChannelMediaOptions'; + return 'RtcEngine_updateChannelMediaOptions_7bfc1d7'; } leaveChannel(options?: LeaveChannelOptions): number { @@ -1336,7 +1336,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromLeaveChannel(options?: LeaveChannelOptions): string { - return 'RtcEngine_leaveChannel'; + return ''; } renewToken(token: string): number { @@ -1354,7 +1354,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromRenewToken(token: string): string { - return 'RtcEngine_renewToken'; + return 'RtcEngine_renewToken_3a2037f'; } setChannelProfile(profile: ChannelProfileType): number { @@ -1374,7 +1374,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetChannelProfile( profile: ChannelProfileType ): string { - return 'RtcEngine_setChannelProfile'; + return 'RtcEngine_setChannelProfile_a78fa4f'; } setClientRole(role: ClientRoleType, options?: ClientRoleOptions): number { @@ -1397,7 +1397,7 @@ export class IRtcEngineImpl implements IRtcEngine { role: ClientRoleType, options?: ClientRoleOptions ): string { - return 'RtcEngine_setClientRole'; + return ''; } startEchoTest(config: EchoTestConfiguration): number { @@ -1415,7 +1415,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromStartEchoTest(config: EchoTestConfiguration): string { - return 'RtcEngine_startEchoTest'; + return ''; } stopEchoTest(): number { @@ -1452,7 +1452,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, config: CameraCapturerConfiguration ): string { - return 'RtcEngine_enableMultiCamera'; + return 'RtcEngine_enableMultiCamera_bffe023'; } enableVideo(): number { @@ -1496,7 +1496,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartPreview( sourceType: VideoSourceType = VideoSourceType.VideoSourceCameraPrimary ): string { - return 'RtcEngine_startPreview'; + return ''; } stopPreview( @@ -1518,7 +1518,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStopPreview( sourceType: VideoSourceType = VideoSourceType.VideoSourceCameraPrimary ): string { - return 'RtcEngine_stopPreview'; + return ''; } startLastmileProbeTest(config: LastmileProbeConfig): number { @@ -1538,7 +1538,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartLastmileProbeTest( config: LastmileProbeConfig ): string { - return 'RtcEngine_startLastmileProbeTest'; + return 'RtcEngine_startLastmileProbeTest_c4de423'; } stopLastmileProbeTest(): number { @@ -1569,7 +1569,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetVideoEncoderConfiguration( config: VideoEncoderConfiguration ): string { - return 'RtcEngine_setVideoEncoderConfiguration'; + return 'RtcEngine_setVideoEncoderConfiguration_89677d8'; } setBeautyEffectOptions( @@ -1603,7 +1603,7 @@ export class IRtcEngineImpl implements IRtcEngine { options: BeautyOptions, type: MediaSourceType = MediaSourceType.PrimaryCameraSource ): string { - return 'RtcEngine_setBeautyEffectOptions'; + return 'RtcEngine_setBeautyEffectOptions_e7635d1'; } setLowlightEnhanceOptions( @@ -1637,7 +1637,7 @@ export class IRtcEngineImpl implements IRtcEngine { options: LowlightEnhanceOptions, type: MediaSourceType = MediaSourceType.PrimaryCameraSource ): string { - return 'RtcEngine_setLowlightEnhanceOptions'; + return 'RtcEngine_setLowlightEnhanceOptions_4f9f013'; } setVideoDenoiserOptions( @@ -1671,7 +1671,7 @@ export class IRtcEngineImpl implements IRtcEngine { options: VideoDenoiserOptions, type: MediaSourceType = MediaSourceType.PrimaryCameraSource ): string { - return 'RtcEngine_setVideoDenoiserOptions'; + return 'RtcEngine_setVideoDenoiserOptions_4e9fccc'; } setColorEnhanceOptions( @@ -1705,7 +1705,7 @@ export class IRtcEngineImpl implements IRtcEngine { options: ColorEnhanceOptions, type: MediaSourceType = MediaSourceType.PrimaryCameraSource ): string { - return 'RtcEngine_setColorEnhanceOptions'; + return 'RtcEngine_setColorEnhanceOptions_ecae2b3'; } enableVirtualBackground( @@ -1744,7 +1744,7 @@ export class IRtcEngineImpl implements IRtcEngine { segproperty: SegmentationProperty, type: MediaSourceType = MediaSourceType.PrimaryCameraSource ): string { - return 'RtcEngine_enableVirtualBackground'; + return 'RtcEngine_enableVirtualBackground_6dd8ee4'; } setupRemoteVideo(canvas: VideoCanvas): number { @@ -1762,7 +1762,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetupRemoteVideo(canvas: VideoCanvas): string { - return 'RtcEngine_setupRemoteVideo'; + return 'RtcEngine_setupRemoteVideo_acc9c38'; } setupLocalVideo(canvas: VideoCanvas): number { @@ -1780,7 +1780,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetupLocalVideo(canvas: VideoCanvas): string { - return 'RtcEngine_setupLocalVideo'; + return 'RtcEngine_setupLocalVideo_acc9c38'; } setVideoScenario(scenarioType: VideoApplicationScenarioType): number { @@ -1800,7 +1800,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetVideoScenario( scenarioType: VideoApplicationScenarioType ): string { - return 'RtcEngine_setVideoScenario'; + return 'RtcEngine_setVideoScenario_c02cd1c'; } setVideoQoEPreference(qoePreference: VideoQoePreferenceType): number { @@ -1820,7 +1820,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetVideoQoEPreference( qoePreference: VideoQoePreferenceType ): string { - return 'RtcEngine_setVideoQoEPreference'; + return 'RtcEngine_setVideoQoEPreference_c4a3d9f'; } enableAudio(): number { @@ -1868,7 +1868,7 @@ export class IRtcEngineImpl implements IRtcEngine { profile: AudioProfileType, scenario: AudioScenarioType = AudioScenarioType.AudioScenarioDefault ): string { - return 'RtcEngine_setAudioProfile'; + return ''; } setAudioScenario(scenario: AudioScenarioType): number { @@ -1888,7 +1888,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetAudioScenario( scenario: AudioScenarioType ): string { - return 'RtcEngine_setAudioScenario'; + return 'RtcEngine_setAudioScenario_c36f5c1'; } enableLocalAudio(enabled: boolean): number { @@ -1906,7 +1906,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromEnableLocalAudio(enabled: boolean): string { - return 'RtcEngine_enableLocalAudio'; + return 'RtcEngine_enableLocalAudio_5039d15'; } muteLocalAudioStream(mute: boolean): number { @@ -1924,7 +1924,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromMuteLocalAudioStream(mute: boolean): string { - return 'RtcEngine_muteLocalAudioStream'; + return 'RtcEngine_muteLocalAudioStream_5039d15'; } muteAllRemoteAudioStreams(mute: boolean): number { @@ -1942,7 +1942,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromMuteAllRemoteAudioStreams(mute: boolean): string { - return 'RtcEngine_muteAllRemoteAudioStreams'; + return 'RtcEngine_muteAllRemoteAudioStreams_5039d15'; } setDefaultMuteAllRemoteAudioStreams(mute: boolean): number { @@ -1963,7 +1963,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetDefaultMuteAllRemoteAudioStreams( mute: boolean ): string { - return 'RtcEngine_setDefaultMuteAllRemoteAudioStreams'; + return 'RtcEngine_setDefaultMuteAllRemoteAudioStreams_5039d15'; } muteRemoteAudioStream(uid: number, mute: boolean): number { @@ -1986,7 +1986,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, mute: boolean ): string { - return 'RtcEngine_muteRemoteAudioStream'; + return 'RtcEngine_muteRemoteAudioStream_dbdc15a'; } muteLocalVideoStream(mute: boolean): number { @@ -2004,7 +2004,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromMuteLocalVideoStream(mute: boolean): string { - return 'RtcEngine_muteLocalVideoStream'; + return 'RtcEngine_muteLocalVideoStream_5039d15'; } enableLocalVideo(enabled: boolean): number { @@ -2022,7 +2022,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromEnableLocalVideo(enabled: boolean): string { - return 'RtcEngine_enableLocalVideo'; + return 'RtcEngine_enableLocalVideo_5039d15'; } muteAllRemoteVideoStreams(mute: boolean): number { @@ -2040,7 +2040,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromMuteAllRemoteVideoStreams(mute: boolean): string { - return 'RtcEngine_muteAllRemoteVideoStreams'; + return 'RtcEngine_muteAllRemoteVideoStreams_5039d15'; } setDefaultMuteAllRemoteVideoStreams(mute: boolean): number { @@ -2061,7 +2061,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetDefaultMuteAllRemoteVideoStreams( mute: boolean ): string { - return 'RtcEngine_setDefaultMuteAllRemoteVideoStreams'; + return 'RtcEngine_setDefaultMuteAllRemoteVideoStreams_5039d15'; } setRemoteDefaultVideoStreamType(streamType: VideoStreamType): number { @@ -2082,7 +2082,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetRemoteDefaultVideoStreamType( streamType: VideoStreamType ): string { - return 'RtcEngine_setRemoteDefaultVideoStreamType'; + return 'RtcEngine_setRemoteDefaultVideoStreamType_5a94eb0'; } muteRemoteVideoStream(uid: number, mute: boolean): number { @@ -2105,7 +2105,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, mute: boolean ): string { - return 'RtcEngine_muteRemoteVideoStream'; + return 'RtcEngine_muteRemoteVideoStream_dbdc15a'; } setRemoteVideoStreamType(uid: number, streamType: VideoStreamType): number { @@ -2131,7 +2131,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, streamType: VideoStreamType ): string { - return 'RtcEngine_setRemoteVideoStreamType'; + return 'RtcEngine_setRemoteVideoStreamType_9e6406e'; } setRemoteVideoSubscriptionOptions( @@ -2160,7 +2160,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, options: VideoSubscriptionOptions ): string { - return 'RtcEngine_setRemoteVideoSubscriptionOptions'; + return 'RtcEngine_setRemoteVideoSubscriptionOptions_0b6b258'; } setSubscribeAudioBlocklist(uidList: number[], uidNumber: number): number { @@ -2186,7 +2186,7 @@ export class IRtcEngineImpl implements IRtcEngine { uidList: number[], uidNumber: number ): string { - return 'RtcEngine_setSubscribeAudioBlocklist'; + return 'RtcEngine_setSubscribeAudioBlocklist_2d31fd5'; } setSubscribeAudioAllowlist(uidList: number[], uidNumber: number): number { @@ -2212,7 +2212,7 @@ export class IRtcEngineImpl implements IRtcEngine { uidList: number[], uidNumber: number ): string { - return 'RtcEngine_setSubscribeAudioAllowlist'; + return 'RtcEngine_setSubscribeAudioAllowlist_2d31fd5'; } setSubscribeVideoBlocklist(uidList: number[], uidNumber: number): number { @@ -2238,7 +2238,7 @@ export class IRtcEngineImpl implements IRtcEngine { uidList: number[], uidNumber: number ): string { - return 'RtcEngine_setSubscribeVideoBlocklist'; + return 'RtcEngine_setSubscribeVideoBlocklist_2d31fd5'; } setSubscribeVideoAllowlist(uidList: number[], uidNumber: number): number { @@ -2264,7 +2264,7 @@ export class IRtcEngineImpl implements IRtcEngine { uidList: number[], uidNumber: number ): string { - return 'RtcEngine_setSubscribeVideoAllowlist'; + return 'RtcEngine_setSubscribeVideoAllowlist_2d31fd5'; } enableAudioVolumeIndication( @@ -2298,7 +2298,7 @@ export class IRtcEngineImpl implements IRtcEngine { smooth: number, reportVad: boolean ): string { - return 'RtcEngine_enableAudioVolumeIndication'; + return 'RtcEngine_enableAudioVolumeIndication_39794a0'; } startAudioRecording(config: AudioRecordingConfiguration): number { @@ -2318,7 +2318,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartAudioRecording( config: AudioRecordingConfiguration ): string { - return 'RtcEngine_startAudioRecording'; + return ''; } registerAudioEncodedFrameObserver( @@ -2346,7 +2346,7 @@ export class IRtcEngineImpl implements IRtcEngine { config: AudioEncodedFrameObserverConfig, observer: IAudioEncodedFrameObserver ): string { - return 'RtcEngine_registerAudioEncodedFrameObserver'; + return 'RtcEngine_registerAudioEncodedFrameObserver_ed4a177'; } stopAudioRecording(): number { @@ -2386,7 +2386,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromDestroyMediaPlayer( mediaPlayer: IMediaPlayer ): string { - return 'RtcEngine_destroyMediaPlayer'; + return 'RtcEngine_destroyMediaPlayer_328a49b'; } createMediaRecorder(info: RecorderStreamInfo): IMediaRecorder { @@ -2406,7 +2406,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromCreateMediaRecorder( info: RecorderStreamInfo ): string { - return 'RtcEngine_createMediaRecorder'; + return 'RtcEngine_createMediaRecorder_f779617'; } destroyMediaRecorder(mediaRecorder: IMediaRecorder): number { @@ -2424,7 +2424,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromDestroyMediaRecorder( mediaRecorder: IMediaRecorder ): string { - return 'RtcEngine_destroyMediaRecorder'; + return 'RtcEngine_destroyMediaRecorder_95cdef5'; } startAudioMixing( @@ -2463,7 +2463,7 @@ export class IRtcEngineImpl implements IRtcEngine { cycle: number, startPos: number = 0 ): string { - return 'RtcEngine_startAudioMixing'; + return ''; } stopAudioMixing(): number { @@ -2514,7 +2514,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSelectAudioTrack(index: number): string { - return 'RtcEngine_selectAudioTrack'; + return 'RtcEngine_selectAudioTrack_46f8ab7'; } getAudioTrackCount(): number { @@ -2543,7 +2543,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromAdjustAudioMixingVolume(volume: number): string { - return 'RtcEngine_adjustAudioMixingVolume'; + return 'RtcEngine_adjustAudioMixingVolume_46f8ab7'; } adjustAudioMixingPublishVolume(volume: number): number { @@ -2563,7 +2563,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromAdjustAudioMixingPublishVolume( volume: number ): string { - return 'RtcEngine_adjustAudioMixingPublishVolume'; + return 'RtcEngine_adjustAudioMixingPublishVolume_46f8ab7'; } getAudioMixingPublishVolume(): number { @@ -2594,7 +2594,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromAdjustAudioMixingPlayoutVolume( volume: number ): string { - return 'RtcEngine_adjustAudioMixingPlayoutVolume'; + return 'RtcEngine_adjustAudioMixingPlayoutVolume_46f8ab7'; } getAudioMixingPlayoutVolume(): number { @@ -2645,7 +2645,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetAudioMixingPosition(pos: number): string { - return 'RtcEngine_setAudioMixingPosition'; + return 'RtcEngine_setAudioMixingPosition_46f8ab7'; } setAudioMixingDualMonoMode(mode: AudioMixingDualMonoMode): number { @@ -2665,7 +2665,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetAudioMixingDualMonoMode( mode: AudioMixingDualMonoMode ): string { - return 'RtcEngine_setAudioMixingDualMonoMode'; + return 'RtcEngine_setAudioMixingDualMonoMode_38a5515'; } setAudioMixingPitch(pitch: number): number { @@ -2683,7 +2683,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetAudioMixingPitch(pitch: number): string { - return 'RtcEngine_setAudioMixingPitch'; + return 'RtcEngine_setAudioMixingPitch_46f8ab7'; } getEffectsVolume(): number { @@ -2712,7 +2712,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetEffectsVolume(volume: number): string { - return 'RtcEngine_setEffectsVolume'; + return 'RtcEngine_setEffectsVolume_46f8ab7'; } preloadEffect( @@ -2746,7 +2746,7 @@ export class IRtcEngineImpl implements IRtcEngine { filePath: string, startPos: number = 0 ): string { - return 'RtcEngine_preloadEffect'; + return 'RtcEngine_preloadEffect_282ba8c'; } playEffect( @@ -2805,7 +2805,7 @@ export class IRtcEngineImpl implements IRtcEngine { publish: boolean = false, startPos: number = 0 ): string { - return 'RtcEngine_playEffect'; + return 'RtcEngine_playEffect_531a783'; } playAllEffects( @@ -2849,7 +2849,7 @@ export class IRtcEngineImpl implements IRtcEngine { gain: number, publish: boolean = false ): string { - return 'RtcEngine_playAllEffects'; + return 'RtcEngine_playAllEffects_20d7df2'; } getVolumeOfEffect(soundId: number): number { @@ -2867,7 +2867,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetVolumeOfEffect(soundId: number): string { - return 'RtcEngine_getVolumeOfEffect'; + return 'RtcEngine_getVolumeOfEffect_46f8ab7'; } setVolumeOfEffect(soundId: number, volume: number): number { @@ -2890,7 +2890,7 @@ export class IRtcEngineImpl implements IRtcEngine { soundId: number, volume: number ): string { - return 'RtcEngine_setVolumeOfEffect'; + return 'RtcEngine_setVolumeOfEffect_4e92b3c'; } pauseEffect(soundId: number): number { @@ -2908,7 +2908,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromPauseEffect(soundId: number): string { - return 'RtcEngine_pauseEffect'; + return 'RtcEngine_pauseEffect_46f8ab7'; } pauseAllEffects(): number { @@ -2937,7 +2937,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromResumeEffect(soundId: number): string { - return 'RtcEngine_resumeEffect'; + return 'RtcEngine_resumeEffect_46f8ab7'; } resumeAllEffects(): number { @@ -2966,7 +2966,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromStopEffect(soundId: number): string { - return 'RtcEngine_stopEffect'; + return 'RtcEngine_stopEffect_46f8ab7'; } stopAllEffects(): number { @@ -2995,7 +2995,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromUnloadEffect(soundId: number): string { - return 'RtcEngine_unloadEffect'; + return 'RtcEngine_unloadEffect_46f8ab7'; } unloadAllEffects(): number { @@ -3024,7 +3024,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetEffectDuration(filePath: string): string { - return 'RtcEngine_getEffectDuration'; + return 'RtcEngine_getEffectDuration_3a2037f'; } setEffectPosition(soundId: number, pos: number): number { @@ -3047,7 +3047,7 @@ export class IRtcEngineImpl implements IRtcEngine { soundId: number, pos: number ): string { - return 'RtcEngine_setEffectPosition'; + return 'RtcEngine_setEffectPosition_4e92b3c'; } getEffectCurrentPosition(soundId: number): number { @@ -3065,7 +3065,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetEffectCurrentPosition(soundId: number): string { - return 'RtcEngine_getEffectCurrentPosition'; + return 'RtcEngine_getEffectCurrentPosition_46f8ab7'; } enableSoundPositionIndication(enabled: boolean): number { @@ -3085,7 +3085,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromEnableSoundPositionIndication( enabled: boolean ): string { - return 'RtcEngine_enableSoundPositionIndication'; + return 'RtcEngine_enableSoundPositionIndication_5039d15'; } setRemoteVoicePosition(uid: number, pan: number, gain: number): number { @@ -3111,7 +3111,7 @@ export class IRtcEngineImpl implements IRtcEngine { pan: number, gain: number ): string { - return 'RtcEngine_setRemoteVoicePosition'; + return 'RtcEngine_setRemoteVoicePosition_250b42d'; } enableSpatialAudio(enabled: boolean): number { @@ -3129,7 +3129,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromEnableSpatialAudio(enabled: boolean): string { - return 'RtcEngine_enableSpatialAudio'; + return 'RtcEngine_enableSpatialAudio_5039d15'; } setRemoteUserSpatialAudioParams( @@ -3158,7 +3158,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, params: SpatialAudioParams ): string { - return 'RtcEngine_setRemoteUserSpatialAudioParams'; + return 'RtcEngine_setRemoteUserSpatialAudioParams_65a7855'; } setVoiceBeautifierPreset(preset: VoiceBeautifierPreset): number { @@ -3178,7 +3178,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetVoiceBeautifierPreset( preset: VoiceBeautifierPreset ): string { - return 'RtcEngine_setVoiceBeautifierPreset'; + return 'RtcEngine_setVoiceBeautifierPreset_4dd6319'; } setAudioEffectPreset(preset: AudioEffectPreset): number { @@ -3198,7 +3198,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetAudioEffectPreset( preset: AudioEffectPreset ): string { - return 'RtcEngine_setAudioEffectPreset'; + return 'RtcEngine_setAudioEffectPreset_92ea92c'; } setVoiceConversionPreset(preset: VoiceConversionPreset): number { @@ -3218,7 +3218,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetVoiceConversionPreset( preset: VoiceConversionPreset ): string { - return 'RtcEngine_setVoiceConversionPreset'; + return 'RtcEngine_setVoiceConversionPreset_d14ee73'; } setAudioEffectParameters( @@ -3252,7 +3252,7 @@ export class IRtcEngineImpl implements IRtcEngine { param1: number, param2: number ): string { - return 'RtcEngine_setAudioEffectParameters'; + return 'RtcEngine_setAudioEffectParameters_73bc670'; } setVoiceBeautifierParameters( @@ -3286,7 +3286,7 @@ export class IRtcEngineImpl implements IRtcEngine { param1: number, param2: number ): string { - return 'RtcEngine_setVoiceBeautifierParameters'; + return 'RtcEngine_setVoiceBeautifierParameters_f3cf745'; } setVoiceConversionParameters( @@ -3320,7 +3320,7 @@ export class IRtcEngineImpl implements IRtcEngine { param1: number, param2: number ): string { - return 'RtcEngine_setVoiceConversionParameters'; + return 'RtcEngine_setVoiceConversionParameters_2f5022e'; } setLocalVoicePitch(pitch: number): number { @@ -3338,7 +3338,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLocalVoicePitch(pitch: number): string { - return 'RtcEngine_setLocalVoicePitch'; + return 'RtcEngine_setLocalVoicePitch_bdb36bb'; } setLocalVoiceFormant(formantRatio: number): number { @@ -3356,7 +3356,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLocalVoiceFormant(formantRatio: number): string { - return 'RtcEngine_setLocalVoiceFormant'; + return 'RtcEngine_setLocalVoiceFormant_bdb36bb'; } setLocalVoiceEqualization( @@ -3385,7 +3385,7 @@ export class IRtcEngineImpl implements IRtcEngine { bandFrequency: AudioEqualizationBandFrequency, bandGain: number ): string { - return 'RtcEngine_setLocalVoiceEqualization'; + return 'RtcEngine_setLocalVoiceEqualization_d14012c'; } setLocalVoiceReverb(reverbKey: AudioReverbType, value: number): number { @@ -3408,7 +3408,7 @@ export class IRtcEngineImpl implements IRtcEngine { reverbKey: AudioReverbType, value: number ): string { - return 'RtcEngine_setLocalVoiceReverb'; + return 'RtcEngine_setLocalVoiceReverb_29c2013'; } setHeadphoneEQPreset(preset: HeadphoneEqualizerPreset): number { @@ -3428,7 +3428,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetHeadphoneEQPreset( preset: HeadphoneEqualizerPreset ): string { - return 'RtcEngine_setHeadphoneEQPreset'; + return 'RtcEngine_setHeadphoneEQPreset_b679644'; } setHeadphoneEQParameters(lowGain: number, highGain: number): number { @@ -3454,7 +3454,7 @@ export class IRtcEngineImpl implements IRtcEngine { lowGain: number, highGain: number ): string { - return 'RtcEngine_setHeadphoneEQParameters'; + return 'RtcEngine_setHeadphoneEQParameters_4e92b3c'; } setLogFile(filePath: string): number { @@ -3472,7 +3472,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLogFile(filePath: string): string { - return 'RtcEngine_setLogFile'; + return 'RtcEngine_setLogFile_3a2037f'; } setLogFilter(filter: LogFilterType): number { @@ -3490,7 +3490,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLogFilter(filter: LogFilterType): string { - return 'RtcEngine_setLogFilter'; + return 'RtcEngine_setLogFilter_2626ac7'; } setLogLevel(level: LogLevel): number { @@ -3508,7 +3508,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLogLevel(level: LogLevel): string { - return 'RtcEngine_setLogLevel'; + return 'RtcEngine_setLogLevel_f125d83'; } setLogFileSize(fileSizeInKBytes: number): number { @@ -3526,7 +3526,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetLogFileSize(fileSizeInKBytes: number): string { - return 'RtcEngine_setLogFileSize'; + return 'RtcEngine_setLogFileSize_2626ac7'; } uploadLogFile(): string { @@ -3538,7 +3538,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromUploadLogFile(): string { - return 'RtcEngine_uploadLogFile'; + return 'RtcEngine_uploadLogFile_66d4ecd'; } setLocalRenderMode( @@ -3567,7 +3567,7 @@ export class IRtcEngineImpl implements IRtcEngine { renderMode: RenderModeType, mirrorMode: VideoMirrorModeType = VideoMirrorModeType.VideoMirrorModeAuto ): string { - return 'RtcEngine_setLocalRenderMode'; + return ''; } setRemoteRenderMode( @@ -3601,7 +3601,7 @@ export class IRtcEngineImpl implements IRtcEngine { renderMode: RenderModeType, mirrorMode: VideoMirrorModeType ): string { - return 'RtcEngine_setRemoteRenderMode'; + return 'RtcEngine_setRemoteRenderMode_6771ce0'; } setLocalVideoMirrorMode(mirrorMode: VideoMirrorModeType): number { @@ -3621,7 +3621,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetLocalVideoMirrorMode( mirrorMode: VideoMirrorModeType ): string { - return 'RtcEngine_setLocalVideoMirrorMode'; + return 'RtcEngine_setLocalVideoMirrorMode_b8a6c69'; } enableDualStreamMode( @@ -3650,7 +3650,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, streamConfig?: SimulcastStreamConfig ): string { - return 'RtcEngine_enableDualStreamMode'; + return ''; } setDualStreamMode( @@ -3676,7 +3676,7 @@ export class IRtcEngineImpl implements IRtcEngine { mode: SimulcastStreamMode, streamConfig?: SimulcastStreamConfig ): string { - return 'RtcEngine_setDualStreamMode'; + return ''; } enableCustomAudioLocalPlayback(trackId: number, enabled: boolean): number { @@ -3702,7 +3702,7 @@ export class IRtcEngineImpl implements IRtcEngine { trackId: number, enabled: boolean ): string { - return 'RtcEngine_enableCustomAudioLocalPlayback'; + return 'RtcEngine_enableCustomAudioLocalPlayback_9566341'; } setRecordingAudioFrameParameters( @@ -3741,7 +3741,7 @@ export class IRtcEngineImpl implements IRtcEngine { mode: RawAudioFrameOpModeType, samplesPerCall: number ): string { - return 'RtcEngine_setRecordingAudioFrameParameters'; + return 'RtcEngine_setRecordingAudioFrameParameters_bd46d1d'; } setPlaybackAudioFrameParameters( @@ -3780,7 +3780,7 @@ export class IRtcEngineImpl implements IRtcEngine { mode: RawAudioFrameOpModeType, samplesPerCall: number ): string { - return 'RtcEngine_setPlaybackAudioFrameParameters'; + return 'RtcEngine_setPlaybackAudioFrameParameters_bd46d1d'; } setMixedAudioFrameParameters( @@ -3814,7 +3814,7 @@ export class IRtcEngineImpl implements IRtcEngine { channel: number, samplesPerCall: number ): string { - return 'RtcEngine_setMixedAudioFrameParameters'; + return 'RtcEngine_setMixedAudioFrameParameters_ee7e270'; } setEarMonitoringAudioFrameParameters( @@ -3853,7 +3853,7 @@ export class IRtcEngineImpl implements IRtcEngine { mode: RawAudioFrameOpModeType, samplesPerCall: number ): string { - return 'RtcEngine_setEarMonitoringAudioFrameParameters'; + return 'RtcEngine_setEarMonitoringAudioFrameParameters_bd46d1d'; } setPlaybackAudioFrameBeforeMixingParameters( @@ -3883,7 +3883,7 @@ export class IRtcEngineImpl implements IRtcEngine { sampleRate: number, channel: number ): string { - return 'RtcEngine_setPlaybackAudioFrameBeforeMixingParameters'; + return 'RtcEngine_setPlaybackAudioFrameBeforeMixingParameters_4e92b3c'; } enableAudioSpectrumMonitor(intervalInMS: number = 100): number { @@ -3903,7 +3903,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromEnableAudioSpectrumMonitor( intervalInMS: number = 100 ): string { - return 'RtcEngine_enableAudioSpectrumMonitor'; + return 'RtcEngine_enableAudioSpectrumMonitor_46f8ab7'; } disableAudioSpectrumMonitor(): number { @@ -3932,7 +3932,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromRegisterAudioSpectrumObserver( observer: IAudioSpectrumObserver ): string { - return 'RtcEngine_registerAudioSpectrumObserver'; + return 'RtcEngine_registerAudioSpectrumObserver_0406ea7'; } unregisterAudioSpectrumObserver(observer: IAudioSpectrumObserver): number { @@ -3951,7 +3951,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUnregisterAudioSpectrumObserver( observer: IAudioSpectrumObserver ): string { - return 'RtcEngine_unregisterAudioSpectrumObserver'; + return 'RtcEngine_unregisterAudioSpectrumObserver_0406ea7'; } adjustRecordingSignalVolume(volume: number): number { @@ -3969,7 +3969,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromAdjustRecordingSignalVolume(volume: number): string { - return 'RtcEngine_adjustRecordingSignalVolume'; + return 'RtcEngine_adjustRecordingSignalVolume_46f8ab7'; } muteRecordingSignal(mute: boolean): number { @@ -3987,7 +3987,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromMuteRecordingSignal(mute: boolean): string { - return 'RtcEngine_muteRecordingSignal'; + return 'RtcEngine_muteRecordingSignal_5039d15'; } adjustPlaybackSignalVolume(volume: number): number { @@ -4005,7 +4005,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromAdjustPlaybackSignalVolume(volume: number): string { - return 'RtcEngine_adjustPlaybackSignalVolume'; + return 'RtcEngine_adjustPlaybackSignalVolume_46f8ab7'; } adjustUserPlaybackSignalVolume(uid: number, volume: number): number { @@ -4031,7 +4031,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, volume: number ): string { - return 'RtcEngine_adjustUserPlaybackSignalVolume'; + return 'RtcEngine_adjustUserPlaybackSignalVolume_88641bf'; } setLocalPublishFallbackOption(option: StreamFallbackOptions): number { @@ -4051,7 +4051,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetLocalPublishFallbackOption( option: StreamFallbackOptions ): string { - return 'RtcEngine_setLocalPublishFallbackOption'; + return 'RtcEngine_setLocalPublishFallbackOption_c29b788'; } setRemoteSubscribeFallbackOption(option: StreamFallbackOptions): number { @@ -4071,7 +4071,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetRemoteSubscribeFallbackOption( option: StreamFallbackOptions ): string { - return 'RtcEngine_setRemoteSubscribeFallbackOption'; + return 'RtcEngine_setRemoteSubscribeFallbackOption_c29b788'; } setHighPriorityUserList( @@ -4105,7 +4105,7 @@ export class IRtcEngineImpl implements IRtcEngine { uidNum: number, option: StreamFallbackOptions ): string { - return 'RtcEngine_setHighPriorityUserList'; + return 'RtcEngine_setHighPriorityUserList_ab88726'; } enableExtension( @@ -4144,7 +4144,7 @@ export class IRtcEngineImpl implements IRtcEngine { enable: boolean = true, type: MediaSourceType = MediaSourceType.UnknownMediaSource ): string { - return 'RtcEngine_enableExtension'; + return ''; } setExtensionProperty( @@ -4188,7 +4188,7 @@ export class IRtcEngineImpl implements IRtcEngine { value: string, type: MediaSourceType = MediaSourceType.UnknownMediaSource ): string { - return 'RtcEngine_setExtensionProperty'; + return ''; } getExtensionProperty( @@ -4233,7 +4233,7 @@ export class IRtcEngineImpl implements IRtcEngine { bufLen: number, type: MediaSourceType = MediaSourceType.UnknownMediaSource ): string { - return 'RtcEngine_getExtensionProperty'; + return ''; } enableLoopbackRecording(enabled: boolean, deviceName?: string): number { @@ -4259,7 +4259,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, deviceName?: string ): string { - return 'RtcEngine_enableLoopbackRecording'; + return 'RtcEngine_enableLoopbackRecording_0b8eb79'; } adjustLoopbackSignalVolume(volume: number): number { @@ -4277,7 +4277,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromAdjustLoopbackSignalVolume(volume: number): string { - return 'RtcEngine_adjustLoopbackSignalVolume'; + return 'RtcEngine_adjustLoopbackSignalVolume_46f8ab7'; } getLoopbackRecordingVolume(): number { @@ -4317,7 +4317,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, includeAudioFilters: EarMonitoringFilterType ): string { - return 'RtcEngine_enableInEarMonitoring'; + return 'RtcEngine_enableInEarMonitoring_077cf5f'; } setInEarMonitoringVolume(volume: number): number { @@ -4335,7 +4335,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetInEarMonitoringVolume(volume: number): string { - return 'RtcEngine_setInEarMonitoringVolume'; + return 'RtcEngine_setInEarMonitoringVolume_46f8ab7'; } loadExtensionProvider(path: string, unloadAfterUse: boolean = false): number { @@ -4361,7 +4361,7 @@ export class IRtcEngineImpl implements IRtcEngine { path: string, unloadAfterUse: boolean = false ): string { - return 'RtcEngine_loadExtensionProvider'; + return 'RtcEngine_loadExtensionProvider_7a174df'; } setExtensionProviderProperty( @@ -4395,7 +4395,7 @@ export class IRtcEngineImpl implements IRtcEngine { key: string, value: string ): string { - return 'RtcEngine_setExtensionProviderProperty'; + return 'RtcEngine_setExtensionProviderProperty_0e4f59e'; } registerExtension( @@ -4429,7 +4429,7 @@ export class IRtcEngineImpl implements IRtcEngine { extension: string, type: MediaSourceType = MediaSourceType.UnknownMediaSource ): string { - return 'RtcEngine_registerExtension'; + return 'RtcEngine_registerExtension_fd62af4'; } setCameraCapturerConfiguration(config: CameraCapturerConfiguration): number { @@ -4449,7 +4449,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetCameraCapturerConfiguration( config: CameraCapturerConfiguration ): string { - return 'RtcEngine_setCameraCapturerConfiguration'; + return 'RtcEngine_setCameraCapturerConfiguration_afa93b3'; } createCustomVideoTrack(): number { @@ -4481,7 +4481,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromCreateCustomEncodedVideoTrack( senderOption: SenderOptions ): string { - return 'RtcEngine_createCustomEncodedVideoTrack'; + return 'RtcEngine_createCustomEncodedVideoTrack_0e9dc99'; } destroyCustomVideoTrack(videoTrackId: number): number { @@ -4501,7 +4501,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromDestroyCustomVideoTrack( videoTrackId: number ): string { - return 'RtcEngine_destroyCustomVideoTrack'; + return 'RtcEngine_destroyCustomVideoTrack_3019423'; } destroyCustomEncodedVideoTrack(videoTrackId: number): number { @@ -4522,7 +4522,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromDestroyCustomEncodedVideoTrack( videoTrackId: number ): string { - return 'RtcEngine_destroyCustomEncodedVideoTrack'; + return 'RtcEngine_destroyCustomEncodedVideoTrack_3019423'; } switchCamera(): number { @@ -4606,7 +4606,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetCameraZoomFactor(factor: number): string { - return 'RtcEngine_setCameraZoomFactor'; + return 'RtcEngine_setCameraZoomFactor_685e803'; } enableFaceDetection(enabled: boolean): number { @@ -4624,7 +4624,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromEnableFaceDetection(enabled: boolean): string { - return 'RtcEngine_enableFaceDetection'; + return 'RtcEngine_enableFaceDetection_5039d15'; } getCameraMaxZoomFactor(): number { @@ -4664,7 +4664,7 @@ export class IRtcEngineImpl implements IRtcEngine { positionX: number, positionY: number ): string { - return 'RtcEngine_setCameraFocusPositionInPreview'; + return 'RtcEngine_setCameraFocusPositionInPreview_f282d50'; } setCameraTorchOn(isOn: boolean): number { @@ -4682,7 +4682,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetCameraTorchOn(isOn: boolean): string { - return 'RtcEngine_setCameraTorchOn'; + return 'RtcEngine_setCameraTorchOn_5039d15'; } setCameraAutoFocusFaceModeEnabled(enabled: boolean): number { @@ -4703,7 +4703,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetCameraAutoFocusFaceModeEnabled( enabled: boolean ): string { - return 'RtcEngine_setCameraAutoFocusFaceModeEnabled'; + return 'RtcEngine_setCameraAutoFocusFaceModeEnabled_5039d15'; } isCameraExposurePositionSupported(): boolean { @@ -4743,7 +4743,7 @@ export class IRtcEngineImpl implements IRtcEngine { positionXinView: number, positionYinView: number ): string { - return 'RtcEngine_setCameraExposurePosition'; + return 'RtcEngine_setCameraExposurePosition_f282d50'; } isCameraExposureSupported(): boolean { @@ -4772,7 +4772,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetCameraExposureFactor(factor: number): string { - return 'RtcEngine_setCameraExposureFactor'; + return 'RtcEngine_setCameraExposureFactor_685e803'; } isCameraAutoExposureFaceModeSupported(): boolean { @@ -4804,7 +4804,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetCameraAutoExposureFaceModeEnabled( enabled: boolean ): string { - return 'RtcEngine_setCameraAutoExposureFaceModeEnabled'; + return 'RtcEngine_setCameraAutoExposureFaceModeEnabled_5039d15'; } setDefaultAudioRouteToSpeakerphone(defaultToSpeaker: boolean): number { @@ -4825,7 +4825,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetDefaultAudioRouteToSpeakerphone( defaultToSpeaker: boolean ): string { - return 'RtcEngine_setDefaultAudioRouteToSpeakerphone'; + return 'RtcEngine_setDefaultAudioRouteToSpeakerphone_5039d15'; } setEnableSpeakerphone(speakerOn: boolean): number { @@ -4843,7 +4843,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetEnableSpeakerphone(speakerOn: boolean): string { - return 'RtcEngine_setEnableSpeakerphone'; + return 'RtcEngine_setEnableSpeakerphone_5039d15'; } isSpeakerphoneEnabled(): boolean { @@ -4872,7 +4872,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetRouteInCommunicationMode(route: number): string { - return 'RtcEngine_setRouteInCommunicationMode'; + return 'RtcEngine_setRouteInCommunicationMode_46f8ab7'; } getScreenCaptureSources( @@ -4906,7 +4906,7 @@ export class IRtcEngineImpl implements IRtcEngine { iconSize: Size, includeScreen: boolean ): string { - return 'RtcEngine_getScreenCaptureSources'; + return 'RtcEngine_getScreenCaptureSources_f3e02cb'; } setAudioSessionOperationRestriction( @@ -4929,7 +4929,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetAudioSessionOperationRestriction( restriction: AudioSessionOperationRestriction ): string { - return 'RtcEngine_setAudioSessionOperationRestriction'; + return 'RtcEngine_setAudioSessionOperationRestriction_c492897'; } startScreenCaptureByDisplayId( @@ -4963,7 +4963,7 @@ export class IRtcEngineImpl implements IRtcEngine { regionRect: Rectangle, captureParams: ScreenCaptureParameters ): string { - return 'RtcEngine_startScreenCaptureByDisplayId'; + return 'RtcEngine_startScreenCaptureByDisplayId_7cf6800'; } startScreenCaptureByScreenRect( @@ -4997,7 +4997,7 @@ export class IRtcEngineImpl implements IRtcEngine { regionRect: Rectangle, captureParams: ScreenCaptureParameters ): string { - return 'RtcEngine_startScreenCaptureByScreenRect'; + return 'RtcEngine_startScreenCaptureByScreenRect_e286286'; } getAudioDeviceInfo(): DeviceInfo { @@ -5009,7 +5009,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetAudioDeviceInfo(): string { - return 'RtcEngine_getAudioDeviceInfo'; + return 'RtcEngine_getAudioDeviceInfo_505aa0c'; } startScreenCaptureByWindowId( @@ -5043,7 +5043,7 @@ export class IRtcEngineImpl implements IRtcEngine { regionRect: Rectangle, captureParams: ScreenCaptureParameters ): string { - return 'RtcEngine_startScreenCaptureByWindowId'; + return 'RtcEngine_startScreenCaptureByWindowId_5ab7e59'; } setScreenCaptureContentHint(contentHint: VideoContentHint): number { @@ -5063,7 +5063,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetScreenCaptureContentHint( contentHint: VideoContentHint ): string { - return 'RtcEngine_setScreenCaptureContentHint'; + return 'RtcEngine_setScreenCaptureContentHint_8ad2c79'; } updateScreenCaptureRegion(regionRect: Rectangle): number { @@ -5083,7 +5083,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateScreenCaptureRegion( regionRect: Rectangle ): string { - return 'RtcEngine_updateScreenCaptureRegion'; + return 'RtcEngine_updateScreenCaptureRegion_6b327a8'; } updateScreenCaptureParameters( @@ -5106,7 +5106,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateScreenCaptureParameters( captureParams: ScreenCaptureParameters ): string { - return 'RtcEngine_updateScreenCaptureParameters'; + return 'RtcEngine_updateScreenCaptureParameters_a2eef93'; } startScreenCapture(captureParams: ScreenCaptureParameters2): number { @@ -5126,7 +5126,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartScreenCapture( captureParams: ScreenCaptureParameters2 ): string { - return 'RtcEngine_startScreenCapture'; + return ''; } updateScreenCapture(captureParams: ScreenCaptureParameters2): number { @@ -5146,7 +5146,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateScreenCapture( captureParams: ScreenCaptureParameters2 ): string { - return 'RtcEngine_updateScreenCapture'; + return 'RtcEngine_updateScreenCapture_270da41'; } queryScreenCaptureCapability(): number { @@ -5177,7 +5177,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetScreenCaptureScenario( screenScenario: ScreenScenarioType ): string { - return 'RtcEngine_setScreenCaptureScenario'; + return 'RtcEngine_setScreenCaptureScenario_13de7b4'; } stopScreenCapture(): number { @@ -5188,7 +5188,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromStopScreenCapture(): string { - return 'RtcEngine_stopScreenCapture'; + return ''; } getCallId(): string { @@ -5200,7 +5200,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetCallId(): string { - return 'RtcEngine_getCallId'; + return 'RtcEngine_getCallId_66d4ecd'; } rate(callId: string, rating: number, description: string): number { @@ -5226,7 +5226,7 @@ export class IRtcEngineImpl implements IRtcEngine { rating: number, description: string ): string { - return 'RtcEngine_rate'; + return 'RtcEngine_rate_f1a0070'; } complain(callId: string, description: string): number { @@ -5249,7 +5249,7 @@ export class IRtcEngineImpl implements IRtcEngine { callId: string, description: string ): string { - return 'RtcEngine_complain'; + return 'RtcEngine_complain_ccad422'; } startRtmpStreamWithoutTranscoding(url: string): number { @@ -5269,7 +5269,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartRtmpStreamWithoutTranscoding( url: string ): string { - return 'RtcEngine_startRtmpStreamWithoutTranscoding'; + return 'RtcEngine_startRtmpStreamWithoutTranscoding_3a2037f'; } startRtmpStreamWithTranscoding( @@ -5298,7 +5298,7 @@ export class IRtcEngineImpl implements IRtcEngine { url: string, transcoding: LiveTranscoding ): string { - return 'RtcEngine_startRtmpStreamWithTranscoding'; + return 'RtcEngine_startRtmpStreamWithTranscoding_f76aa1a'; } updateRtmpTranscoding(transcoding: LiveTranscoding): number { @@ -5318,7 +5318,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateRtmpTranscoding( transcoding: LiveTranscoding ): string { - return 'RtcEngine_updateRtmpTranscoding'; + return 'RtcEngine_updateRtmpTranscoding_91368d4'; } startLocalVideoTranscoder(config: LocalTranscoderConfiguration): number { @@ -5338,7 +5338,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartLocalVideoTranscoder( config: LocalTranscoderConfiguration ): string { - return 'RtcEngine_startLocalVideoTranscoder'; + return 'RtcEngine_startLocalVideoTranscoder_90f9e33'; } updateLocalTranscoderConfiguration( @@ -5361,7 +5361,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateLocalTranscoderConfiguration( config: LocalTranscoderConfiguration ): string { - return 'RtcEngine_updateLocalTranscoderConfiguration'; + return 'RtcEngine_updateLocalTranscoderConfiguration_90f9e33'; } stopRtmpStream(url: string): number { @@ -5379,7 +5379,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromStopRtmpStream(url: string): string { - return 'RtcEngine_stopRtmpStream'; + return 'RtcEngine_stopRtmpStream_3a2037f'; } stopLocalVideoTranscoder(): number { @@ -5416,7 +5416,7 @@ export class IRtcEngineImpl implements IRtcEngine { sourceType: VideoSourceType, config: CameraCapturerConfiguration ): string { - return 'RtcEngine_startCameraCapture'; + return 'RtcEngine_startCameraCapture_f3692cc'; } stopCameraCapture(sourceType: VideoSourceType): number { @@ -5436,7 +5436,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStopCameraCapture( sourceType: VideoSourceType ): string { - return 'RtcEngine_stopCameraCapture'; + return 'RtcEngine_stopCameraCapture_4fd718e'; } setCameraDeviceOrientation( @@ -5465,7 +5465,7 @@ export class IRtcEngineImpl implements IRtcEngine { type: VideoSourceType, orientation: VideoOrientation ): string { - return 'RtcEngine_setCameraDeviceOrientation'; + return 'RtcEngine_setCameraDeviceOrientation_025aae8'; } setScreenCaptureOrientation( @@ -5494,7 +5494,7 @@ export class IRtcEngineImpl implements IRtcEngine { type: VideoSourceType, orientation: VideoOrientation ): string { - return 'RtcEngine_setScreenCaptureOrientation'; + return 'RtcEngine_setScreenCaptureOrientation_025aae8'; } getConnectionState(): ConnectionStateType { @@ -5523,7 +5523,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromRegisterEventHandler( eventHandler: IRtcEngineEventHandler ): string { - return 'RtcEngine_registerEventHandler'; + return 'RtcEngine_registerEventHandler_5fc0465'; } unregisterEventHandler(eventHandler: IRtcEngineEventHandler): boolean { @@ -5541,7 +5541,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUnregisterEventHandler( eventHandler: IRtcEngineEventHandler ): string { - return 'RtcEngine_unregisterEventHandler'; + return 'RtcEngine_unregisterEventHandler_5fc0465'; } setRemoteUserPriority(uid: number, userPriority: PriorityType): number { @@ -5564,7 +5564,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, userPriority: PriorityType ): string { - return 'RtcEngine_setRemoteUserPriority'; + return 'RtcEngine_setRemoteUserPriority_f34115b'; } setEncryptionMode(encryptionMode: string): number { @@ -5582,7 +5582,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetEncryptionMode(encryptionMode: string): string { - return 'RtcEngine_setEncryptionMode'; + return 'RtcEngine_setEncryptionMode_3a2037f'; } setEncryptionSecret(secret: string): number { @@ -5600,7 +5600,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetEncryptionSecret(secret: string): string { - return 'RtcEngine_setEncryptionSecret'; + return 'RtcEngine_setEncryptionSecret_3a2037f'; } enableEncryption(enabled: boolean, config: EncryptionConfig): number { @@ -5623,7 +5623,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, config: EncryptionConfig ): string { - return 'RtcEngine_enableEncryption'; + return 'RtcEngine_enableEncryption_421c27b'; } createDataStream(config: DataStreamConfig): number { @@ -5642,7 +5642,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromCreateDataStream(config: DataStreamConfig): string { - return 'RtcEngine_createDataStream'; + return ''; } sendStreamMessage( @@ -5675,7 +5675,7 @@ export class IRtcEngineImpl implements IRtcEngine { data: Uint8Array, length: number ): string { - return 'RtcEngine_sendStreamMessage'; + return 'RtcEngine_sendStreamMessage_8715a45'; } addVideoWatermark(watermarkUrl: string, options: WatermarkOptions): number { @@ -5698,7 +5698,7 @@ export class IRtcEngineImpl implements IRtcEngine { watermarkUrl: string, options: WatermarkOptions ): string { - return 'RtcEngine_addVideoWatermark'; + return ''; } clearVideoWatermarks(): number { @@ -5751,7 +5751,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromEnableWebSdkInteroperability( enabled: boolean ): string { - return 'RtcEngine_enableWebSdkInteroperability'; + return 'RtcEngine_enableWebSdkInteroperability_5039d15'; } sendCustomReportMessage( @@ -5795,7 +5795,7 @@ export class IRtcEngineImpl implements IRtcEngine { label: string, value: number ): string { - return 'RtcEngine_sendCustomReportMessage'; + return 'RtcEngine_sendCustomReportMessage_56d6589'; } registerMediaMetadataObserver( @@ -5823,7 +5823,7 @@ export class IRtcEngineImpl implements IRtcEngine { observer: IMetadataObserver, type: MetadataType ): string { - return 'RtcEngine_registerMediaMetadataObserver'; + return 'RtcEngine_registerMediaMetadataObserver_8701fec'; } unregisterMediaMetadataObserver( @@ -5851,7 +5851,7 @@ export class IRtcEngineImpl implements IRtcEngine { observer: IMetadataObserver, type: MetadataType ): string { - return 'RtcEngine_unregisterMediaMetadataObserver'; + return 'RtcEngine_unregisterMediaMetadataObserver_8701fec'; } startAudioFrameDump( @@ -5905,7 +5905,7 @@ export class IRtcEngineImpl implements IRtcEngine { durationMs: number, autoUpload: boolean ): string { - return 'RtcEngine_startAudioFrameDump'; + return 'RtcEngine_startAudioFrameDump_aad7331'; } stopAudioFrameDump(channelId: string, uid: number, location: string): number { @@ -5935,7 +5935,7 @@ export class IRtcEngineImpl implements IRtcEngine { uid: number, location: string ): string { - return 'RtcEngine_stopAudioFrameDump'; + return 'RtcEngine_stopAudioFrameDump_a4c9af4'; } setAINSMode(enabled: boolean, mode: AudioAinsMode): number { @@ -5958,7 +5958,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, mode: AudioAinsMode ): string { - return 'RtcEngine_setAINSMode'; + return 'RtcEngine_setAINSMode_4df3049'; } registerLocalUserAccount(appId: string, userAccount: string): number { @@ -5984,7 +5984,7 @@ export class IRtcEngineImpl implements IRtcEngine { appId: string, userAccount: string ): string { - return 'RtcEngine_registerLocalUserAccount'; + return 'RtcEngine_registerLocalUserAccount_ccad422'; } joinChannelWithUserAccount( @@ -6023,7 +6023,7 @@ export class IRtcEngineImpl implements IRtcEngine { userAccount: string, options?: ChannelMediaOptions ): string { - return 'RtcEngine_joinChannelWithUserAccount'; + return ''; } joinChannelWithUserAccountEx( @@ -6062,7 +6062,7 @@ export class IRtcEngineImpl implements IRtcEngine { userAccount: string, options: ChannelMediaOptions ): string { - return 'RtcEngine_joinChannelWithUserAccountEx'; + return 'RtcEngine_joinChannelWithUserAccountEx_268b977'; } getUserInfoByUserAccount(userAccount: string): UserInfo { @@ -6083,7 +6083,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromGetUserInfoByUserAccount( userAccount: string ): string { - return 'RtcEngine_getUserInfoByUserAccount'; + return 'RtcEngine_getUserInfoByUserAccount_c6a8f08'; } getUserInfoByUid(uid: number): UserInfo { @@ -6102,7 +6102,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetUserInfoByUid(uid: number): string { - return 'RtcEngine_getUserInfoByUid'; + return 'RtcEngine_getUserInfoByUid_6b7aee8'; } startOrUpdateChannelMediaRelay( @@ -6125,7 +6125,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStartOrUpdateChannelMediaRelay( configuration: ChannelMediaRelayConfiguration ): string { - return 'RtcEngine_startOrUpdateChannelMediaRelay'; + return 'RtcEngine_startOrUpdateChannelMediaRelay_e68f0a4'; } stopChannelMediaRelay(): number { @@ -6179,7 +6179,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetDirectCdnStreamingAudioConfiguration( profile: AudioProfileType ): string { - return 'RtcEngine_setDirectCdnStreamingAudioConfiguration'; + return 'RtcEngine_setDirectCdnStreamingAudioConfiguration_ac39c15'; } setDirectCdnStreamingVideoConfiguration( @@ -6202,7 +6202,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetDirectCdnStreamingVideoConfiguration( config: VideoEncoderConfiguration ): string { - return 'RtcEngine_setDirectCdnStreamingVideoConfiguration'; + return 'RtcEngine_setDirectCdnStreamingVideoConfiguration_89677d8'; } startDirectCdnStreaming( @@ -6235,7 +6235,7 @@ export class IRtcEngineImpl implements IRtcEngine { publishUrl: string, options: DirectCdnStreamingMediaOptions ): string { - return 'RtcEngine_startDirectCdnStreaming'; + return 'RtcEngine_startDirectCdnStreaming_ed8d77b'; } stopDirectCdnStreaming(): number { @@ -6269,7 +6269,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUpdateDirectCdnStreamingMediaOptions( options: DirectCdnStreamingMediaOptions ): string { - return 'RtcEngine_updateDirectCdnStreamingMediaOptions'; + return 'RtcEngine_updateDirectCdnStreamingMediaOptions_d2556c8'; } startRhythmPlayer( @@ -6303,7 +6303,7 @@ export class IRtcEngineImpl implements IRtcEngine { sound2: string, config: AgoraRhythmPlayerConfig ): string { - return 'RtcEngine_startRhythmPlayer'; + return 'RtcEngine_startRhythmPlayer_e1f6565'; } stopRhythmPlayer(): number { @@ -6334,7 +6334,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromConfigRhythmPlayer( config: AgoraRhythmPlayerConfig ): string { - return 'RtcEngine_configRhythmPlayer'; + return 'RtcEngine_configRhythmPlayer_b36c805'; } takeSnapshot(uid: number, filePath: string): number { @@ -6354,7 +6354,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromTakeSnapshot(uid: number, filePath: string): string { - return 'RtcEngine_takeSnapshot'; + return 'RtcEngine_takeSnapshot_1922dd1'; } enableContentInspect(enabled: boolean, config: ContentInspectConfig): number { @@ -6377,7 +6377,7 @@ export class IRtcEngineImpl implements IRtcEngine { enabled: boolean, config: ContentInspectConfig ): string { - return 'RtcEngine_enableContentInspect'; + return 'RtcEngine_enableContentInspect_e15e514'; } adjustCustomAudioPublishVolume(trackId: number, volume: number): number { @@ -6403,7 +6403,7 @@ export class IRtcEngineImpl implements IRtcEngine { trackId: number, volume: number ): string { - return 'RtcEngine_adjustCustomAudioPublishVolume'; + return 'RtcEngine_adjustCustomAudioPublishVolume_f8da2ca'; } adjustCustomAudioPlayoutVolume(trackId: number, volume: number): number { @@ -6429,7 +6429,7 @@ export class IRtcEngineImpl implements IRtcEngine { trackId: number, volume: number ): string { - return 'RtcEngine_adjustCustomAudioPlayoutVolume'; + return 'RtcEngine_adjustCustomAudioPlayoutVolume_f8da2ca'; } setCloudProxy(proxyType: CloudProxyType): number { @@ -6447,7 +6447,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetCloudProxy(proxyType: CloudProxyType): string { - return 'RtcEngine_setCloudProxy'; + return 'RtcEngine_setCloudProxy_39d115e'; } setLocalAccessPoint(config: LocalAccessPointConfiguration): number { @@ -6467,7 +6467,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromSetLocalAccessPoint( config: LocalAccessPointConfiguration ): string { - return 'RtcEngine_setLocalAccessPoint'; + return 'RtcEngine_setLocalAccessPoint_798c8c7'; } setAdvancedAudioOptions( @@ -6496,7 +6496,7 @@ export class IRtcEngineImpl implements IRtcEngine { options: AdvancedAudioOptions, sourceType: number = 0 ): string { - return 'RtcEngine_setAdvancedAudioOptions'; + return 'RtcEngine_setAdvancedAudioOptions_38d986b'; } setAVSyncSource(channelId: string, uid: number): number { @@ -6519,7 +6519,7 @@ export class IRtcEngineImpl implements IRtcEngine { channelId: string, uid: number ): string { - return 'RtcEngine_setAVSyncSource'; + return 'RtcEngine_setAVSyncSource_bf26e54'; } enableVideoImageSource(enable: boolean, options: ImageTrackOptions): number { @@ -6542,7 +6542,7 @@ export class IRtcEngineImpl implements IRtcEngine { enable: boolean, options: ImageTrackOptions ): string { - return 'RtcEngine_enableVideoImageSource'; + return 'RtcEngine_enableVideoImageSource_5f39ea0'; } getCurrentMonotonicTimeInMs(): number { @@ -6571,7 +6571,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromEnableWirelessAccelerate(enabled: boolean): string { - return 'RtcEngine_enableWirelessAccelerate'; + return 'RtcEngine_enableWirelessAccelerate_5039d15'; } getNetworkType(): number { @@ -6600,7 +6600,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetParameters(parameters: string): string { - return 'RtcEngine_setParameters'; + return 'RtcEngine_setParameters_3a2037f'; } startMediaRenderingTracing(): number { @@ -6653,7 +6653,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromIsFeatureAvailableOnDevice( type: FeatureType ): string { - return 'RtcEngine_isFeatureAvailableOnDevice'; + return 'RtcEngine_isFeatureAvailableOnDevice_a694b62'; } startScreenCaptureBySourceType( @@ -6682,7 +6682,7 @@ export class IRtcEngineImpl implements IRtcEngine { sourceType: VideoSourceType, config: ScreenCaptureConfiguration ): string { - return 'RtcEngine_startScreenCaptureBySourceType'; + return ''; } stopScreenCaptureBySourceType(sourceType: VideoSourceType): number { @@ -6703,7 +6703,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromStopScreenCaptureBySourceType( sourceType: VideoSourceType ): string { - return 'RtcEngine_stopScreenCaptureBySourceType'; + return ''; } release(sync: boolean = false): void { @@ -6720,7 +6720,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromRelease(sync: boolean = false): string { - return 'RtcEngine_release'; + return ''; } startPreviewWithoutSourceType(): number { @@ -6731,7 +6731,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromStartPreviewWithoutSourceType(): string { - return 'RtcEngine_startPreviewWithoutSourceType'; + return ''; } getAudioDeviceManager(): IAudioDeviceManager { @@ -6742,7 +6742,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetAudioDeviceManager(): string { - return 'RtcEngine_getAudioDeviceManager'; + return ''; } getVideoDeviceManager(): IVideoDeviceManager { @@ -6753,7 +6753,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetVideoDeviceManager(): string { - return 'RtcEngine_getVideoDeviceManager'; + return ''; } getMusicContentCenter(): IMusicContentCenter { @@ -6764,7 +6764,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetMusicContentCenter(): string { - return 'RtcEngine_getMusicContentCenter'; + return ''; } getMediaEngine(): IMediaEngine { @@ -6775,7 +6775,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetMediaEngine(): string { - return 'RtcEngine_getMediaEngine'; + return ''; } getLocalSpatialAudioEngine(): ILocalSpatialAudioEngine { @@ -6786,7 +6786,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetLocalSpatialAudioEngine(): string { - return 'RtcEngine_getLocalSpatialAudioEngine'; + return ''; } getH265Transcoder(): IH265Transcoder { @@ -6797,7 +6797,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetH265Transcoder(): string { - return 'RtcEngine_getH265Transcoder'; + return ''; } sendMetaData(metadata: Metadata, sourceType: VideoSourceType): number { @@ -6820,7 +6820,7 @@ export class IRtcEngineImpl implements IRtcEngine { metadata: Metadata, sourceType: VideoSourceType ): string { - return 'RtcEngine_sendMetaData'; + return ''; } setMaxMetadataSize(size: number): number { @@ -6838,7 +6838,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromSetMaxMetadataSize(size: number): string { - return 'RtcEngine_setMaxMetadataSize'; + return ''; } destroyRendererByView(view: any): void { @@ -6855,7 +6855,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromDestroyRendererByView(view: any): string { - return 'RtcEngine_destroyRendererByView'; + return ''; } destroyRendererByConfig( @@ -6888,7 +6888,7 @@ export class IRtcEngineImpl implements IRtcEngine { channelId?: string, uid: number = 0 ): string { - return 'RtcEngine_destroyRendererByConfig'; + return ''; } unregisterAudioEncodedFrameObserver( @@ -6909,7 +6909,7 @@ export class IRtcEngineImpl implements IRtcEngine { protected getApiTypeFromUnregisterAudioEncodedFrameObserver( observer: IAudioEncodedFrameObserver ): string { - return 'RtcEngine_unregisterAudioEncodedFrameObserver'; + return ''; } getNativeHandle(): number { @@ -6920,7 +6920,7 @@ export class IRtcEngineImpl implements IRtcEngine { } protected getApiTypeFromGetNativeHandle(): string { - return 'RtcEngine_getNativeHandle'; + return ''; } } diff --git a/ts/Private/impl/IAgoraSpatialAudioImpl.ts b/ts/Private/impl/IAgoraSpatialAudioImpl.ts index 1740ff897..0f6ebedd7 100644 --- a/ts/Private/impl/IAgoraSpatialAudioImpl.ts +++ b/ts/Private/impl/IAgoraSpatialAudioImpl.ts @@ -25,7 +25,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromInitialize(): string { - return 'LocalSpatialAudioEngine_initialize'; + return 'LocalSpatialAudioEngine_initialize_cf94fbf'; } updateRemotePosition(uid: number, posInfo: RemoteVoicePositionInfo): number { @@ -48,7 +48,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { uid: number, posInfo: RemoteVoicePositionInfo ): string { - return 'LocalSpatialAudioEngine_updateRemotePosition'; + return 'LocalSpatialAudioEngine_updateRemotePosition_adc0909'; } updateRemotePositionEx( @@ -82,7 +82,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { posInfo: RemoteVoicePositionInfo, connection: RtcConnection ): string { - return 'LocalSpatialAudioEngine_updateRemotePositionEx'; + return 'LocalSpatialAudioEngine_updateRemotePositionEx_f0252d9'; } removeRemotePosition(uid: number): number { @@ -100,7 +100,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromRemoveRemotePosition(uid: number): string { - return 'LocalSpatialAudioEngine_removeRemotePosition'; + return 'LocalSpatialAudioEngine_removeRemotePosition_c8d091a'; } removeRemotePositionEx(uid: number, connection: RtcConnection): number { @@ -123,7 +123,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { uid: number, connection: RtcConnection ): string { - return 'LocalSpatialAudioEngine_removeRemotePositionEx'; + return 'LocalSpatialAudioEngine_removeRemotePositionEx_58a9850'; } clearRemotePositionsEx(connection: RtcConnection): number { @@ -143,7 +143,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { protected getApiTypeFromClearRemotePositionsEx( connection: RtcConnection ): string { - return 'LocalSpatialAudioEngine_clearRemotePositionsEx'; + return 'LocalSpatialAudioEngine_clearRemotePositionsEx_c81e1a4'; } updateSelfPositionEx( @@ -187,7 +187,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { axisUp: number[], connection: RtcConnection ): string { - return 'LocalSpatialAudioEngine_updateSelfPositionEx'; + return 'LocalSpatialAudioEngine_updateSelfPositionEx_502183a'; } setMaxAudioRecvCount(maxCount: number): number { @@ -205,7 +205,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromSetMaxAudioRecvCount(maxCount: number): string { - return 'LocalSpatialAudioEngine_setMaxAudioRecvCount'; + return 'LocalSpatialAudioEngine_setMaxAudioRecvCount_46f8ab7'; } setAudioRecvRange(range: number): number { @@ -223,7 +223,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromSetAudioRecvRange(range: number): string { - return 'LocalSpatialAudioEngine_setAudioRecvRange'; + return 'LocalSpatialAudioEngine_setAudioRecvRange_685e803'; } setDistanceUnit(unit: number): number { @@ -241,7 +241,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromSetDistanceUnit(unit: number): string { - return 'LocalSpatialAudioEngine_setDistanceUnit'; + return 'LocalSpatialAudioEngine_setDistanceUnit_685e803'; } updateSelfPosition( @@ -280,7 +280,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { axisRight: number[], axisUp: number[] ): string { - return 'LocalSpatialAudioEngine_updateSelfPosition'; + return 'LocalSpatialAudioEngine_updateSelfPosition_9c9930f'; } updatePlayerPositionInfo( @@ -309,7 +309,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { playerId: number, positionInfo: RemoteVoicePositionInfo ): string { - return 'LocalSpatialAudioEngine_updatePlayerPositionInfo'; + return 'LocalSpatialAudioEngine_updatePlayerPositionInfo_b37c59d'; } setParameters(params: string): number { @@ -327,7 +327,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromSetParameters(params: string): string { - return 'LocalSpatialAudioEngine_setParameters'; + return 'LocalSpatialAudioEngine_setParameters_3a2037f'; } muteLocalAudioStream(mute: boolean): number { @@ -345,7 +345,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromMuteLocalAudioStream(mute: boolean): string { - return 'LocalSpatialAudioEngine_muteLocalAudioStream'; + return 'LocalSpatialAudioEngine_muteLocalAudioStream_5039d15'; } muteAllRemoteAudioStreams(mute: boolean): number { @@ -363,7 +363,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { } protected getApiTypeFromMuteAllRemoteAudioStreams(mute: boolean): string { - return 'LocalSpatialAudioEngine_muteAllRemoteAudioStreams'; + return 'LocalSpatialAudioEngine_muteAllRemoteAudioStreams_5039d15'; } muteRemoteAudioStream(uid: number, mute: boolean): number { @@ -386,7 +386,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { uid: number, mute: boolean ): string { - return 'LocalSpatialAudioEngine_muteRemoteAudioStream'; + return 'LocalSpatialAudioEngine_muteRemoteAudioStream_dbdc15a'; } setRemoteAudioAttenuation( @@ -420,7 +420,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { attenuation: number, forceSet: boolean ): string { - return 'LocalSpatialAudioEngine_setRemoteAudioAttenuation'; + return 'LocalSpatialAudioEngine_setRemoteAudioAttenuation_74c3e98'; } setZones(zones: SpatialAudioZone[], zoneCount: number): number { @@ -443,7 +443,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { zones: SpatialAudioZone[], zoneCount: number ): string { - return 'LocalSpatialAudioEngine_setZones'; + return 'LocalSpatialAudioEngine_setZones_414a27e'; } setPlayerAttenuation( @@ -477,7 +477,7 @@ export class ILocalSpatialAudioEngineImpl implements ILocalSpatialAudioEngine { attenuation: number, forceSet: boolean ): string { - return 'LocalSpatialAudioEngine_setPlayerAttenuation'; + return 'LocalSpatialAudioEngine_setPlayerAttenuation_a15bc51'; } clearRemotePositions(): number { diff --git a/ts/Private/impl/IAudioDeviceManagerImpl.ts b/ts/Private/impl/IAudioDeviceManagerImpl.ts index 215fbe992..4b17659ca 100644 --- a/ts/Private/impl/IAudioDeviceManagerImpl.ts +++ b/ts/Private/impl/IAudioDeviceManagerImpl.ts @@ -40,7 +40,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetPlaybackDevice(deviceId: string): string { - return 'AudioDeviceManager_setPlaybackDevice'; + return 'AudioDeviceManager_setPlaybackDevice_4ad5f6e'; } getPlaybackDevice(): string { @@ -52,7 +52,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetPlaybackDevice(): string { - return 'AudioDeviceManager_getPlaybackDevice'; + return 'AudioDeviceManager_getPlaybackDevice_73b9872'; } getPlaybackDeviceInfo(): AudioDeviceInfo { @@ -63,7 +63,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetPlaybackDeviceInfo(): string { - return 'AudioDeviceManager_getPlaybackDeviceInfo'; + return 'AudioDeviceManager_getPlaybackDeviceInfo_5540658'; } setPlaybackDeviceVolume(volume: number): number { @@ -81,7 +81,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetPlaybackDeviceVolume(volume: number): string { - return 'AudioDeviceManager_setPlaybackDeviceVolume'; + return 'AudioDeviceManager_setPlaybackDeviceVolume_46f8ab7'; } getPlaybackDeviceVolume(): number { @@ -93,7 +93,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetPlaybackDeviceVolume(): string { - return 'AudioDeviceManager_getPlaybackDeviceVolume'; + return 'AudioDeviceManager_getPlaybackDeviceVolume_915cb25'; } setRecordingDevice(deviceId: string): number { @@ -111,7 +111,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetRecordingDevice(deviceId: string): string { - return 'AudioDeviceManager_setRecordingDevice'; + return 'AudioDeviceManager_setRecordingDevice_4ad5f6e'; } getRecordingDevice(): string { @@ -123,7 +123,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetRecordingDevice(): string { - return 'AudioDeviceManager_getRecordingDevice'; + return 'AudioDeviceManager_getRecordingDevice_73b9872'; } getRecordingDeviceInfo(): AudioDeviceInfo { @@ -134,7 +134,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetRecordingDeviceInfo(): string { - return 'AudioDeviceManager_getRecordingDeviceInfo'; + return 'AudioDeviceManager_getRecordingDeviceInfo_5540658'; } setRecordingDeviceVolume(volume: number): number { @@ -152,7 +152,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetRecordingDeviceVolume(volume: number): string { - return 'AudioDeviceManager_setRecordingDeviceVolume'; + return 'AudioDeviceManager_setRecordingDeviceVolume_46f8ab7'; } getRecordingDeviceVolume(): number { @@ -164,7 +164,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetRecordingDeviceVolume(): string { - return 'AudioDeviceManager_getRecordingDeviceVolume'; + return 'AudioDeviceManager_getRecordingDeviceVolume_915cb25'; } setLoopbackDevice(deviceId: string): number { @@ -182,7 +182,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetLoopbackDevice(deviceId: string): string { - return 'AudioDeviceManager_setLoopbackDevice'; + return 'AudioDeviceManager_setLoopbackDevice_4ad5f6e'; } getLoopbackDevice(): string { @@ -194,7 +194,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetLoopbackDevice(): string { - return 'AudioDeviceManager_getLoopbackDevice'; + return 'AudioDeviceManager_getLoopbackDevice_73b9872'; } setPlaybackDeviceMute(mute: boolean): number { @@ -212,7 +212,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetPlaybackDeviceMute(mute: boolean): string { - return 'AudioDeviceManager_setPlaybackDeviceMute'; + return 'AudioDeviceManager_setPlaybackDeviceMute_5039d15'; } getPlaybackDeviceMute(): boolean { @@ -224,7 +224,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetPlaybackDeviceMute(): string { - return 'AudioDeviceManager_getPlaybackDeviceMute'; + return 'AudioDeviceManager_getPlaybackDeviceMute_d942327'; } setRecordingDeviceMute(mute: boolean): number { @@ -242,7 +242,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromSetRecordingDeviceMute(mute: boolean): string { - return 'AudioDeviceManager_setRecordingDeviceMute'; + return 'AudioDeviceManager_setRecordingDeviceMute_5039d15'; } getRecordingDeviceMute(): boolean { @@ -254,7 +254,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetRecordingDeviceMute(): string { - return 'AudioDeviceManager_getRecordingDeviceMute'; + return 'AudioDeviceManager_getRecordingDeviceMute_d942327'; } startPlaybackDeviceTest(testAudioFilePath: string): number { @@ -275,7 +275,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { protected getApiTypeFromStartPlaybackDeviceTest( testAudioFilePath: string ): string { - return 'AudioDeviceManager_startPlaybackDeviceTest'; + return 'AudioDeviceManager_startPlaybackDeviceTest_3a2037f'; } stopPlaybackDeviceTest(): number { @@ -307,7 +307,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { protected getApiTypeFromStartRecordingDeviceTest( indicationInterval: number ): string { - return 'AudioDeviceManager_startRecordingDeviceTest'; + return 'AudioDeviceManager_startRecordingDeviceTest_46f8ab7'; } stopRecordingDeviceTest(): number { @@ -339,7 +339,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { protected getApiTypeFromStartAudioDeviceLoopbackTest( indicationInterval: number ): string { - return 'AudioDeviceManager_startAudioDeviceLoopbackTest'; + return 'AudioDeviceManager_startAudioDeviceLoopbackTest_46f8ab7'; } stopAudioDeviceLoopbackTest(): number { @@ -368,7 +368,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromFollowSystemPlaybackDevice(enable: boolean): string { - return 'AudioDeviceManager_followSystemPlaybackDevice'; + return 'AudioDeviceManager_followSystemPlaybackDevice_5039d15'; } followSystemRecordingDevice(enable: boolean): number { @@ -386,7 +386,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromFollowSystemRecordingDevice(enable: boolean): string { - return 'AudioDeviceManager_followSystemRecordingDevice'; + return 'AudioDeviceManager_followSystemRecordingDevice_5039d15'; } followSystemLoopbackDevice(enable: boolean): number { @@ -404,7 +404,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromFollowSystemLoopbackDevice(enable: boolean): string { - return 'AudioDeviceManager_followSystemLoopbackDevice'; + return 'AudioDeviceManager_followSystemLoopbackDevice_5039d15'; } release(): void { @@ -425,7 +425,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetPlaybackDefaultDevice(): string { - return 'AudioDeviceManager_getPlaybackDefaultDevice'; + return ''; } getRecordingDefaultDevice(): AudioDeviceInfo { @@ -436,7 +436,7 @@ export class IAudioDeviceManagerImpl implements IAudioDeviceManager { } protected getApiTypeFromGetRecordingDefaultDevice(): string { - return 'AudioDeviceManager_getRecordingDefaultDevice'; + return ''; } } diff --git a/ts/Private/internal/AudioDeviceManagerInternal.ts b/ts/Private/internal/AudioDeviceManagerInternal.ts index 6a736b5bc..199ffe865 100644 --- a/ts/Private/internal/AudioDeviceManagerInternal.ts +++ b/ts/Private/internal/AudioDeviceManagerInternal.ts @@ -24,6 +24,10 @@ export class AudioDeviceManagerInternal extends IAudioDeviceManagerImpl { }; } + protected override getApiTypeFromGetPlaybackDefaultDevice(): string { + return 'AudioDeviceManager_getPlaybackDefaultDevice'; + } + override getPlaybackDefaultDevice(): AudioDeviceInfo { const apiType = this.getApiTypeFromGetPlaybackDefaultDevice(); const jsonParams = {}; @@ -34,6 +38,10 @@ export class AudioDeviceManagerInternal extends IAudioDeviceManagerImpl { }; } + protected override getApiTypeFromGetRecordingDefaultDevice(): string { + return 'AudioDeviceManager_getRecordingDefaultDevice'; + } + override getRecordingDefaultDevice(): AudioDeviceInfo { const apiType = this.getApiTypeFromGetRecordingDefaultDevice(); const jsonParams = {}; diff --git a/ts/Private/internal/IrisApiEngine.ts b/ts/Private/internal/IrisApiEngine.ts index e51c1a9e2..b87d8834d 100644 --- a/ts/Private/internal/IrisApiEngine.ts +++ b/ts/Private/internal/IrisApiEngine.ts @@ -395,11 +395,8 @@ function handleEvent(...[event, data, buffers]: any) { _event = _event.replace(/Ex$/g, ''); } // for new IrisType, but this is temporary - if (_event.startsWith('_') && _event.indexOf('__') !== -1) { - _event = _event.substring( - _event.indexOf('_') + 1, - _event.lastIndexOf('__') - ); + if (_event.includes('_')) { + _event = _event.substring(0, _event.indexOf('_')); } let _data: any; @@ -441,14 +438,11 @@ export function callIrisApi(funcName: string, params: any): any { if (funcName.startsWith('MediaEngine_')) { switch (funcName) { - case 'MediaEngine_pushAudioFrame': - case 'MediaEngine_pushCaptureAudioFrame': - case 'MediaEngine_pushReverseAudioFrame': - case 'MediaEngine_pushDirectAudioFrame': + case 'MediaEngine_pushAudioFrame_c71f4ab': // frame.buffer buffers.push(params.frame.buffer); break; - case 'MediaEngine_pushVideoFrame': + case 'MediaEngine_pushVideoFrame_4e544e2': // frame.buffer buffers.push(params.frame.buffer); // frame.eglContext @@ -460,7 +454,7 @@ export function callIrisApi(funcName: string, params: any): any { // frame.d3d11_texture_2d buffers.push(Buffer.from('')); break; - case 'MediaEngine_pushEncodedVideoImage': + case 'MediaEngine_pushEncodedVideoImage_e71452b': // imageBuffer buffers.push(params.imageBuffer); break; @@ -484,10 +478,10 @@ export function callIrisApi(funcName: string, params: any): any { }; } else if (funcName.startsWith('RtcEngine_')) { switch (funcName) { - case 'RtcEngine_initialize': + case 'RtcEngine_initialize_0320339': AgoraRtcNg.InitializeEnv(); break; - case 'RtcEngine_release': + case 'RtcEngine_release_5039d15': AgoraRtcNg.CallApi( funcName, JSON.stringify(params), @@ -496,22 +490,22 @@ export function callIrisApi(funcName: string, params: any): any { ); AgoraRtcNg.ReleaseEnv(); return; - case 'RtcEngine_sendMetaData': + case 'RtcEngine_sendMetaData_c58275f': // metadata.buffer buffers.push(params.metadata.buffer); break; - case 'RtcEngine_sendStreamMessage': - case 'RtcEngine_sendStreamMessageEx': + case 'RtcEngine_sendStreamMessage_8715a45': + case 'RtcEngineEx_sendStreamMessageEx_0c34857': // data buffers.push(params.data); break; - case 'RtcEngine_destroyMediaPlayer': + case 'RtcEngine_destroyMediaPlayer_328a49b': params.mediaPlayerId = params.media_player.getMediaPlayerId(); params.toJSON = function () { return { playerId: params.mediaPlayerId }; }; break; - case 'RtcEngine_destroyMediaRecorder': + case 'RtcEngine_destroyMediaRecorder_95cdef5': // @ts-ignore params.nativeHandle = ( params.mediaRecorder as MediaRecorderInternal diff --git a/ts/Private/internal/LocalSpatialAudioEngineInternal.ts b/ts/Private/internal/LocalSpatialAudioEngineInternal.ts index 17b0acfe0..ba3f51fa7 100644 --- a/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +++ b/ts/Private/internal/LocalSpatialAudioEngineInternal.ts @@ -1,88 +1,3 @@ -import { RtcConnection } from '../IAgoraRtcEngineEx'; -import { - RemoteVoicePositionInfo, - SpatialAudioZone, -} from '../IAgoraSpatialAudio'; import { ILocalSpatialAudioEngineImpl } from '../impl/IAgoraSpatialAudioImpl'; -export class LocalSpatialAudioEngineInternal extends ILocalSpatialAudioEngineImpl { - protected override getApiTypeFromRelease(): string { - return 'LocalSpatialAudioEngine_release'; - } - - protected override getApiTypeFromSetMaxAudioRecvCount( - maxCount: number - ): string { - return 'LocalSpatialAudioEngine_setMaxAudioRecvCount'; - } - - protected override getApiTypeFromSetAudioRecvRange(range: number): string { - return 'LocalSpatialAudioEngine_setAudioRecvRange'; - } - - protected override getApiTypeFromSetDistanceUnit(unit: number): string { - return 'LocalSpatialAudioEngine_setDistanceUnit'; - } - - protected override getApiTypeFromUpdateSelfPosition( - position: number[], - axisForward: number[], - axisRight: number[], - axisUp: number[] - ): string { - return 'LocalSpatialAudioEngine_updateSelfPosition'; - } - - protected override getApiTypeFromUpdateSelfPositionEx( - position: number[], - axisForward: number[], - axisRight: number[], - axisUp: number[], - connection: RtcConnection - ): string { - return 'LocalSpatialAudioEngine_updateSelfPositionEx'; - } - - protected override getApiTypeFromUpdatePlayerPositionInfo( - playerId: number, - positionInfo: RemoteVoicePositionInfo - ): string { - return 'LocalSpatialAudioEngine_updatePlayerPositionInfo'; - } - - protected override getApiTypeFromSetParameters(params: string): string { - return 'LocalSpatialAudioEngine_setParameters'; - } - - protected override getApiTypeFromMuteLocalAudioStream(mute: boolean): string { - return 'LocalSpatialAudioEngine_muteLocalAudioStream'; - } - - protected override getApiTypeFromMuteAllRemoteAudioStreams( - mute: boolean - ): string { - return 'LocalSpatialAudioEngine_muteAllRemoteAudioStreams'; - } - - protected override getApiTypeFromSetZones( - zones: SpatialAudioZone[], - zoneCount: number - ): string { - return 'LocalSpatialAudioEngine_setZones'; - } - - protected override getApiTypeFromSetPlayerAttenuation( - playerId: number, - attenuation: number, - forceSet: boolean - ): string { - return 'LocalSpatialAudioEngine_setPlayerAttenuation'; - } - - protected override getApiTypeFromMuteRemoteAudioStream( - uid: number, - mute: boolean - ): string { - return 'LocalSpatialAudioEngine_muteRemoteAudioStream'; - } -} +export class LocalSpatialAudioEngineInternal extends ILocalSpatialAudioEngineImpl {} diff --git a/ts/Private/internal/MediaPlayerInternal.ts b/ts/Private/internal/MediaPlayerInternal.ts index 4ce3c2cf0..9dd3f5f2a 100644 --- a/ts/Private/internal/MediaPlayerInternal.ts +++ b/ts/Private/internal/MediaPlayerInternal.ts @@ -291,14 +291,14 @@ export class MediaPlayerInternal extends IMediaPlayerImpl { key: string, value: number ): string { - return 'MediaPlayer_setPlayerOption'; + return 'MediaPlayer_setPlayerOption_4d05d29'; } protected override getApiTypeFromSetPlayerOptionInString( key: string, value: string ): string { - return 'MediaPlayer_setPlayerOption2'; + return 'MediaPlayer_setPlayerOption_ccad422'; } override setView(view: HTMLElement): number { diff --git a/ts/Private/internal/MusicContentCenterInternal.ts b/ts/Private/internal/MusicContentCenterInternal.ts index 59a3c996f..e8a112fa2 100644 --- a/ts/Private/internal/MusicContentCenterInternal.ts +++ b/ts/Private/internal/MusicContentCenterInternal.ts @@ -106,7 +106,7 @@ export class MusicContentCenterInternal extends IMusicContentCenterImpl { } protected getApiTypeFromPreload(songCode: number): string { - return 'MusicContentCenter_preload2'; + return 'MusicContentCenter_preload_d3baeab'; } } @@ -126,7 +126,7 @@ class _MusicPlayerInternal extends IMusicPlayerImpl { songCode: number, startPos = 0 ): string { - return 'MusicPlayer_open'; + return 'MusicPlayer_open_303b92e'; } } diff --git a/ts/Private/internal/RtcEngineExInternal.ts b/ts/Private/internal/RtcEngineExInternal.ts index e78387188..fe872c8de 100644 --- a/ts/Private/internal/RtcEngineExInternal.ts +++ b/ts/Private/internal/RtcEngineExInternal.ts @@ -3,7 +3,9 @@ import { AgoraEnv, logError } from '../../Utils'; import { AudioEncodedFrameObserverConfig, + AudioProfileType, AudioRecordingConfiguration, + AudioScenarioType, ClientRoleOptions, ClientRoleType, DataStreamConfig, @@ -19,6 +21,7 @@ import { } from '../AgoraBase'; import { IAudioSpectrumObserver, + MediaSourceType, RenderModeType, VideoSourceType, } from '../AgoraMediaBase'; @@ -35,6 +38,7 @@ import { IRtcEngineEventHandler, IVideoDeviceManager, LeaveChannelOptions, + Metadata, MetadataType, RtcEngineContext, SDKBuildInfo, @@ -225,7 +229,7 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { } override getVersion(): SDKBuildInfo { - const apiType = 'RtcEngine_getVersion'; + const apiType = 'RtcEngine_getVersion_915cb25'; const jsonParams = {}; const jsonResults = callIrisApi.call(this, apiType, jsonParams); return { @@ -330,7 +334,7 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { if (AgoraEnv.AgoraRendererManager) { AgoraEnv.AgoraRendererManager.defaultChannelId = channelId; } - return 'RtcEngine_joinChannel2'; + return 'RtcEngine_joinChannel_cdbb747'; } protected override getApiTypeFromLeaveChannel( @@ -338,7 +342,7 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { ): string { return options === undefined ? 'RtcEngine_leaveChannel' - : 'RtcEngine_leaveChannel2'; + : 'RtcEngine_leaveChannel_2c0e3aa'; } protected override getApiTypeFromSetClientRole( @@ -346,20 +350,20 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { options?: ClientRoleOptions ): string { return options === undefined - ? 'RtcEngine_setClientRole' - : 'RtcEngine_setClientRole2'; + ? 'RtcEngine_setClientRole_3426fa6' + : 'RtcEngine_setClientRole_b46cc48'; } protected override getApiTypeFromStartEchoTest( config: EchoTestConfiguration ): string { - return 'RtcEngine_startEchoTest3'; + return 'RtcEngine_startEchoTest_16140d7'; } protected override getApiTypeFromStartPreview( sourceType: VideoSourceType = VideoSourceType.VideoSourceCameraPrimary ): string { - return 'RtcEngine_startPreview2'; + return 'RtcEngine_startPreview_4fd718e'; } protected override getApiTypeFromStartPreviewWithoutSourceType(): string { @@ -369,13 +373,13 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { protected override getApiTypeFromStopPreview( sourceType: VideoSourceType = VideoSourceType.VideoSourceCameraPrimary ): string { - return 'RtcEngine_stopPreview2'; + return 'RtcEngine_stopPreview_4fd718e'; } protected override getApiTypeFromStartAudioRecording( config: AudioRecordingConfiguration ): string { - return 'RtcEngine_startAudioRecording3'; + return 'RtcEngine_startAudioRecording_e32bb3b'; } protected override getApiTypeFromStartAudioMixing( @@ -384,7 +388,7 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { cycle: number, startPos: number = 0 ): string { - return 'RtcEngine_startAudioMixing2'; + return 'RtcEngine_startAudioMixing_1ee1b1e'; } protected override getApiTypeFromEnableDualStreamMode( @@ -392,8 +396,8 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { streamConfig?: SimulcastStreamConfig ): string { return streamConfig === undefined - ? 'RtcEngine_enableDualStreamMode' - : 'RtcEngine_enableDualStreamMode2'; + ? 'RtcEngine_enableDualStreamMode_5039d15' + : 'RtcEngine_enableDualStreamMode_9822d8a'; } protected override getApiTypeFromSetDualStreamMode( @@ -401,28 +405,28 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { streamConfig?: SimulcastStreamConfig ): string { return streamConfig === undefined - ? 'RtcEngine_setDualStreamMode' - : 'RtcEngine_setDualStreamMode2'; + ? 'RtcEngine_setDualStreamMode_3a7f662' + : 'RtcEngine_setDualStreamMode_b3a4f6c'; } protected override getApiTypeFromLeaveChannelEx( connection: RtcConnection, options?: LeaveChannelOptions ): string { - return 'RtcEngineEx_leaveChannelEx2'; + return 'RtcEngineEx_leaveChannelEx_b03ee9a'; } protected override getApiTypeFromCreateDataStream( config: DataStreamConfig ): string { - return 'RtcEngine_createDataStream2'; + return 'RtcEngine_createDataStream_5862815'; } protected override getApiTypeFromAddVideoWatermark( watermarkUrl: string, options: WatermarkOptions ): string { - return 'RtcEngine_addVideoWatermark2'; + return 'RtcEngine_addVideoWatermark_7480410'; } protected override getApiTypeFromJoinChannelWithUserAccount( @@ -435,28 +439,28 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { AgoraEnv.AgoraRendererManager.defaultChannelId = channelId; } return options === undefined - ? 'RtcEngine_joinChannelWithUserAccount' - : 'RtcEngine_joinChannelWithUserAccount2'; + ? 'RtcEngine_joinChannelWithUserAccount_0e4f59e' + : 'RtcEngine_joinChannelWithUserAccount_4685af9'; } protected override getApiTypeFromCreateDataStreamEx( config: DataStreamConfig, connection: RtcConnection ): string { - return 'RtcEngineEx_createDataStreamEx2'; + return 'RtcEngineEx_createDataStreamEx_9f641b6'; } protected override getApiTypeFromStartScreenCaptureBySourceType( sourceType: VideoSourceType, config: ScreenCaptureConfiguration ): string { - return 'RtcEngine_startScreenCapture2'; + return 'RtcEngine_startScreenCapture_9ebb320'; } protected override getApiTypeFromStopScreenCaptureBySourceType( sourceType: VideoSourceType ): string { - return 'RtcEngine_stopScreenCapture2'; + return 'RtcEngine_stopScreenCapture_4fd718e'; } protected override getApiTypeFromPreloadChannelWithUserAccount( @@ -464,7 +468,7 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { channelId: string, userAccount: string ): string { - return 'RtcEngine_preloadChannel2'; + return 'RtcEngine_preloadChannel_a0779eb'; } override getAudioDeviceManager(): IAudioDeviceManager { @@ -688,4 +692,55 @@ export class RtcEngineExInternal extends IRtcEngineExImpl { uid, }); } + + protected override getApiTypeFromGetNativeHandle(): string { + return 'RtcEngine_getNativeHandle'; + } + + protected override getApiTypeFromSetMaxMetadataSize(size: number): string { + return 'RtcEngine_setMaxMetadataSize'; + } + + protected override getApiTypeFromSendMetaData( + metadata: Metadata, + sourceType: VideoSourceType + ): string { + 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, + enable: boolean = true, + type: MediaSourceType = MediaSourceType.UnknownMediaSource + ): string { + return 'RtcEngine_enableExtension'; + } + + protected override getApiTypeFromSetAudioProfile( + profile: AudioProfileType, + scenario: AudioScenarioType = AudioScenarioType.AudioScenarioDefault + ): string { + return 'RtcEngine_setAudioProfile_d944543'; + } }