react-native-shengwang 4.6.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +755 -0
- package/LICENSE +20 -0
- package/README.md +162 -0
- package/android/build.gradle +180 -0
- package/android/consumer-rules.pro +5 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +11 -0
- package/android/src/main/AndroidManifestNew.xml +9 -0
- package/android/src/main/java/io/agora/rtc/ng/react/AgoraPIPActivity.java +107 -0
- package/android/src/main/java/io/agora/rtc/ng/react/AgoraRtcNgModule.java +278 -0
- package/android/src/main/java/io/agora/rtc/ng/react/AgoraRtcNgPackage.java +61 -0
- package/android/src/main/java/io/agora/rtc/ng/react/AgoraRtcSurfaceViewManager.java +60 -0
- package/android/src/main/java/io/agora/rtc/ng/react/AgoraRtcTextureViewManager.java +45 -0
- package/android/src/newarch/io/agora/rtc/ng/react/AgoraRtcNgSpec.java +9 -0
- package/android/src/newarch/io/agora/rtc/ng/react/AgoraRtcSurfaceViewManagerSpec.java +25 -0
- package/android/src/newarch/io/agora/rtc/ng/react/AgoraRtcTextureViewManagerSpec.java +25 -0
- package/android/src/oldarch/io/agora/rtc/ng/react/AgoraRtcNgSpec.java +40 -0
- package/android/src/oldarch/io/agora/rtc/ng/react/AgoraRtcSurfaceViewManagerSpec.java +16 -0
- package/android/src/oldarch/io/agora/rtc/ng/react/AgoraRtcTextureViewManagerSpec.java +12 -0
- package/ios/AgoraRtcNg.h +20 -0
- package/ios/AgoraRtcNg.mm +475 -0
- package/ios/AgoraRtcNg.xcodeproj/project.pbxproj +278 -0
- package/ios/AgoraRtcSurfaceView.h +17 -0
- package/ios/AgoraRtcSurfaceView.mm +95 -0
- package/ios/AgoraRtcSurfaceViewManager.mm +41 -0
- package/lib/commonjs/AgoraBase.js +4298 -0
- package/lib/commonjs/AgoraBase.js.map +1 -0
- package/lib/commonjs/AgoraMediaBase.js +1057 -0
- package/lib/commonjs/AgoraMediaBase.js.map +1 -0
- package/lib/commonjs/AgoraMediaPlayerTypes.js +323 -0
- package/lib/commonjs/AgoraMediaPlayerTypes.js.map +1 -0
- package/lib/commonjs/AgoraRtcRenderView.js +55 -0
- package/lib/commonjs/AgoraRtcRenderView.js.map +1 -0
- package/lib/commonjs/IAgoraH265Transcoder.js +40 -0
- package/lib/commonjs/IAgoraH265Transcoder.js.map +1 -0
- package/lib/commonjs/IAgoraLog.js +81 -0
- package/lib/commonjs/IAgoraLog.js.map +1 -0
- package/lib/commonjs/IAgoraMediaEngine.js +35 -0
- package/lib/commonjs/IAgoraMediaEngine.js.map +1 -0
- package/lib/commonjs/IAgoraMediaPlayer.js +25 -0
- package/lib/commonjs/IAgoraMediaPlayer.js.map +1 -0
- package/lib/commonjs/IAgoraMediaPlayerSource.js +4 -0
- package/lib/commonjs/IAgoraMediaPlayerSource.js.map +1 -0
- package/lib/commonjs/IAgoraMediaRecorder.js +13 -0
- package/lib/commonjs/IAgoraMediaRecorder.js.map +1 -0
- package/lib/commonjs/IAgoraMediaStreamingSource.js +77 -0
- package/lib/commonjs/IAgoraMediaStreamingSource.js.map +1 -0
- package/lib/commonjs/IAgoraMusicContentCenter.js +166 -0
- package/lib/commonjs/IAgoraMusicContentCenter.js.map +1 -0
- package/lib/commonjs/IAgoraPip.js +55 -0
- package/lib/commonjs/IAgoraPip.js.map +1 -0
- package/lib/commonjs/IAgoraRhythmPlayer.js +65 -0
- package/lib/commonjs/IAgoraRhythmPlayer.js.map +1 -0
- package/lib/commonjs/IAgoraRtcEngine.js +1056 -0
- package/lib/commonjs/IAgoraRtcEngine.js.map +1 -0
- package/lib/commonjs/IAgoraRtcEngineEx.js +22 -0
- package/lib/commonjs/IAgoraRtcEngineEx.js.map +1 -0
- package/lib/commonjs/IAgoraSpatialAudio.js +27 -0
- package/lib/commonjs/IAgoraSpatialAudio.js.map +1 -0
- package/lib/commonjs/IAudioDeviceManager.js +23 -0
- package/lib/commonjs/IAudioDeviceManager.js.map +1 -0
- package/lib/commonjs/Utils.js +44 -0
- package/lib/commonjs/Utils.js.map +1 -0
- package/lib/commonjs/extension/AgoraBaseExtension.js +6 -0
- package/lib/commonjs/extension/AgoraBaseExtension.js.map +1 -0
- package/lib/commonjs/extension/AgoraMediaBaseExtension.js +6 -0
- package/lib/commonjs/extension/AgoraMediaBaseExtension.js.map +1 -0
- package/lib/commonjs/extension/AgoraMediaPlayerTypesExtension.js +6 -0
- package/lib/commonjs/extension/AgoraMediaPlayerTypesExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraH265TranscoderExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraH265TranscoderExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraLogExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraLogExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraMediaEngineExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraMediaEngineExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraMediaPlayerExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraMediaPlayerExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraMediaPlayerSourceExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraMediaPlayerSourceExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraMediaRecorderExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraMediaRecorderExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraMusicContentCenterExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraMusicContentCenterExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraPipExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraPipExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraRhythmPlayerExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraRhythmPlayerExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraRtcEngineExExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraRtcEngineExExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraRtcEngineExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraRtcEngineExtension.js.map +1 -0
- package/lib/commonjs/extension/IAgoraSpatialAudioExtension.js +6 -0
- package/lib/commonjs/extension/IAgoraSpatialAudioExtension.js.map +1 -0
- package/lib/commonjs/extension/IAudioDeviceManagerExtension.js +6 -0
- package/lib/commonjs/extension/IAudioDeviceManagerExtension.js.map +1 -0
- package/lib/commonjs/impl/AgoraBaseImpl.js +26 -0
- package/lib/commonjs/impl/AgoraBaseImpl.js.map +1 -0
- package/lib/commonjs/impl/AgoraMediaBaseImpl.js +153 -0
- package/lib/commonjs/impl/AgoraMediaBaseImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraH265TranscoderImpl.js +121 -0
- package/lib/commonjs/impl/IAgoraH265TranscoderImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraMediaEngineImpl.js +341 -0
- package/lib/commonjs/impl/IAgoraMediaEngineImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraMediaPlayerImpl.js +965 -0
- package/lib/commonjs/impl/IAgoraMediaPlayerImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraMediaPlayerSourceImpl.js +76 -0
- package/lib/commonjs/impl/IAgoraMediaPlayerSourceImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraMediaRecorderImpl.js +51 -0
- package/lib/commonjs/impl/IAgoraMediaRecorderImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraMusicContentCenterImpl.js +429 -0
- package/lib/commonjs/impl/IAgoraMusicContentCenterImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraRtcEngineExImpl.js +1182 -0
- package/lib/commonjs/impl/IAgoraRtcEngineExImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraRtcEngineImpl.js +5435 -0
- package/lib/commonjs/impl/IAgoraRtcEngineImpl.js.map +1 -0
- package/lib/commonjs/impl/IAgoraSpatialAudioImpl.js +362 -0
- package/lib/commonjs/impl/IAgoraSpatialAudioImpl.js.map +1 -0
- package/lib/commonjs/impl/IAudioDeviceManagerImpl.js +379 -0
- package/lib/commonjs/impl/IAudioDeviceManagerImpl.js.map +1 -0
- package/lib/commonjs/index.js +255 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/internal/AgoraH265TranscoderInternal.js +66 -0
- package/lib/commonjs/internal/AgoraH265TranscoderInternal.js.map +1 -0
- package/lib/commonjs/internal/AgoraMediaBaseInternal.js +20 -0
- package/lib/commonjs/internal/AgoraMediaBaseInternal.js.map +1 -0
- package/lib/commonjs/internal/AgoraPipInternal.js +101 -0
- package/lib/commonjs/internal/AgoraPipInternal.js.map +1 -0
- package/lib/commonjs/internal/IAgoraRtcRenderView.js +72 -0
- package/lib/commonjs/internal/IAgoraRtcRenderView.js.map +1 -0
- package/lib/commonjs/internal/IrisApiEngine.js +259 -0
- package/lib/commonjs/internal/IrisApiEngine.js.map +1 -0
- package/lib/commonjs/internal/LocalSpatialAudioEngineInternal.js +10 -0
- package/lib/commonjs/internal/LocalSpatialAudioEngineInternal.js.map +1 -0
- package/lib/commonjs/internal/MediaEngineInternal.js +124 -0
- package/lib/commonjs/internal/MediaEngineInternal.js.map +1 -0
- package/lib/commonjs/internal/MediaPlayerInternal.js +170 -0
- package/lib/commonjs/internal/MediaPlayerInternal.js.map +1 -0
- package/lib/commonjs/internal/MediaRecorderInternal.js +75 -0
- package/lib/commonjs/internal/MediaRecorderInternal.js.map +1 -0
- package/lib/commonjs/internal/MusicContentCenterInternal.js +144 -0
- package/lib/commonjs/internal/MusicContentCenterInternal.js.map +1 -0
- package/lib/commonjs/internal/RtcEngineExInternal.js +258 -0
- package/lib/commonjs/internal/RtcEngineExInternal.js.map +1 -0
- package/lib/commonjs/internal/call.js +133 -0
- package/lib/commonjs/internal/call.js.map +1 -0
- package/lib/commonjs/internal/event.js +32 -0
- package/lib/commonjs/internal/event.js.map +1 -0
- package/lib/commonjs/specs/AgoraRtcSurfaceViewNativeComponent.js +10 -0
- package/lib/commonjs/specs/AgoraRtcSurfaceViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/AgoraRtcTextureViewNativeComponent.js +10 -0
- package/lib/commonjs/specs/AgoraRtcTextureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/NativeAgoraRtcNg.js +9 -0
- package/lib/commonjs/specs/NativeAgoraRtcNg.js.map +1 -0
- package/lib/commonjs/specs/index.js +22 -0
- package/lib/commonjs/specs/index.js.map +1 -0
- package/lib/commonjs/ti/AgoraBase-ti.js +24 -0
- package/lib/commonjs/ti/AgoraBase-ti.js.map +1 -0
- package/lib/commonjs/ti/AgoraMediaBase-ti.js +59 -0
- package/lib/commonjs/ti/AgoraMediaBase-ti.js.map +1 -0
- package/lib/commonjs/ti/AgoraMediaPlayerTypes-ti.js +15 -0
- package/lib/commonjs/ti/AgoraMediaPlayerTypes-ti.js.map +1 -0
- package/lib/commonjs/ti/AgoraPip-ti.js +22 -0
- package/lib/commonjs/ti/AgoraPip-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraH265Transcoder-ti.js +24 -0
- package/lib/commonjs/ti/IAgoraH265Transcoder-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraLog-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraLog-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMediaEngine-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraMediaEngine-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMediaPlayer-ti.js +22 -0
- package/lib/commonjs/ti/IAgoraMediaPlayer-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMediaPlayerSource-ti.js +34 -0
- package/lib/commonjs/ti/IAgoraMediaPlayerSource-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMediaRecorder-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraMediaRecorder-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMediaStreamingSource-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraMediaStreamingSource-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraMusicContentCenter-ti.js +26 -0
- package/lib/commonjs/ti/IAgoraMusicContentCenter-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraPip-ti.js +22 -0
- package/lib/commonjs/ti/IAgoraPip-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraRhythmPlayer-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraRhythmPlayer-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraRtcEngine-ti.js +128 -0
- package/lib/commonjs/ti/IAgoraRtcEngine-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraRtcEngineEx-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraRtcEngineEx-ti.js.map +1 -0
- package/lib/commonjs/ti/IAgoraSpatialAudio-ti.js +15 -0
- package/lib/commonjs/ti/IAgoraSpatialAudio-ti.js.map +1 -0
- package/lib/commonjs/ti/IAudioDeviceManager-ti.js +15 -0
- package/lib/commonjs/ti/IAudioDeviceManager-ti.js.map +1 -0
- package/lib/commonjs/ti/Utils-ti.js +15 -0
- package/lib/commonjs/ti/Utils-ti.js.map +1 -0
- package/lib/commonjs/ti/index-ti.js +15 -0
- package/lib/commonjs/ti/index-ti.js.map +1 -0
- package/lib/module/AgoraBase.js +4333 -0
- package/lib/module/AgoraBase.js.map +1 -0
- package/lib/module/AgoraMediaBase.js +1067 -0
- package/lib/module/AgoraMediaBase.js.map +1 -0
- package/lib/module/AgoraMediaPlayerTypes.js +318 -0
- package/lib/module/AgoraMediaPlayerTypes.js.map +1 -0
- package/lib/module/AgoraRtcRenderView.js +47 -0
- package/lib/module/AgoraRtcRenderView.js.map +1 -0
- package/lib/module/IAgoraH265Transcoder.js +36 -0
- package/lib/module/IAgoraH265Transcoder.js.map +1 -0
- package/lib/module/IAgoraLog.js +77 -0
- package/lib/module/IAgoraLog.js.map +1 -0
- package/lib/module/IAgoraMediaEngine.js +29 -0
- package/lib/module/IAgoraMediaEngine.js.map +1 -0
- package/lib/module/IAgoraMediaPlayer.js +17 -0
- package/lib/module/IAgoraMediaPlayer.js.map +1 -0
- package/lib/module/IAgoraMediaPlayerSource.js +6 -0
- package/lib/module/IAgoraMediaPlayerSource.js.map +1 -0
- package/lib/module/IAgoraMediaRecorder.js +6 -0
- package/lib/module/IAgoraMediaRecorder.js.map +1 -0
- package/lib/module/IAgoraMediaStreamingSource.js +73 -0
- package/lib/module/IAgoraMediaStreamingSource.js.map +1 -0
- package/lib/module/IAgoraMusicContentCenter.js +156 -0
- package/lib/module/IAgoraMusicContentCenter.js.map +1 -0
- package/lib/module/IAgoraPip.js +48 -0
- package/lib/module/IAgoraPip.js.map +1 -0
- package/lib/module/IAgoraRhythmPlayer.js +61 -0
- package/lib/module/IAgoraRhythmPlayer.js.map +1 -0
- package/lib/module/IAgoraRtcEngine.js +1049 -0
- package/lib/module/IAgoraRtcEngine.js.map +1 -0
- package/lib/module/IAgoraRtcEngineEx.js +15 -0
- package/lib/module/IAgoraRtcEngineEx.js.map +1 -0
- package/lib/module/IAgoraSpatialAudio.js +18 -0
- package/lib/module/IAgoraSpatialAudio.js.map +1 -0
- package/lib/module/IAudioDeviceManager.js +17 -0
- package/lib/module/IAudioDeviceManager.js.map +1 -0
- package/lib/module/Utils.js +35 -0
- package/lib/module/Utils.js.map +1 -0
- package/lib/module/extension/AgoraBaseExtension.js +2 -0
- package/lib/module/extension/AgoraBaseExtension.js.map +1 -0
- package/lib/module/extension/AgoraMediaBaseExtension.js +2 -0
- package/lib/module/extension/AgoraMediaBaseExtension.js.map +1 -0
- package/lib/module/extension/AgoraMediaPlayerTypesExtension.js +2 -0
- package/lib/module/extension/AgoraMediaPlayerTypesExtension.js.map +1 -0
- package/lib/module/extension/IAgoraH265TranscoderExtension.js +2 -0
- package/lib/module/extension/IAgoraH265TranscoderExtension.js.map +1 -0
- package/lib/module/extension/IAgoraLogExtension.js +2 -0
- package/lib/module/extension/IAgoraLogExtension.js.map +1 -0
- package/lib/module/extension/IAgoraMediaEngineExtension.js +2 -0
- package/lib/module/extension/IAgoraMediaEngineExtension.js.map +1 -0
- package/lib/module/extension/IAgoraMediaPlayerExtension.js +2 -0
- package/lib/module/extension/IAgoraMediaPlayerExtension.js.map +1 -0
- package/lib/module/extension/IAgoraMediaPlayerSourceExtension.js +2 -0
- package/lib/module/extension/IAgoraMediaPlayerSourceExtension.js.map +1 -0
- package/lib/module/extension/IAgoraMediaRecorderExtension.js +2 -0
- package/lib/module/extension/IAgoraMediaRecorderExtension.js.map +1 -0
- package/lib/module/extension/IAgoraMusicContentCenterExtension.js +2 -0
- package/lib/module/extension/IAgoraMusicContentCenterExtension.js.map +1 -0
- package/lib/module/extension/IAgoraPipExtension.js +2 -0
- package/lib/module/extension/IAgoraPipExtension.js.map +1 -0
- package/lib/module/extension/IAgoraRhythmPlayerExtension.js +2 -0
- package/lib/module/extension/IAgoraRhythmPlayerExtension.js.map +1 -0
- package/lib/module/extension/IAgoraRtcEngineExExtension.js +2 -0
- package/lib/module/extension/IAgoraRtcEngineExExtension.js.map +1 -0
- package/lib/module/extension/IAgoraRtcEngineExtension.js +2 -0
- package/lib/module/extension/IAgoraRtcEngineExtension.js.map +1 -0
- package/lib/module/extension/IAgoraSpatialAudioExtension.js +2 -0
- package/lib/module/extension/IAgoraSpatialAudioExtension.js.map +1 -0
- package/lib/module/extension/IAudioDeviceManagerExtension.js +2 -0
- package/lib/module/extension/IAudioDeviceManagerExtension.js.map +1 -0
- package/lib/module/impl/AgoraBaseImpl.js +20 -0
- package/lib/module/impl/AgoraBaseImpl.js.map +1 -0
- package/lib/module/impl/AgoraMediaBaseImpl.js +139 -0
- package/lib/module/impl/AgoraMediaBaseImpl.js.map +1 -0
- package/lib/module/impl/IAgoraH265TranscoderImpl.js +113 -0
- package/lib/module/impl/IAgoraH265TranscoderImpl.js.map +1 -0
- package/lib/module/impl/IAgoraMediaEngineImpl.js +335 -0
- package/lib/module/impl/IAgoraMediaEngineImpl.js.map +1 -0
- package/lib/module/impl/IAgoraMediaPlayerImpl.js +957 -0
- package/lib/module/impl/IAgoraMediaPlayerImpl.js.map +1 -0
- package/lib/module/impl/IAgoraMediaPlayerSourceImpl.js +70 -0
- package/lib/module/impl/IAgoraMediaPlayerSourceImpl.js.map +1 -0
- package/lib/module/impl/IAgoraMediaRecorderImpl.js +45 -0
- package/lib/module/impl/IAgoraMediaRecorderImpl.js.map +1 -0
- package/lib/module/impl/IAgoraMusicContentCenterImpl.js +419 -0
- package/lib/module/impl/IAgoraMusicContentCenterImpl.js.map +1 -0
- package/lib/module/impl/IAgoraRtcEngineExImpl.js +1176 -0
- package/lib/module/impl/IAgoraRtcEngineExImpl.js.map +1 -0
- package/lib/module/impl/IAgoraRtcEngineImpl.js +5423 -0
- package/lib/module/impl/IAgoraRtcEngineImpl.js.map +1 -0
- package/lib/module/impl/IAgoraSpatialAudioImpl.js +356 -0
- package/lib/module/impl/IAgoraSpatialAudioImpl.js.map +1 -0
- package/lib/module/impl/IAudioDeviceManagerImpl.js +373 -0
- package/lib/module/impl/IAudioDeviceManagerImpl.js.map +1 -0
- package/lib/module/index.js +43 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/internal/AgoraH265TranscoderInternal.js +58 -0
- package/lib/module/internal/AgoraH265TranscoderInternal.js.map +1 -0
- package/lib/module/internal/AgoraMediaBaseInternal.js +13 -0
- package/lib/module/internal/AgoraMediaBaseInternal.js.map +1 -0
- package/lib/module/internal/AgoraPipInternal.js +92 -0
- package/lib/module/internal/AgoraPipInternal.js.map +1 -0
- package/lib/module/internal/IAgoraRtcRenderView.js +62 -0
- package/lib/module/internal/IAgoraRtcRenderView.js.map +1 -0
- package/lib/module/internal/IrisApiEngine.js +251 -0
- package/lib/module/internal/IrisApiEngine.js.map +1 -0
- package/lib/module/internal/LocalSpatialAudioEngineInternal.js +3 -0
- package/lib/module/internal/LocalSpatialAudioEngineInternal.js.map +1 -0
- package/lib/module/internal/MediaEngineInternal.js +116 -0
- package/lib/module/internal/MediaEngineInternal.js.map +1 -0
- package/lib/module/internal/MediaPlayerInternal.js +162 -0
- package/lib/module/internal/MediaPlayerInternal.js.map +1 -0
- package/lib/module/internal/MediaRecorderInternal.js +67 -0
- package/lib/module/internal/MediaRecorderInternal.js.map +1 -0
- package/lib/module/internal/MusicContentCenterInternal.js +134 -0
- package/lib/module/internal/MusicContentCenterInternal.js.map +1 -0
- package/lib/module/internal/RtcEngineExInternal.js +250 -0
- package/lib/module/internal/RtcEngineExInternal.js.map +1 -0
- package/lib/module/internal/call.js +126 -0
- package/lib/module/internal/call.js.map +1 -0
- package/lib/module/internal/event.js +25 -0
- package/lib/module/internal/event.js.map +1 -0
- package/lib/module/specs/AgoraRtcSurfaceViewNativeComponent.js +3 -0
- package/lib/module/specs/AgoraRtcSurfaceViewNativeComponent.js.map +1 -0
- package/lib/module/specs/AgoraRtcTextureViewNativeComponent.js +3 -0
- package/lib/module/specs/AgoraRtcTextureViewNativeComponent.js.map +1 -0
- package/lib/module/specs/NativeAgoraRtcNg.js +3 -0
- package/lib/module/specs/NativeAgoraRtcNg.js.map +1 -0
- package/lib/module/specs/index.js +16 -0
- package/lib/module/specs/index.js.map +1 -0
- package/lib/module/ti/AgoraBase-ti.js +16 -0
- package/lib/module/ti/AgoraBase-ti.js.map +1 -0
- package/lib/module/ti/AgoraMediaBase-ti.js +51 -0
- package/lib/module/ti/AgoraMediaBase-ti.js.map +1 -0
- package/lib/module/ti/AgoraMediaPlayerTypes-ti.js +9 -0
- package/lib/module/ti/AgoraMediaPlayerTypes-ti.js.map +1 -0
- package/lib/module/ti/AgoraPip-ti.js +14 -0
- package/lib/module/ti/AgoraPip-ti.js.map +1 -0
- package/lib/module/ti/IAgoraH265Transcoder-ti.js +16 -0
- package/lib/module/ti/IAgoraH265Transcoder-ti.js.map +1 -0
- package/lib/module/ti/IAgoraLog-ti.js +9 -0
- package/lib/module/ti/IAgoraLog-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMediaEngine-ti.js +9 -0
- package/lib/module/ti/IAgoraMediaEngine-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMediaPlayer-ti.js +14 -0
- package/lib/module/ti/IAgoraMediaPlayer-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMediaPlayerSource-ti.js +26 -0
- package/lib/module/ti/IAgoraMediaPlayerSource-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMediaRecorder-ti.js +9 -0
- package/lib/module/ti/IAgoraMediaRecorder-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMediaStreamingSource-ti.js +9 -0
- package/lib/module/ti/IAgoraMediaStreamingSource-ti.js.map +1 -0
- package/lib/module/ti/IAgoraMusicContentCenter-ti.js +18 -0
- package/lib/module/ti/IAgoraMusicContentCenter-ti.js.map +1 -0
- package/lib/module/ti/IAgoraPip-ti.js +14 -0
- package/lib/module/ti/IAgoraPip-ti.js.map +1 -0
- package/lib/module/ti/IAgoraRhythmPlayer-ti.js +9 -0
- package/lib/module/ti/IAgoraRhythmPlayer-ti.js.map +1 -0
- package/lib/module/ti/IAgoraRtcEngine-ti.js +120 -0
- package/lib/module/ti/IAgoraRtcEngine-ti.js.map +1 -0
- package/lib/module/ti/IAgoraRtcEngineEx-ti.js +9 -0
- package/lib/module/ti/IAgoraRtcEngineEx-ti.js.map +1 -0
- package/lib/module/ti/IAgoraSpatialAudio-ti.js +9 -0
- package/lib/module/ti/IAgoraSpatialAudio-ti.js.map +1 -0
- package/lib/module/ti/IAudioDeviceManager-ti.js +9 -0
- package/lib/module/ti/IAudioDeviceManager-ti.js.map +1 -0
- package/lib/module/ti/Utils-ti.js +9 -0
- package/lib/module/ti/Utils-ti.js.map +1 -0
- package/lib/module/ti/index-ti.js +9 -0
- package/lib/module/ti/index-ti.js.map +1 -0
- package/lib/typescript/src/AgoraBase.d.ts +5728 -0
- package/lib/typescript/src/AgoraBase.d.ts.map +1 -0
- package/lib/typescript/src/AgoraMediaBase.d.ts +1717 -0
- package/lib/typescript/src/AgoraMediaBase.d.ts.map +1 -0
- package/lib/typescript/src/AgoraMediaPlayerTypes.d.ts +456 -0
- package/lib/typescript/src/AgoraMediaPlayerTypes.d.ts.map +1 -0
- package/lib/typescript/src/AgoraRtcRenderView.d.ts +60 -0
- package/lib/typescript/src/AgoraRtcRenderView.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraH265Transcoder.d.ts +28 -0
- package/lib/typescript/src/IAgoraH265Transcoder.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraLog.d.ts +89 -0
- package/lib/typescript/src/IAgoraLog.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMediaEngine.d.ts +255 -0
- package/lib/typescript/src/IAgoraMediaEngine.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMediaPlayer.d.ts +656 -0
- package/lib/typescript/src/IAgoraMediaPlayer.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMediaPlayerSource.d.ts +109 -0
- package/lib/typescript/src/IAgoraMediaPlayerSource.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMediaRecorder.d.ts +60 -0
- package/lib/typescript/src/IAgoraMediaRecorder.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMediaStreamingSource.d.ts +42 -0
- package/lib/typescript/src/IAgoraMediaStreamingSource.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraMusicContentCenter.d.ts +604 -0
- package/lib/typescript/src/IAgoraMusicContentCenter.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraPip.d.ts +257 -0
- package/lib/typescript/src/IAgoraPip.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraRhythmPlayer.d.ts +65 -0
- package/lib/typescript/src/IAgoraRhythmPlayer.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraRtcEngine.d.ts +6831 -0
- package/lib/typescript/src/IAgoraRtcEngine.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraRtcEngineEx.d.ts +817 -0
- package/lib/typescript/src/IAgoraRtcEngineEx.d.ts.map +1 -0
- package/lib/typescript/src/IAgoraSpatialAudio.d.ts +194 -0
- package/lib/typescript/src/IAgoraSpatialAudio.d.ts.map +1 -0
- package/lib/typescript/src/IAudioDeviceManager.d.ts +155 -0
- package/lib/typescript/src/IAudioDeviceManager.d.ts.map +1 -0
- package/lib/typescript/src/Utils.d.ts +19 -0
- package/lib/typescript/src/Utils.d.ts.map +1 -0
- package/lib/typescript/src/extension/AgoraBaseExtension.d.ts +2 -0
- package/lib/typescript/src/extension/AgoraBaseExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/AgoraMediaBaseExtension.d.ts +2 -0
- package/lib/typescript/src/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/AgoraMediaPlayerTypesExtension.d.ts +2 -0
- package/lib/typescript/src/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraH265TranscoderExtension.d.ts +24 -0
- package/lib/typescript/src/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraLogExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAgoraLogExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraMediaEngineExtension.d.ts +40 -0
- package/lib/typescript/src/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraMediaPlayerExtension.d.ts +46 -0
- package/lib/typescript/src/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraMediaPlayerSourceExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraMediaRecorderExtension.d.ts +44 -0
- package/lib/typescript/src/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraMusicContentCenterExtension.d.ts +20 -0
- package/lib/typescript/src/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraPipExtension.d.ts +23 -0
- package/lib/typescript/src/extension/IAgoraPipExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraRhythmPlayerExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraRtcEngineExExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraRtcEngineExtension.d.ts +49 -0
- package/lib/typescript/src/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAgoraSpatialAudioExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
- package/lib/typescript/src/extension/IAudioDeviceManagerExtension.d.ts +2 -0
- package/lib/typescript/src/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
- package/lib/typescript/src/impl/AgoraBaseImpl.d.ts +3 -0
- package/lib/typescript/src/impl/AgoraBaseImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/AgoraMediaBaseImpl.d.ts +14 -0
- package/lib/typescript/src/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraH265TranscoderImpl.d.ts +15 -0
- package/lib/typescript/src/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraMediaEngineImpl.d.ts +46 -0
- package/lib/typescript/src/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraMediaPlayerImpl.d.ts +145 -0
- package/lib/typescript/src/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraMediaPlayerSourceImpl.d.ts +3 -0
- package/lib/typescript/src/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraMediaRecorderImpl.d.ts +11 -0
- package/lib/typescript/src/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraMusicContentCenterImpl.d.ts +67 -0
- package/lib/typescript/src/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraRtcEngineExImpl.d.ts +128 -0
- package/lib/typescript/src/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraRtcEngineImpl.d.ts +656 -0
- package/lib/typescript/src/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAgoraSpatialAudioImpl.d.ts +47 -0
- package/lib/typescript/src/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/IAudioDeviceManagerImpl.d.ts +65 -0
- package/lib/typescript/src/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +31 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/internal/AgoraH265TranscoderInternal.d.ts +14 -0
- package/lib/typescript/src/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/AgoraMediaBaseInternal.d.ts +8 -0
- package/lib/typescript/src/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/AgoraPipInternal.d.ts +21 -0
- package/lib/typescript/src/internal/AgoraPipInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/IAgoraRtcRenderView.d.ts +13 -0
- package/lib/typescript/src/internal/IAgoraRtcRenderView.d.ts.map +1 -0
- package/lib/typescript/src/internal/IrisApiEngine.d.ts +12 -0
- package/lib/typescript/src/internal/IrisApiEngine.d.ts.map +1 -0
- package/lib/typescript/src/internal/LocalSpatialAudioEngineInternal.d.ts +4 -0
- package/lib/typescript/src/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/MediaEngineInternal.d.ts +23 -0
- package/lib/typescript/src/internal/MediaEngineInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/MediaPlayerInternal.d.ts +28 -0
- package/lib/typescript/src/internal/MediaPlayerInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/MediaRecorderInternal.d.ts +16 -0
- package/lib/typescript/src/internal/MediaRecorderInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/MusicContentCenterInternal.d.ts +31 -0
- package/lib/typescript/src/internal/MusicContentCenterInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/RtcEngineExInternal.d.ts +62 -0
- package/lib/typescript/src/internal/RtcEngineExInternal.d.ts.map +1 -0
- package/lib/typescript/src/internal/call.d.ts +5 -0
- package/lib/typescript/src/internal/call.d.ts.map +1 -0
- package/lib/typescript/src/internal/event.d.ts +58 -0
- package/lib/typescript/src/internal/event.d.ts.map +1 -0
- package/lib/typescript/src/specs/AgoraRtcSurfaceViewNativeComponent.d.ts +13 -0
- package/lib/typescript/src/specs/AgoraRtcSurfaceViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/specs/AgoraRtcTextureViewNativeComponent.d.ts +11 -0
- package/lib/typescript/src/specs/AgoraRtcTextureViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeAgoraRtcNg.d.ts +23 -0
- package/lib/typescript/src/specs/NativeAgoraRtcNg.d.ts.map +1 -0
- package/lib/typescript/src/specs/index.d.ts +3 -0
- package/lib/typescript/src/specs/index.d.ts.map +1 -0
- package/lib/typescript/src/ti/AgoraBase-ti.d.ts +8 -0
- package/lib/typescript/src/ti/AgoraBase-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/AgoraMediaBase-ti.d.ts +15 -0
- package/lib/typescript/src/ti/AgoraMediaBase-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/AgoraMediaPlayerTypes-ti.d.ts +7 -0
- package/lib/typescript/src/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/AgoraPip-ti.d.ts +8 -0
- package/lib/typescript/src/ti/AgoraPip-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraH265Transcoder-ti.d.ts +8 -0
- package/lib/typescript/src/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraLog-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraLog-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMediaEngine-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMediaPlayer-ti.d.ts +8 -0
- package/lib/typescript/src/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMediaPlayerSource-ti.d.ts +8 -0
- package/lib/typescript/src/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMediaRecorder-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMediaStreamingSource-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraMusicContentCenter-ti.d.ts +8 -0
- package/lib/typescript/src/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraPip-ti.d.ts +8 -0
- package/lib/typescript/src/ti/IAgoraPip-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraRhythmPlayer-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraRtcEngine-ti.d.ts +10 -0
- package/lib/typescript/src/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraRtcEngineEx-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAgoraSpatialAudio-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/IAudioDeviceManager-ti.d.ts +7 -0
- package/lib/typescript/src/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/Utils-ti.d.ts +7 -0
- package/lib/typescript/src/ti/Utils-ti.d.ts.map +1 -0
- package/lib/typescript/src/ti/index-ti.d.ts +7 -0
- package/lib/typescript/src/ti/index-ti.d.ts.map +1 -0
- package/package.json +175 -0
- package/react-native-agora.podspec +50 -0
- package/src/AgoraBase.ts +5941 -0
- package/src/AgoraMediaBase.ts +1814 -0
- package/src/AgoraMediaPlayerTypes.ts +467 -0
- package/src/AgoraRtcRenderView.tsx +72 -0
- package/src/IAgoraH265Transcoder.ts +73 -0
- package/src/IAgoraLog.ts +91 -0
- package/src/IAgoraMediaEngine.ts +321 -0
- package/src/IAgoraMediaPlayer.ts +753 -0
- package/src/IAgoraMediaPlayerSource.ts +137 -0
- package/src/IAgoraMediaRecorder.ts +65 -0
- package/src/IAgoraMediaStreamingSource.ts +81 -0
- package/src/IAgoraMusicContentCenter.ts +678 -0
- package/src/IAgoraPip.ts +295 -0
- package/src/IAgoraRhythmPlayer.ts +67 -0
- package/src/IAgoraRtcEngine.ts +8100 -0
- package/src/IAgoraRtcEngineEx.ts +1108 -0
- package/src/IAgoraSpatialAudio.ts +248 -0
- package/src/IAudioDeviceManager.ts +185 -0
- package/src/Utils.ts +35 -0
- package/src/extension/AgoraBaseExtension.ts +1 -0
- package/src/extension/AgoraMediaBaseExtension.ts +1 -0
- package/src/extension/AgoraMediaPlayerTypesExtension.ts +1 -0
- package/src/extension/IAgoraH265TranscoderExtension.ts +39 -0
- package/src/extension/IAgoraLogExtension.ts +1 -0
- package/src/extension/IAgoraMediaEngineExtension.ts +62 -0
- package/src/extension/IAgoraMediaPlayerExtension.ts +64 -0
- package/src/extension/IAgoraMediaPlayerSourceExtension.ts +1 -0
- package/src/extension/IAgoraMediaRecorderExtension.ts +59 -0
- package/src/extension/IAgoraMusicContentCenterExtension.ts +34 -0
- package/src/extension/IAgoraPipExtension.ts +37 -0
- package/src/extension/IAgoraRhythmPlayerExtension.ts +1 -0
- package/src/extension/IAgoraRtcEngineExExtension.ts +1 -0
- package/src/extension/IAgoraRtcEngineExtension.ts +72 -0
- package/src/extension/IAgoraSpatialAudioExtension.ts +1 -0
- package/src/extension/IAudioDeviceManagerExtension.ts +1 -0
- package/src/impl/AgoraBaseImpl.ts +39 -0
- package/src/impl/AgoraMediaBaseImpl.ts +238 -0
- package/src/impl/IAgoraH265TranscoderImpl.ts +152 -0
- package/src/impl/IAgoraMediaEngineImpl.ts +490 -0
- package/src/impl/IAgoraMediaPlayerImpl.ts +1180 -0
- package/src/impl/IAgoraMediaPlayerSourceImpl.ts +94 -0
- package/src/impl/IAgoraMediaRecorderImpl.ts +58 -0
- package/src/impl/IAgoraMusicContentCenterImpl.ts +561 -0
- package/src/impl/IAgoraRtcEngineExImpl.ts +1911 -0
- package/src/impl/IAgoraRtcEngineImpl.ts +7737 -0
- package/src/impl/IAgoraSpatialAudioImpl.ts +494 -0
- package/src/impl/IAudioDeviceManagerImpl.ts +442 -0
- package/src/index.ts +53 -0
- package/src/internal/AgoraH265TranscoderInternal.ts +93 -0
- package/src/internal/AgoraMediaBaseInternal.ts +15 -0
- package/src/internal/AgoraPipInternal.ts +136 -0
- package/src/internal/IAgoraRtcRenderView.tsx +79 -0
- package/src/internal/IrisApiEngine.ts +337 -0
- package/src/internal/LocalSpatialAudioEngineInternal.ts +3 -0
- package/src/internal/MediaEngineInternal.ts +187 -0
- package/src/internal/MediaPlayerInternal.ts +282 -0
- package/src/internal/MediaRecorderInternal.ts +96 -0
- package/src/internal/MusicContentCenterInternal.ts +204 -0
- package/src/internal/RtcEngineExInternal.ts +443 -0
- package/src/internal/call.ts +140 -0
- package/src/internal/event.ts +100 -0
- package/src/specs/AgoraRtcSurfaceViewNativeComponent.ts +16 -0
- package/src/specs/AgoraRtcTextureViewNativeComponent.ts +14 -0
- package/src/specs/NativeAgoraRtcNg.ts +40 -0
- package/src/specs/index.ts +26 -0
- package/src/ti/AgoraBase-ti.ts +16 -0
- package/src/ti/AgoraMediaBase-ti.ts +58 -0
- package/src/ti/AgoraMediaPlayerTypes-ti.ts +11 -0
- package/src/ti/AgoraPip-ti.ts +14 -0
- package/src/ti/IAgoraH265Transcoder-ti.ts +16 -0
- package/src/ti/IAgoraLog-ti.ts +11 -0
- package/src/ti/IAgoraMediaEngine-ti.ts +11 -0
- package/src/ti/IAgoraMediaPlayer-ti.ts +14 -0
- package/src/ti/IAgoraMediaPlayerSource-ti.ts +26 -0
- package/src/ti/IAgoraMediaRecorder-ti.ts +11 -0
- package/src/ti/IAgoraMediaStreamingSource-ti.ts +11 -0
- package/src/ti/IAgoraMusicContentCenter-ti.ts +18 -0
- package/src/ti/IAgoraPip-ti.ts +14 -0
- package/src/ti/IAgoraRhythmPlayer-ti.ts +11 -0
- package/src/ti/IAgoraRtcEngine-ti.ts +122 -0
- package/src/ti/IAgoraRtcEngineEx-ti.ts +11 -0
- package/src/ti/IAgoraSpatialAudio-ti.ts +11 -0
- package/src/ti/IAudioDeviceManager-ti.ts +11 -0
- package/src/ti/Utils-ti.ts +11 -0
- package/src/ti/index-ti.ts +11 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AudioTrackConfig,
|
|
3
|
+
AudioTrackType,
|
|
4
|
+
EncodedVideoFrameInfo,
|
|
5
|
+
SenderOptions,
|
|
6
|
+
} from '../AgoraBase';
|
|
7
|
+
import {
|
|
8
|
+
AudioFrame,
|
|
9
|
+
ExternalVideoFrame,
|
|
10
|
+
ExternalVideoSourceType,
|
|
11
|
+
IAudioFrameObserver,
|
|
12
|
+
IFaceInfoObserver,
|
|
13
|
+
IVideoEncodedFrameObserver,
|
|
14
|
+
IVideoFrameObserver,
|
|
15
|
+
} from '../AgoraMediaBase';
|
|
16
|
+
import { IMediaEngine } from '../IAgoraMediaEngine';
|
|
17
|
+
import { callIrisApi } from '../internal/call';
|
|
18
|
+
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
export class IMediaEngineImpl implements IMediaEngine {
|
|
21
|
+
registerAudioFrameObserver(observer: IAudioFrameObserver): number {
|
|
22
|
+
const apiType = this.getApiTypeFromRegisterAudioFrameObserver(observer);
|
|
23
|
+
const jsonParams = {
|
|
24
|
+
observer: observer,
|
|
25
|
+
toJSON: () => {
|
|
26
|
+
return {};
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
30
|
+
return jsonResults.result;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
protected getApiTypeFromRegisterAudioFrameObserver(
|
|
34
|
+
observer: IAudioFrameObserver
|
|
35
|
+
): string {
|
|
36
|
+
return 'MediaEngine_registerAudioFrameObserver_d873a64';
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
registerVideoFrameObserver(observer: IVideoFrameObserver): number {
|
|
40
|
+
const apiType = this.getApiTypeFromRegisterVideoFrameObserver(observer);
|
|
41
|
+
const jsonParams = {
|
|
42
|
+
observer: observer,
|
|
43
|
+
toJSON: () => {
|
|
44
|
+
return {};
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
48
|
+
return jsonResults.result;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
protected getApiTypeFromRegisterVideoFrameObserver(
|
|
52
|
+
observer: IVideoFrameObserver
|
|
53
|
+
): string {
|
|
54
|
+
return 'MediaEngine_registerVideoFrameObserver_2cc0ef1';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
registerVideoEncodedFrameObserver(
|
|
58
|
+
observer: IVideoEncodedFrameObserver
|
|
59
|
+
): number {
|
|
60
|
+
const apiType =
|
|
61
|
+
this.getApiTypeFromRegisterVideoEncodedFrameObserver(observer);
|
|
62
|
+
const jsonParams = {
|
|
63
|
+
observer: observer,
|
|
64
|
+
toJSON: () => {
|
|
65
|
+
return {};
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
69
|
+
return jsonResults.result;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
protected getApiTypeFromRegisterVideoEncodedFrameObserver(
|
|
73
|
+
observer: IVideoEncodedFrameObserver
|
|
74
|
+
): string {
|
|
75
|
+
return 'MediaEngine_registerVideoEncodedFrameObserver_d45d579';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
registerFaceInfoObserver(observer: IFaceInfoObserver): number {
|
|
79
|
+
const apiType = this.getApiTypeFromRegisterFaceInfoObserver(observer);
|
|
80
|
+
const jsonParams = {
|
|
81
|
+
observer: observer,
|
|
82
|
+
toJSON: () => {
|
|
83
|
+
return {};
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
87
|
+
return jsonResults.result;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
protected getApiTypeFromRegisterFaceInfoObserver(
|
|
91
|
+
observer: IFaceInfoObserver
|
|
92
|
+
): string {
|
|
93
|
+
return 'MediaEngine_registerFaceInfoObserver_0303ed6';
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
pushAudioFrame(frame: AudioFrame, trackId: number = 0): number {
|
|
97
|
+
const apiType = this.getApiTypeFromPushAudioFrame(frame, trackId);
|
|
98
|
+
const jsonParams = {
|
|
99
|
+
frame: frame,
|
|
100
|
+
trackId: trackId,
|
|
101
|
+
toJSON: () => {
|
|
102
|
+
return {
|
|
103
|
+
frame: frame,
|
|
104
|
+
trackId: trackId,
|
|
105
|
+
};
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
109
|
+
return jsonResults.result;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
protected getApiTypeFromPushAudioFrame(
|
|
113
|
+
frame: AudioFrame,
|
|
114
|
+
trackId: number = 0
|
|
115
|
+
): string {
|
|
116
|
+
return 'MediaEngine_pushAudioFrame_c71f4ab';
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
pullAudioFrame(frame: AudioFrame): number {
|
|
120
|
+
const apiType = this.getApiTypeFromPullAudioFrame(frame);
|
|
121
|
+
const jsonParams = {
|
|
122
|
+
frame: frame,
|
|
123
|
+
toJSON: () => {
|
|
124
|
+
return {
|
|
125
|
+
frame: frame,
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
130
|
+
return jsonResults.result;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
protected getApiTypeFromPullAudioFrame(frame: AudioFrame): string {
|
|
134
|
+
return 'MediaEngine_pullAudioFrame_2c74a9c';
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
setExternalVideoSource(
|
|
138
|
+
enabled: boolean,
|
|
139
|
+
useTexture: boolean,
|
|
140
|
+
sourceType: ExternalVideoSourceType = ExternalVideoSourceType.VideoFrame,
|
|
141
|
+
encodedVideoOption: SenderOptions = new SenderOptions()
|
|
142
|
+
): number {
|
|
143
|
+
const apiType = this.getApiTypeFromSetExternalVideoSource(
|
|
144
|
+
enabled,
|
|
145
|
+
useTexture,
|
|
146
|
+
sourceType,
|
|
147
|
+
encodedVideoOption
|
|
148
|
+
);
|
|
149
|
+
const jsonParams = {
|
|
150
|
+
enabled: enabled,
|
|
151
|
+
useTexture: useTexture,
|
|
152
|
+
sourceType: sourceType,
|
|
153
|
+
encodedVideoOption: encodedVideoOption,
|
|
154
|
+
toJSON: () => {
|
|
155
|
+
return {
|
|
156
|
+
enabled: enabled,
|
|
157
|
+
useTexture: useTexture,
|
|
158
|
+
sourceType: sourceType,
|
|
159
|
+
encodedVideoOption: encodedVideoOption,
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
164
|
+
return jsonResults.result;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
protected getApiTypeFromSetExternalVideoSource(
|
|
168
|
+
enabled: boolean,
|
|
169
|
+
useTexture: boolean,
|
|
170
|
+
sourceType: ExternalVideoSourceType = ExternalVideoSourceType.VideoFrame,
|
|
171
|
+
encodedVideoOption: SenderOptions = new SenderOptions()
|
|
172
|
+
): string {
|
|
173
|
+
return 'MediaEngine_setExternalVideoSource_fff99b6';
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
setExternalRemoteEglContext(eglContext: any): number {
|
|
177
|
+
const apiType = this.getApiTypeFromSetExternalRemoteEglContext(eglContext);
|
|
178
|
+
const jsonParams = {
|
|
179
|
+
eglContext: eglContext,
|
|
180
|
+
toJSON: () => {
|
|
181
|
+
return {
|
|
182
|
+
eglContext: eglContext,
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
187
|
+
return jsonResults.result;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
protected getApiTypeFromSetExternalRemoteEglContext(eglContext: any): string {
|
|
191
|
+
return 'MediaEngine_setExternalRemoteEglContext_f337cbf';
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
setExternalAudioSource(
|
|
195
|
+
enabled: boolean,
|
|
196
|
+
sampleRate: number,
|
|
197
|
+
channels: number,
|
|
198
|
+
localPlayback: boolean = false,
|
|
199
|
+
publish: boolean = true
|
|
200
|
+
): number {
|
|
201
|
+
const apiType = this.getApiTypeFromSetExternalAudioSource(
|
|
202
|
+
enabled,
|
|
203
|
+
sampleRate,
|
|
204
|
+
channels,
|
|
205
|
+
localPlayback,
|
|
206
|
+
publish
|
|
207
|
+
);
|
|
208
|
+
const jsonParams = {
|
|
209
|
+
enabled: enabled,
|
|
210
|
+
sampleRate: sampleRate,
|
|
211
|
+
channels: channels,
|
|
212
|
+
localPlayback: localPlayback,
|
|
213
|
+
publish: publish,
|
|
214
|
+
toJSON: () => {
|
|
215
|
+
return {
|
|
216
|
+
enabled: enabled,
|
|
217
|
+
sampleRate: sampleRate,
|
|
218
|
+
channels: channels,
|
|
219
|
+
localPlayback: localPlayback,
|
|
220
|
+
publish: publish,
|
|
221
|
+
};
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
225
|
+
return jsonResults.result;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
protected getApiTypeFromSetExternalAudioSource(
|
|
229
|
+
enabled: boolean,
|
|
230
|
+
sampleRate: number,
|
|
231
|
+
channels: number,
|
|
232
|
+
localPlayback: boolean = false,
|
|
233
|
+
publish: boolean = true
|
|
234
|
+
): string {
|
|
235
|
+
return 'MediaEngine_setExternalAudioSource_e6538be';
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
createCustomAudioTrack(
|
|
239
|
+
trackType: AudioTrackType,
|
|
240
|
+
config: AudioTrackConfig
|
|
241
|
+
): number {
|
|
242
|
+
const apiType = this.getApiTypeFromCreateCustomAudioTrack(
|
|
243
|
+
trackType,
|
|
244
|
+
config
|
|
245
|
+
);
|
|
246
|
+
const jsonParams = {
|
|
247
|
+
trackType: trackType,
|
|
248
|
+
config: config,
|
|
249
|
+
toJSON: () => {
|
|
250
|
+
return {
|
|
251
|
+
trackType: trackType,
|
|
252
|
+
config: config,
|
|
253
|
+
};
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
257
|
+
return jsonResults.result;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
protected getApiTypeFromCreateCustomAudioTrack(
|
|
261
|
+
trackType: AudioTrackType,
|
|
262
|
+
config: AudioTrackConfig
|
|
263
|
+
): string {
|
|
264
|
+
return 'MediaEngine_createCustomAudioTrack_5a0bf1a';
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
destroyCustomAudioTrack(trackId: number): number {
|
|
268
|
+
const apiType = this.getApiTypeFromDestroyCustomAudioTrack(trackId);
|
|
269
|
+
const jsonParams = {
|
|
270
|
+
trackId: trackId,
|
|
271
|
+
toJSON: () => {
|
|
272
|
+
return {
|
|
273
|
+
trackId: trackId,
|
|
274
|
+
};
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
278
|
+
return jsonResults.result;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
protected getApiTypeFromDestroyCustomAudioTrack(trackId: number): string {
|
|
282
|
+
return 'MediaEngine_destroyCustomAudioTrack_6178b5d';
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
setExternalAudioSink(
|
|
286
|
+
enabled: boolean,
|
|
287
|
+
sampleRate: number,
|
|
288
|
+
channels: number
|
|
289
|
+
): number {
|
|
290
|
+
const apiType = this.getApiTypeFromSetExternalAudioSink(
|
|
291
|
+
enabled,
|
|
292
|
+
sampleRate,
|
|
293
|
+
channels
|
|
294
|
+
);
|
|
295
|
+
const jsonParams = {
|
|
296
|
+
enabled: enabled,
|
|
297
|
+
sampleRate: sampleRate,
|
|
298
|
+
channels: channels,
|
|
299
|
+
toJSON: () => {
|
|
300
|
+
return {
|
|
301
|
+
enabled: enabled,
|
|
302
|
+
sampleRate: sampleRate,
|
|
303
|
+
channels: channels,
|
|
304
|
+
};
|
|
305
|
+
},
|
|
306
|
+
};
|
|
307
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
308
|
+
return jsonResults.result;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
protected getApiTypeFromSetExternalAudioSink(
|
|
312
|
+
enabled: boolean,
|
|
313
|
+
sampleRate: number,
|
|
314
|
+
channels: number
|
|
315
|
+
): string {
|
|
316
|
+
return 'MediaEngine_setExternalAudioSink_d275ce0';
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
enableCustomAudioLocalPlayback(trackId: number, enabled: boolean): number {
|
|
320
|
+
const apiType = this.getApiTypeFromEnableCustomAudioLocalPlayback(
|
|
321
|
+
trackId,
|
|
322
|
+
enabled
|
|
323
|
+
);
|
|
324
|
+
const jsonParams = {
|
|
325
|
+
trackId: trackId,
|
|
326
|
+
enabled: enabled,
|
|
327
|
+
toJSON: () => {
|
|
328
|
+
return {
|
|
329
|
+
trackId: trackId,
|
|
330
|
+
enabled: enabled,
|
|
331
|
+
};
|
|
332
|
+
},
|
|
333
|
+
};
|
|
334
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
335
|
+
return jsonResults.result;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
protected getApiTypeFromEnableCustomAudioLocalPlayback(
|
|
339
|
+
trackId: number,
|
|
340
|
+
enabled: boolean
|
|
341
|
+
): string {
|
|
342
|
+
return 'MediaEngine_enableCustomAudioLocalPlayback_5f38e8a';
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
pushVideoFrame(frame: ExternalVideoFrame, videoTrackId: number = 0): number {
|
|
346
|
+
const apiType = this.getApiTypeFromPushVideoFrame(frame, videoTrackId);
|
|
347
|
+
const jsonParams = {
|
|
348
|
+
frame: frame,
|
|
349
|
+
videoTrackId: videoTrackId,
|
|
350
|
+
toJSON: () => {
|
|
351
|
+
return {
|
|
352
|
+
frame: frame,
|
|
353
|
+
videoTrackId: videoTrackId,
|
|
354
|
+
};
|
|
355
|
+
},
|
|
356
|
+
};
|
|
357
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
358
|
+
return jsonResults.result;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
protected getApiTypeFromPushVideoFrame(
|
|
362
|
+
frame: ExternalVideoFrame,
|
|
363
|
+
videoTrackId: number = 0
|
|
364
|
+
): string {
|
|
365
|
+
return 'MediaEngine_pushVideoFrame_4e544e2';
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
pushEncodedVideoImage(
|
|
369
|
+
imageBuffer: Uint8Array,
|
|
370
|
+
length: number,
|
|
371
|
+
videoEncodedFrameInfo: EncodedVideoFrameInfo,
|
|
372
|
+
videoTrackId: number = 0
|
|
373
|
+
): number {
|
|
374
|
+
const apiType = this.getApiTypeFromPushEncodedVideoImage(
|
|
375
|
+
imageBuffer,
|
|
376
|
+
length,
|
|
377
|
+
videoEncodedFrameInfo,
|
|
378
|
+
videoTrackId
|
|
379
|
+
);
|
|
380
|
+
const jsonParams = {
|
|
381
|
+
imageBuffer: imageBuffer,
|
|
382
|
+
length: length,
|
|
383
|
+
videoEncodedFrameInfo: videoEncodedFrameInfo,
|
|
384
|
+
videoTrackId: videoTrackId,
|
|
385
|
+
toJSON: () => {
|
|
386
|
+
return {
|
|
387
|
+
length: length,
|
|
388
|
+
videoEncodedFrameInfo: videoEncodedFrameInfo,
|
|
389
|
+
videoTrackId: videoTrackId,
|
|
390
|
+
};
|
|
391
|
+
},
|
|
392
|
+
};
|
|
393
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
394
|
+
return jsonResults.result;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
protected getApiTypeFromPushEncodedVideoImage(
|
|
398
|
+
imageBuffer: Uint8Array,
|
|
399
|
+
length: number,
|
|
400
|
+
videoEncodedFrameInfo: EncodedVideoFrameInfo,
|
|
401
|
+
videoTrackId: number = 0
|
|
402
|
+
): string {
|
|
403
|
+
return 'MediaEngine_pushEncodedVideoImage_e71452b';
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
release(): void {
|
|
407
|
+
const apiType = this.getApiTypeFromRelease();
|
|
408
|
+
const jsonParams = {};
|
|
409
|
+
callIrisApi.call(this, apiType, jsonParams);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
protected getApiTypeFromRelease(): string {
|
|
413
|
+
return 'MediaEngine_release';
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
unregisterAudioFrameObserver(observer: IAudioFrameObserver): number {
|
|
417
|
+
const apiType = this.getApiTypeFromUnregisterAudioFrameObserver(observer);
|
|
418
|
+
const jsonParams = {
|
|
419
|
+
observer: observer,
|
|
420
|
+
toJSON: () => {
|
|
421
|
+
return {};
|
|
422
|
+
},
|
|
423
|
+
};
|
|
424
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
425
|
+
return jsonResults.result;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
protected getApiTypeFromUnregisterAudioFrameObserver(
|
|
429
|
+
observer: IAudioFrameObserver
|
|
430
|
+
): string {
|
|
431
|
+
return 'MediaEngine_unregisterAudioFrameObserver';
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
unregisterVideoFrameObserver(observer: IVideoFrameObserver): number {
|
|
435
|
+
const apiType = this.getApiTypeFromUnregisterVideoFrameObserver(observer);
|
|
436
|
+
const jsonParams = {
|
|
437
|
+
observer: observer,
|
|
438
|
+
toJSON: () => {
|
|
439
|
+
return {};
|
|
440
|
+
},
|
|
441
|
+
};
|
|
442
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
443
|
+
return jsonResults.result;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
protected getApiTypeFromUnregisterVideoFrameObserver(
|
|
447
|
+
observer: IVideoFrameObserver
|
|
448
|
+
): string {
|
|
449
|
+
return 'MediaEngine_unregisterVideoFrameObserver';
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
unregisterVideoEncodedFrameObserver(
|
|
453
|
+
observer: IVideoEncodedFrameObserver
|
|
454
|
+
): number {
|
|
455
|
+
const apiType =
|
|
456
|
+
this.getApiTypeFromUnregisterVideoEncodedFrameObserver(observer);
|
|
457
|
+
const jsonParams = {
|
|
458
|
+
observer: observer,
|
|
459
|
+
toJSON: () => {
|
|
460
|
+
return {};
|
|
461
|
+
},
|
|
462
|
+
};
|
|
463
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
464
|
+
return jsonResults.result;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
protected getApiTypeFromUnregisterVideoEncodedFrameObserver(
|
|
468
|
+
observer: IVideoEncodedFrameObserver
|
|
469
|
+
): string {
|
|
470
|
+
return 'MediaEngine_unregisterVideoEncodedFrameObserver';
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
unregisterFaceInfoObserver(observer: IFaceInfoObserver): number {
|
|
474
|
+
const apiType = this.getApiTypeFromUnregisterFaceInfoObserver(observer);
|
|
475
|
+
const jsonParams = {
|
|
476
|
+
observer: observer,
|
|
477
|
+
toJSON: () => {
|
|
478
|
+
return {};
|
|
479
|
+
},
|
|
480
|
+
};
|
|
481
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
482
|
+
return jsonResults.result;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
protected getApiTypeFromUnregisterFaceInfoObserver(
|
|
486
|
+
observer: IFaceInfoObserver
|
|
487
|
+
): string {
|
|
488
|
+
return 'MediaEngine_unregisterFaceInfoObserver';
|
|
489
|
+
}
|
|
490
|
+
}
|