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,1067 @@
|
|
|
1
|
+
import './extension/AgoraMediaBaseExtension';
|
|
2
|
+
/**
|
|
3
|
+
* 插件上下文信息。
|
|
4
|
+
*/
|
|
5
|
+
export class ExtensionContext {}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 视频源的类型。
|
|
9
|
+
*/
|
|
10
|
+
export let VideoSourceType = /*#__PURE__*/function (VideoSourceType) {
|
|
11
|
+
/**
|
|
12
|
+
* 0:(默认)视频源为第一个摄像头。
|
|
13
|
+
*/
|
|
14
|
+
VideoSourceType[VideoSourceType["VideoSourceCameraPrimary"] = 0] = "VideoSourceCameraPrimary";
|
|
15
|
+
/**
|
|
16
|
+
* 0:(默认)视频源为第一个摄像头。
|
|
17
|
+
*/
|
|
18
|
+
VideoSourceType[VideoSourceType["VideoSourceCamera"] = 0] = "VideoSourceCamera";
|
|
19
|
+
/**
|
|
20
|
+
* 1:视频源为第二个摄像头。
|
|
21
|
+
*/
|
|
22
|
+
VideoSourceType[VideoSourceType["VideoSourceCameraSecondary"] = 1] = "VideoSourceCameraSecondary";
|
|
23
|
+
/**
|
|
24
|
+
* 2:视频源为第一个屏幕。
|
|
25
|
+
*/
|
|
26
|
+
VideoSourceType[VideoSourceType["VideoSourceScreenPrimary"] = 2] = "VideoSourceScreenPrimary";
|
|
27
|
+
/**
|
|
28
|
+
* 2:视频源为第一个屏幕。
|
|
29
|
+
*/
|
|
30
|
+
VideoSourceType[VideoSourceType["VideoSourceScreen"] = 2] = "VideoSourceScreen";
|
|
31
|
+
/**
|
|
32
|
+
* 3:视频源为第二个屏幕。
|
|
33
|
+
*/
|
|
34
|
+
VideoSourceType[VideoSourceType["VideoSourceScreenSecondary"] = 3] = "VideoSourceScreenSecondary";
|
|
35
|
+
/**
|
|
36
|
+
* 4:自定义的视频源。
|
|
37
|
+
*/
|
|
38
|
+
VideoSourceType[VideoSourceType["VideoSourceCustom"] = 4] = "VideoSourceCustom";
|
|
39
|
+
/**
|
|
40
|
+
* 5:视频源为媒体播放器。
|
|
41
|
+
*/
|
|
42
|
+
VideoSourceType[VideoSourceType["VideoSourceMediaPlayer"] = 5] = "VideoSourceMediaPlayer";
|
|
43
|
+
/**
|
|
44
|
+
* 6:视频源为 PNG 图片。
|
|
45
|
+
*/
|
|
46
|
+
VideoSourceType[VideoSourceType["VideoSourceRtcImagePng"] = 6] = "VideoSourceRtcImagePng";
|
|
47
|
+
/**
|
|
48
|
+
* 7:视频源为 JPEG 图片。
|
|
49
|
+
*/
|
|
50
|
+
VideoSourceType[VideoSourceType["VideoSourceRtcImageJpeg"] = 7] = "VideoSourceRtcImageJpeg";
|
|
51
|
+
/**
|
|
52
|
+
* 8:视频源为 GIF 图片。
|
|
53
|
+
*/
|
|
54
|
+
VideoSourceType[VideoSourceType["VideoSourceRtcImageGif"] = 8] = "VideoSourceRtcImageGif";
|
|
55
|
+
/**
|
|
56
|
+
* 9:视频源为网络获取的远端视频。
|
|
57
|
+
*/
|
|
58
|
+
VideoSourceType[VideoSourceType["VideoSourceRemote"] = 9] = "VideoSourceRemote";
|
|
59
|
+
/**
|
|
60
|
+
* 10:转码后的视频源。
|
|
61
|
+
*/
|
|
62
|
+
VideoSourceType[VideoSourceType["VideoSourceTranscoded"] = 10] = "VideoSourceTranscoded";
|
|
63
|
+
/**
|
|
64
|
+
* 11:(仅适用于 Android)视频源为第三个摄像头。
|
|
65
|
+
*/
|
|
66
|
+
VideoSourceType[VideoSourceType["VideoSourceCameraThird"] = 11] = "VideoSourceCameraThird";
|
|
67
|
+
/**
|
|
68
|
+
* 12:(仅适用于 Android)视频源为第四个摄像头。
|
|
69
|
+
*/
|
|
70
|
+
VideoSourceType[VideoSourceType["VideoSourceCameraFourth"] = 12] = "VideoSourceCameraFourth";
|
|
71
|
+
/**
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
74
|
+
VideoSourceType[VideoSourceType["VideoSourceScreenThird"] = 13] = "VideoSourceScreenThird";
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
78
|
+
VideoSourceType[VideoSourceType["VideoSourceScreenFourth"] = 14] = "VideoSourceScreenFourth";
|
|
79
|
+
/**
|
|
80
|
+
* 15:视频源为语音驱动插件处理后的视频。
|
|
81
|
+
*/
|
|
82
|
+
VideoSourceType[VideoSourceType["VideoSourceSpeechDriven"] = 15] = "VideoSourceSpeechDriven";
|
|
83
|
+
/**
|
|
84
|
+
* 100:未知的视频源。
|
|
85
|
+
*/
|
|
86
|
+
VideoSourceType[VideoSourceType["VideoSourceUnknown"] = 100] = "VideoSourceUnknown";
|
|
87
|
+
return VideoSourceType;
|
|
88
|
+
}({});
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* 音频源类型。
|
|
92
|
+
*/
|
|
93
|
+
export let AudioSourceType = /*#__PURE__*/function (AudioSourceType) {
|
|
94
|
+
/**
|
|
95
|
+
* 0:(默认)麦克风。
|
|
96
|
+
*/
|
|
97
|
+
AudioSourceType[AudioSourceType["AudioSourceMicrophone"] = 0] = "AudioSourceMicrophone";
|
|
98
|
+
/**
|
|
99
|
+
* 1:自定义采集到的音频流。
|
|
100
|
+
*/
|
|
101
|
+
AudioSourceType[AudioSourceType["AudioSourceCustom"] = 1] = "AudioSourceCustom";
|
|
102
|
+
/**
|
|
103
|
+
* 2:媒体播放器。
|
|
104
|
+
*/
|
|
105
|
+
AudioSourceType[AudioSourceType["AudioSourceMediaPlayer"] = 2] = "AudioSourceMediaPlayer";
|
|
106
|
+
/**
|
|
107
|
+
* 3:在屏幕共享时采集的系统音频流。
|
|
108
|
+
*/
|
|
109
|
+
AudioSourceType[AudioSourceType["AudioSourceLoopbackRecording"] = 3] = "AudioSourceLoopbackRecording";
|
|
110
|
+
/**
|
|
111
|
+
* @ignore
|
|
112
|
+
*/
|
|
113
|
+
AudioSourceType[AudioSourceType["AudioSourceMixedStream"] = 4] = "AudioSourceMixedStream";
|
|
114
|
+
/**
|
|
115
|
+
* 5:指定远端用户的音频流。
|
|
116
|
+
*/
|
|
117
|
+
AudioSourceType[AudioSourceType["AudioSourceRemoteUser"] = 5] = "AudioSourceRemoteUser";
|
|
118
|
+
/**
|
|
119
|
+
* 6:当前频道内所有音频流的合流。
|
|
120
|
+
*/
|
|
121
|
+
AudioSourceType[AudioSourceType["AudioSourceRemoteChannel"] = 6] = "AudioSourceRemoteChannel";
|
|
122
|
+
/**
|
|
123
|
+
* 100:未知的音频源。
|
|
124
|
+
*/
|
|
125
|
+
AudioSourceType[AudioSourceType["AudioSourceUnknown"] = 100] = "AudioSourceUnknown";
|
|
126
|
+
return AudioSourceType;
|
|
127
|
+
}({});
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 音频路由的类型。
|
|
131
|
+
*/
|
|
132
|
+
export let AudioRoute = /*#__PURE__*/function (AudioRoute) {
|
|
133
|
+
/**
|
|
134
|
+
* -1: 使用默认的音频路由。
|
|
135
|
+
*/
|
|
136
|
+
AudioRoute[AudioRoute["RouteDefault"] = -1] = "RouteDefault";
|
|
137
|
+
/**
|
|
138
|
+
* 0: 音频路由为带麦克风的耳机。
|
|
139
|
+
*/
|
|
140
|
+
AudioRoute[AudioRoute["RouteHeadset"] = 0] = "RouteHeadset";
|
|
141
|
+
/**
|
|
142
|
+
* 1: 音频路由为听筒。
|
|
143
|
+
*/
|
|
144
|
+
AudioRoute[AudioRoute["RouteEarpiece"] = 1] = "RouteEarpiece";
|
|
145
|
+
/**
|
|
146
|
+
* 2: 音频路由为不带麦克风的耳机。
|
|
147
|
+
*/
|
|
148
|
+
AudioRoute[AudioRoute["RouteHeadsetnomic"] = 2] = "RouteHeadsetnomic";
|
|
149
|
+
/**
|
|
150
|
+
* 3: 音频路由为设备自带的扬声器。
|
|
151
|
+
*/
|
|
152
|
+
AudioRoute[AudioRoute["RouteSpeakerphone"] = 3] = "RouteSpeakerphone";
|
|
153
|
+
/**
|
|
154
|
+
* 4: 音频路由为外接的扬声器。(仅适用于 iOS)
|
|
155
|
+
*/
|
|
156
|
+
AudioRoute[AudioRoute["RouteLoudspeaker"] = 4] = "RouteLoudspeaker";
|
|
157
|
+
/**
|
|
158
|
+
* 5: 音频路由为使用 HFP 协议的蓝牙设备。
|
|
159
|
+
*/
|
|
160
|
+
AudioRoute[AudioRoute["RouteBluetoothDeviceHfp"] = 5] = "RouteBluetoothDeviceHfp";
|
|
161
|
+
/**
|
|
162
|
+
* @ignore
|
|
163
|
+
*/
|
|
164
|
+
AudioRoute[AudioRoute["RouteUsb"] = 6] = "RouteUsb";
|
|
165
|
+
/**
|
|
166
|
+
* @ignore
|
|
167
|
+
*/
|
|
168
|
+
AudioRoute[AudioRoute["RouteHdmi"] = 7] = "RouteHdmi";
|
|
169
|
+
/**
|
|
170
|
+
* @ignore
|
|
171
|
+
*/
|
|
172
|
+
AudioRoute[AudioRoute["RouteDisplayport"] = 8] = "RouteDisplayport";
|
|
173
|
+
/**
|
|
174
|
+
* @ignore
|
|
175
|
+
*/
|
|
176
|
+
AudioRoute[AudioRoute["RouteAirplay"] = 9] = "RouteAirplay";
|
|
177
|
+
/**
|
|
178
|
+
* 10: 音频路由为使用 A2DP 协议的蓝牙设备。
|
|
179
|
+
*/
|
|
180
|
+
AudioRoute[AudioRoute["RouteBluetoothDeviceA2dp"] = 10] = "RouteBluetoothDeviceA2dp";
|
|
181
|
+
return AudioRoute;
|
|
182
|
+
}({});
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @ignore
|
|
186
|
+
*/
|
|
187
|
+
export let BytesPerSample = /*#__PURE__*/function (BytesPerSample) {
|
|
188
|
+
/**
|
|
189
|
+
* @ignore
|
|
190
|
+
*/
|
|
191
|
+
BytesPerSample[BytesPerSample["TwoBytesPerSample"] = 2] = "TwoBytesPerSample";
|
|
192
|
+
return BytesPerSample;
|
|
193
|
+
}({});
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @ignore
|
|
197
|
+
*/
|
|
198
|
+
export class AudioParameters {}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* 音频数据的使用模式。
|
|
202
|
+
*/
|
|
203
|
+
export let RawAudioFrameOpModeType = /*#__PURE__*/function (RawAudioFrameOpModeType) {
|
|
204
|
+
/**
|
|
205
|
+
* 0: (默认) 只读模式,例如: 若用户通过 SDK 采集数据,自己进行旁路推流,则可以选择该模式。
|
|
206
|
+
*/
|
|
207
|
+
RawAudioFrameOpModeType[RawAudioFrameOpModeType["RawAudioFrameOpModeReadOnly"] = 0] = "RawAudioFrameOpModeReadOnly";
|
|
208
|
+
/**
|
|
209
|
+
* 2: 读写模式, 例如: 若用户自己有音效处理模块,且想要根据实际需要对数据进行前处理(例如变声),则可以选择该模式。
|
|
210
|
+
*/
|
|
211
|
+
RawAudioFrameOpModeType[RawAudioFrameOpModeType["RawAudioFrameOpModeReadWrite"] = 2] = "RawAudioFrameOpModeReadWrite";
|
|
212
|
+
return RawAudioFrameOpModeType;
|
|
213
|
+
}({});
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* 媒体源类型。
|
|
217
|
+
*/
|
|
218
|
+
export let MediaSourceType = /*#__PURE__*/function (MediaSourceType) {
|
|
219
|
+
/**
|
|
220
|
+
* 0: 音频播放设备。
|
|
221
|
+
*/
|
|
222
|
+
MediaSourceType[MediaSourceType["AudioPlayoutSource"] = 0] = "AudioPlayoutSource";
|
|
223
|
+
/**
|
|
224
|
+
* 1: 音频采集设备。
|
|
225
|
+
*/
|
|
226
|
+
MediaSourceType[MediaSourceType["AudioRecordingSource"] = 1] = "AudioRecordingSource";
|
|
227
|
+
/**
|
|
228
|
+
* 2: 第一个摄像头
|
|
229
|
+
*/
|
|
230
|
+
MediaSourceType[MediaSourceType["PrimaryCameraSource"] = 2] = "PrimaryCameraSource";
|
|
231
|
+
/**
|
|
232
|
+
* 3: 第二个摄像头。
|
|
233
|
+
*/
|
|
234
|
+
MediaSourceType[MediaSourceType["SecondaryCameraSource"] = 3] = "SecondaryCameraSource";
|
|
235
|
+
/**
|
|
236
|
+
* @ignore
|
|
237
|
+
*/
|
|
238
|
+
MediaSourceType[MediaSourceType["PrimaryScreenSource"] = 4] = "PrimaryScreenSource";
|
|
239
|
+
/**
|
|
240
|
+
* @ignore
|
|
241
|
+
*/
|
|
242
|
+
MediaSourceType[MediaSourceType["SecondaryScreenSource"] = 5] = "SecondaryScreenSource";
|
|
243
|
+
/**
|
|
244
|
+
* 6: 自定义采集的视频源。
|
|
245
|
+
*/
|
|
246
|
+
MediaSourceType[MediaSourceType["CustomVideoSource"] = 6] = "CustomVideoSource";
|
|
247
|
+
/**
|
|
248
|
+
* @ignore
|
|
249
|
+
*/
|
|
250
|
+
MediaSourceType[MediaSourceType["MediaPlayerSource"] = 7] = "MediaPlayerSource";
|
|
251
|
+
/**
|
|
252
|
+
* @ignore
|
|
253
|
+
*/
|
|
254
|
+
MediaSourceType[MediaSourceType["RtcImagePngSource"] = 8] = "RtcImagePngSource";
|
|
255
|
+
/**
|
|
256
|
+
* @ignore
|
|
257
|
+
*/
|
|
258
|
+
MediaSourceType[MediaSourceType["RtcImageJpegSource"] = 9] = "RtcImageJpegSource";
|
|
259
|
+
/**
|
|
260
|
+
* @ignore
|
|
261
|
+
*/
|
|
262
|
+
MediaSourceType[MediaSourceType["RtcImageGifSource"] = 10] = "RtcImageGifSource";
|
|
263
|
+
/**
|
|
264
|
+
* @ignore
|
|
265
|
+
*/
|
|
266
|
+
MediaSourceType[MediaSourceType["RemoteVideoSource"] = 11] = "RemoteVideoSource";
|
|
267
|
+
/**
|
|
268
|
+
* @ignore
|
|
269
|
+
*/
|
|
270
|
+
MediaSourceType[MediaSourceType["TranscodedVideoSource"] = 12] = "TranscodedVideoSource";
|
|
271
|
+
/**
|
|
272
|
+
* 13: 视频源为语音驱动插件处理后的视频。
|
|
273
|
+
*/
|
|
274
|
+
MediaSourceType[MediaSourceType["SpeechDrivenVideoSource"] = 13] = "SpeechDrivenVideoSource";
|
|
275
|
+
/**
|
|
276
|
+
* 100: 未知媒体源。
|
|
277
|
+
*/
|
|
278
|
+
MediaSourceType[MediaSourceType["UnknownMediaSource"] = 100] = "UnknownMediaSource";
|
|
279
|
+
return MediaSourceType;
|
|
280
|
+
}({});
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @ignore
|
|
284
|
+
*/
|
|
285
|
+
export class PacketOptions {}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @ignore
|
|
289
|
+
*/
|
|
290
|
+
export class AudioEncodedFrameInfo {}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* 外部 PCM 格式音频帧的信息。
|
|
294
|
+
*/
|
|
295
|
+
export class AudioPcmFrame {}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* 声道模式。
|
|
299
|
+
*/
|
|
300
|
+
export let AudioDualMonoMode = /*#__PURE__*/function (AudioDualMonoMode) {
|
|
301
|
+
/**
|
|
302
|
+
* 0: 原始模式。
|
|
303
|
+
*/
|
|
304
|
+
AudioDualMonoMode[AudioDualMonoMode["AudioDualMonoStereo"] = 0] = "AudioDualMonoStereo";
|
|
305
|
+
/**
|
|
306
|
+
* 1: 左声道模式。该模式用左声道的音频替换右声道的音频,即用户只能听到左声道的音频。
|
|
307
|
+
*/
|
|
308
|
+
AudioDualMonoMode[AudioDualMonoMode["AudioDualMonoL"] = 1] = "AudioDualMonoL";
|
|
309
|
+
/**
|
|
310
|
+
* 2: 右声道模式。该模式用右声道的音频替换左声道的音频,即用户只能听到右声道的音频。
|
|
311
|
+
*/
|
|
312
|
+
AudioDualMonoMode[AudioDualMonoMode["AudioDualMonoR"] = 2] = "AudioDualMonoR";
|
|
313
|
+
/**
|
|
314
|
+
* 3: 混合模式。该模式将左右声道的数据叠加,即用户能同时听到左声道和右声道的音频。
|
|
315
|
+
*/
|
|
316
|
+
AudioDualMonoMode[AudioDualMonoMode["AudioDualMonoMix"] = 3] = "AudioDualMonoMix";
|
|
317
|
+
return AudioDualMonoMode;
|
|
318
|
+
}({});
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* 视频像素格式。
|
|
322
|
+
*/
|
|
323
|
+
export let VideoPixelFormat = /*#__PURE__*/function (VideoPixelFormat) {
|
|
324
|
+
/**
|
|
325
|
+
* 0: 原始视频像素格式。
|
|
326
|
+
*/
|
|
327
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelDefault"] = 0] = "VideoPixelDefault";
|
|
328
|
+
/**
|
|
329
|
+
* 1: I420 格式。
|
|
330
|
+
*/
|
|
331
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelI420"] = 1] = "VideoPixelI420";
|
|
332
|
+
/**
|
|
333
|
+
* @ignore
|
|
334
|
+
*/
|
|
335
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelBgra"] = 2] = "VideoPixelBgra";
|
|
336
|
+
/**
|
|
337
|
+
* @ignore
|
|
338
|
+
*/
|
|
339
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelNv21"] = 3] = "VideoPixelNv21";
|
|
340
|
+
/**
|
|
341
|
+
* 4: RGBA 格式。
|
|
342
|
+
*/
|
|
343
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelRgba"] = 4] = "VideoPixelRgba";
|
|
344
|
+
/**
|
|
345
|
+
* @ignore
|
|
346
|
+
*/
|
|
347
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelNv12"] = 8] = "VideoPixelNv12";
|
|
348
|
+
/**
|
|
349
|
+
* @ignore
|
|
350
|
+
*/
|
|
351
|
+
VideoPixelFormat[VideoPixelFormat["VideoTexture2d"] = 10] = "VideoTexture2d";
|
|
352
|
+
/**
|
|
353
|
+
* @ignore
|
|
354
|
+
*/
|
|
355
|
+
VideoPixelFormat[VideoPixelFormat["VideoTextureOes"] = 11] = "VideoTextureOes";
|
|
356
|
+
/**
|
|
357
|
+
* @ignore
|
|
358
|
+
*/
|
|
359
|
+
VideoPixelFormat[VideoPixelFormat["VideoCvpixelNv12"] = 12] = "VideoCvpixelNv12";
|
|
360
|
+
/**
|
|
361
|
+
* @ignore
|
|
362
|
+
*/
|
|
363
|
+
VideoPixelFormat[VideoPixelFormat["VideoCvpixelI420"] = 13] = "VideoCvpixelI420";
|
|
364
|
+
/**
|
|
365
|
+
* @ignore
|
|
366
|
+
*/
|
|
367
|
+
VideoPixelFormat[VideoPixelFormat["VideoCvpixelBgra"] = 14] = "VideoCvpixelBgra";
|
|
368
|
+
/**
|
|
369
|
+
* @ignore
|
|
370
|
+
*/
|
|
371
|
+
VideoPixelFormat[VideoPixelFormat["VideoCvpixelP010"] = 15] = "VideoCvpixelP010";
|
|
372
|
+
/**
|
|
373
|
+
* 16: I422 格式。
|
|
374
|
+
*/
|
|
375
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelI422"] = 16] = "VideoPixelI422";
|
|
376
|
+
/**
|
|
377
|
+
* @ignore
|
|
378
|
+
*/
|
|
379
|
+
VideoPixelFormat[VideoPixelFormat["VideoTextureId3d11texture2d"] = 17] = "VideoTextureId3d11texture2d";
|
|
380
|
+
/**
|
|
381
|
+
* @ignore
|
|
382
|
+
*/
|
|
383
|
+
VideoPixelFormat[VideoPixelFormat["VideoPixelI010"] = 18] = "VideoPixelI010";
|
|
384
|
+
return VideoPixelFormat;
|
|
385
|
+
}({});
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* 视频显示模式。
|
|
389
|
+
*/
|
|
390
|
+
export let RenderModeType = /*#__PURE__*/function (RenderModeType) {
|
|
391
|
+
/**
|
|
392
|
+
* 1: 视频尺寸等比缩放。优先保证视窗被填满。因视频尺寸与显示视窗尺寸不一致而多出的视频将被截掉。
|
|
393
|
+
*/
|
|
394
|
+
RenderModeType[RenderModeType["RenderModeHidden"] = 1] = "RenderModeHidden";
|
|
395
|
+
/**
|
|
396
|
+
* 2: 视频尺寸等比缩放。优先保证视频内容全部显示。因视频尺寸与显示视窗尺寸不一致造成的视窗未被填满的区域填充黑色。
|
|
397
|
+
*/
|
|
398
|
+
RenderModeType[RenderModeType["RenderModeFit"] = 2] = "RenderModeFit";
|
|
399
|
+
/**
|
|
400
|
+
* @ignore
|
|
401
|
+
*/
|
|
402
|
+
RenderModeType[RenderModeType["RenderModeAdaptive"] = 3] = "RenderModeAdaptive";
|
|
403
|
+
return RenderModeType;
|
|
404
|
+
}({});
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @ignore
|
|
408
|
+
*/
|
|
409
|
+
export let CameraVideoSourceType = /*#__PURE__*/function (CameraVideoSourceType) {
|
|
410
|
+
/**
|
|
411
|
+
* @ignore
|
|
412
|
+
*/
|
|
413
|
+
CameraVideoSourceType[CameraVideoSourceType["CameraSourceFront"] = 0] = "CameraSourceFront";
|
|
414
|
+
/**
|
|
415
|
+
* @ignore
|
|
416
|
+
*/
|
|
417
|
+
CameraVideoSourceType[CameraVideoSourceType["CameraSourceBack"] = 1] = "CameraSourceBack";
|
|
418
|
+
/**
|
|
419
|
+
* @ignore
|
|
420
|
+
*/
|
|
421
|
+
CameraVideoSourceType[CameraVideoSourceType["VideoSourceUnspecified"] = 2] = "VideoSourceUnspecified";
|
|
422
|
+
return CameraVideoSourceType;
|
|
423
|
+
}({});
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @ignore
|
|
427
|
+
*/
|
|
428
|
+
export let MetaInfoKey = /*#__PURE__*/function (MetaInfoKey) {
|
|
429
|
+
/**
|
|
430
|
+
* @ignore
|
|
431
|
+
*/
|
|
432
|
+
MetaInfoKey[MetaInfoKey["KeyFaceCapture"] = 0] = "KeyFaceCapture";
|
|
433
|
+
return MetaInfoKey;
|
|
434
|
+
}({});
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @ignore
|
|
438
|
+
*/
|
|
439
|
+
export class IVideoFrameMetaInfo {}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @ignore
|
|
443
|
+
*/
|
|
444
|
+
export let PrimaryID = /*#__PURE__*/function (PrimaryID) {
|
|
445
|
+
/**
|
|
446
|
+
* @ignore
|
|
447
|
+
*/
|
|
448
|
+
PrimaryID[PrimaryID["PrimaryidBt709"] = 1] = "PrimaryidBt709";
|
|
449
|
+
/**
|
|
450
|
+
* @ignore
|
|
451
|
+
*/
|
|
452
|
+
PrimaryID[PrimaryID["PrimaryidUnspecified"] = 2] = "PrimaryidUnspecified";
|
|
453
|
+
/**
|
|
454
|
+
* @ignore
|
|
455
|
+
*/
|
|
456
|
+
PrimaryID[PrimaryID["PrimaryidBt470m"] = 4] = "PrimaryidBt470m";
|
|
457
|
+
/**
|
|
458
|
+
* @ignore
|
|
459
|
+
*/
|
|
460
|
+
PrimaryID[PrimaryID["PrimaryidBt470bg"] = 5] = "PrimaryidBt470bg";
|
|
461
|
+
/**
|
|
462
|
+
* @ignore
|
|
463
|
+
*/
|
|
464
|
+
PrimaryID[PrimaryID["PrimaryidSmpte170m"] = 6] = "PrimaryidSmpte170m";
|
|
465
|
+
/**
|
|
466
|
+
* @ignore
|
|
467
|
+
*/
|
|
468
|
+
PrimaryID[PrimaryID["PrimaryidSmpte240m"] = 7] = "PrimaryidSmpte240m";
|
|
469
|
+
/**
|
|
470
|
+
* @ignore
|
|
471
|
+
*/
|
|
472
|
+
PrimaryID[PrimaryID["PrimaryidFilm"] = 8] = "PrimaryidFilm";
|
|
473
|
+
/**
|
|
474
|
+
* @ignore
|
|
475
|
+
*/
|
|
476
|
+
PrimaryID[PrimaryID["PrimaryidBt2020"] = 9] = "PrimaryidBt2020";
|
|
477
|
+
/**
|
|
478
|
+
* @ignore
|
|
479
|
+
*/
|
|
480
|
+
PrimaryID[PrimaryID["PrimaryidSmptest428"] = 10] = "PrimaryidSmptest428";
|
|
481
|
+
/**
|
|
482
|
+
* @ignore
|
|
483
|
+
*/
|
|
484
|
+
PrimaryID[PrimaryID["PrimaryidSmptest431"] = 11] = "PrimaryidSmptest431";
|
|
485
|
+
/**
|
|
486
|
+
* @ignore
|
|
487
|
+
*/
|
|
488
|
+
PrimaryID[PrimaryID["PrimaryidSmptest432"] = 12] = "PrimaryidSmptest432";
|
|
489
|
+
/**
|
|
490
|
+
* @ignore
|
|
491
|
+
*/
|
|
492
|
+
PrimaryID[PrimaryID["PrimaryidJedecp22"] = 22] = "PrimaryidJedecp22";
|
|
493
|
+
return PrimaryID;
|
|
494
|
+
}({});
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @ignore
|
|
498
|
+
*/
|
|
499
|
+
export let RangeID = /*#__PURE__*/function (RangeID) {
|
|
500
|
+
/**
|
|
501
|
+
* @ignore
|
|
502
|
+
*/
|
|
503
|
+
RangeID[RangeID["RangeidInvalid"] = 0] = "RangeidInvalid";
|
|
504
|
+
/**
|
|
505
|
+
* @ignore
|
|
506
|
+
*/
|
|
507
|
+
RangeID[RangeID["RangeidLimited"] = 1] = "RangeidLimited";
|
|
508
|
+
/**
|
|
509
|
+
* @ignore
|
|
510
|
+
*/
|
|
511
|
+
RangeID[RangeID["RangeidFull"] = 2] = "RangeidFull";
|
|
512
|
+
/**
|
|
513
|
+
* @ignore
|
|
514
|
+
*/
|
|
515
|
+
RangeID[RangeID["RangeidDerived"] = 3] = "RangeidDerived";
|
|
516
|
+
return RangeID;
|
|
517
|
+
}({});
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @ignore
|
|
521
|
+
*/
|
|
522
|
+
export let MatrixID = /*#__PURE__*/function (MatrixID) {
|
|
523
|
+
/**
|
|
524
|
+
* @ignore
|
|
525
|
+
*/
|
|
526
|
+
MatrixID[MatrixID["MatrixidRgb"] = 0] = "MatrixidRgb";
|
|
527
|
+
/**
|
|
528
|
+
* @ignore
|
|
529
|
+
*/
|
|
530
|
+
MatrixID[MatrixID["MatrixidBt709"] = 1] = "MatrixidBt709";
|
|
531
|
+
/**
|
|
532
|
+
* @ignore
|
|
533
|
+
*/
|
|
534
|
+
MatrixID[MatrixID["MatrixidUnspecified"] = 2] = "MatrixidUnspecified";
|
|
535
|
+
/**
|
|
536
|
+
* @ignore
|
|
537
|
+
*/
|
|
538
|
+
MatrixID[MatrixID["MatrixidFcc"] = 4] = "MatrixidFcc";
|
|
539
|
+
/**
|
|
540
|
+
* @ignore
|
|
541
|
+
*/
|
|
542
|
+
MatrixID[MatrixID["MatrixidBt470bg"] = 5] = "MatrixidBt470bg";
|
|
543
|
+
/**
|
|
544
|
+
* @ignore
|
|
545
|
+
*/
|
|
546
|
+
MatrixID[MatrixID["MatrixidSmpte170m"] = 6] = "MatrixidSmpte170m";
|
|
547
|
+
/**
|
|
548
|
+
* @ignore
|
|
549
|
+
*/
|
|
550
|
+
MatrixID[MatrixID["MatrixidSmpte240m"] = 7] = "MatrixidSmpte240m";
|
|
551
|
+
/**
|
|
552
|
+
* @ignore
|
|
553
|
+
*/
|
|
554
|
+
MatrixID[MatrixID["MatrixidYcocg"] = 8] = "MatrixidYcocg";
|
|
555
|
+
/**
|
|
556
|
+
* @ignore
|
|
557
|
+
*/
|
|
558
|
+
MatrixID[MatrixID["MatrixidBt2020Ncl"] = 9] = "MatrixidBt2020Ncl";
|
|
559
|
+
/**
|
|
560
|
+
* @ignore
|
|
561
|
+
*/
|
|
562
|
+
MatrixID[MatrixID["MatrixidBt2020Cl"] = 10] = "MatrixidBt2020Cl";
|
|
563
|
+
/**
|
|
564
|
+
* @ignore
|
|
565
|
+
*/
|
|
566
|
+
MatrixID[MatrixID["MatrixidSmpte2085"] = 11] = "MatrixidSmpte2085";
|
|
567
|
+
/**
|
|
568
|
+
* @ignore
|
|
569
|
+
*/
|
|
570
|
+
MatrixID[MatrixID["MatrixidCdncls"] = 12] = "MatrixidCdncls";
|
|
571
|
+
/**
|
|
572
|
+
* @ignore
|
|
573
|
+
*/
|
|
574
|
+
MatrixID[MatrixID["MatrixidCdcls"] = 13] = "MatrixidCdcls";
|
|
575
|
+
/**
|
|
576
|
+
* @ignore
|
|
577
|
+
*/
|
|
578
|
+
MatrixID[MatrixID["MatrixidBt2100Ictcp"] = 14] = "MatrixidBt2100Ictcp";
|
|
579
|
+
return MatrixID;
|
|
580
|
+
}({});
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @ignore
|
|
584
|
+
*/
|
|
585
|
+
export let TransferID = /*#__PURE__*/function (TransferID) {
|
|
586
|
+
/**
|
|
587
|
+
* @ignore
|
|
588
|
+
*/
|
|
589
|
+
TransferID[TransferID["TransferidBt709"] = 1] = "TransferidBt709";
|
|
590
|
+
/**
|
|
591
|
+
* @ignore
|
|
592
|
+
*/
|
|
593
|
+
TransferID[TransferID["TransferidUnspecified"] = 2] = "TransferidUnspecified";
|
|
594
|
+
/**
|
|
595
|
+
* @ignore
|
|
596
|
+
*/
|
|
597
|
+
TransferID[TransferID["TransferidGamma22"] = 4] = "TransferidGamma22";
|
|
598
|
+
/**
|
|
599
|
+
* @ignore
|
|
600
|
+
*/
|
|
601
|
+
TransferID[TransferID["TransferidGamma28"] = 5] = "TransferidGamma28";
|
|
602
|
+
/**
|
|
603
|
+
* @ignore
|
|
604
|
+
*/
|
|
605
|
+
TransferID[TransferID["TransferidSmpte170m"] = 6] = "TransferidSmpte170m";
|
|
606
|
+
/**
|
|
607
|
+
* @ignore
|
|
608
|
+
*/
|
|
609
|
+
TransferID[TransferID["TransferidSmpte240m"] = 7] = "TransferidSmpte240m";
|
|
610
|
+
/**
|
|
611
|
+
* @ignore
|
|
612
|
+
*/
|
|
613
|
+
TransferID[TransferID["TransferidLinear"] = 8] = "TransferidLinear";
|
|
614
|
+
/**
|
|
615
|
+
* @ignore
|
|
616
|
+
*/
|
|
617
|
+
TransferID[TransferID["TransferidLog"] = 9] = "TransferidLog";
|
|
618
|
+
/**
|
|
619
|
+
* @ignore
|
|
620
|
+
*/
|
|
621
|
+
TransferID[TransferID["TransferidLogSqrt"] = 10] = "TransferidLogSqrt";
|
|
622
|
+
/**
|
|
623
|
+
* @ignore
|
|
624
|
+
*/
|
|
625
|
+
TransferID[TransferID["TransferidIec6196624"] = 11] = "TransferidIec6196624";
|
|
626
|
+
/**
|
|
627
|
+
* @ignore
|
|
628
|
+
*/
|
|
629
|
+
TransferID[TransferID["TransferidBt1361Ecg"] = 12] = "TransferidBt1361Ecg";
|
|
630
|
+
/**
|
|
631
|
+
* @ignore
|
|
632
|
+
*/
|
|
633
|
+
TransferID[TransferID["TransferidIec6196621"] = 13] = "TransferidIec6196621";
|
|
634
|
+
/**
|
|
635
|
+
* @ignore
|
|
636
|
+
*/
|
|
637
|
+
TransferID[TransferID["TransferidBt202010"] = 14] = "TransferidBt202010";
|
|
638
|
+
/**
|
|
639
|
+
* @ignore
|
|
640
|
+
*/
|
|
641
|
+
TransferID[TransferID["TransferidBt202012"] = 15] = "TransferidBt202012";
|
|
642
|
+
/**
|
|
643
|
+
* @ignore
|
|
644
|
+
*/
|
|
645
|
+
TransferID[TransferID["TransferidSmptest2084"] = 16] = "TransferidSmptest2084";
|
|
646
|
+
/**
|
|
647
|
+
* @ignore
|
|
648
|
+
*/
|
|
649
|
+
TransferID[TransferID["TransferidSmptest428"] = 17] = "TransferidSmptest428";
|
|
650
|
+
/**
|
|
651
|
+
* @ignore
|
|
652
|
+
*/
|
|
653
|
+
TransferID[TransferID["TransferidAribStdB67"] = 18] = "TransferidAribStdB67";
|
|
654
|
+
return TransferID;
|
|
655
|
+
}({});
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* @ignore
|
|
659
|
+
*/
|
|
660
|
+
export class ColorSpace {}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @ignore
|
|
664
|
+
*/
|
|
665
|
+
export class Hdr10MetadataInfo {}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* alphaBuffer 和视频帧的相对位置。
|
|
669
|
+
*/
|
|
670
|
+
export let AlphaStitchMode = /*#__PURE__*/function (AlphaStitchMode) {
|
|
671
|
+
/**
|
|
672
|
+
* 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
|
|
673
|
+
*/
|
|
674
|
+
AlphaStitchMode[AlphaStitchMode["NoAlphaStitch"] = 0] = "NoAlphaStitch";
|
|
675
|
+
/**
|
|
676
|
+
* 1: alphaBuffer 位于视频帧的上方。
|
|
677
|
+
*/
|
|
678
|
+
AlphaStitchMode[AlphaStitchMode["AlphaStitchUp"] = 1] = "AlphaStitchUp";
|
|
679
|
+
/**
|
|
680
|
+
* 2: alphaBuffer 位于视频帧的下方。
|
|
681
|
+
*/
|
|
682
|
+
AlphaStitchMode[AlphaStitchMode["AlphaStitchBelow"] = 2] = "AlphaStitchBelow";
|
|
683
|
+
/**
|
|
684
|
+
* 3: alphaBuffer 位于视频帧的左侧。
|
|
685
|
+
*/
|
|
686
|
+
AlphaStitchMode[AlphaStitchMode["AlphaStitchLeft"] = 3] = "AlphaStitchLeft";
|
|
687
|
+
/**
|
|
688
|
+
* 4: alphaBuffer 位于视频帧的右侧。
|
|
689
|
+
*/
|
|
690
|
+
AlphaStitchMode[AlphaStitchMode["AlphaStitchRight"] = 4] = "AlphaStitchRight";
|
|
691
|
+
return AlphaStitchMode;
|
|
692
|
+
}({});
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @ignore
|
|
696
|
+
*/
|
|
697
|
+
export let EglContextType = /*#__PURE__*/function (EglContextType) {
|
|
698
|
+
/**
|
|
699
|
+
* @ignore
|
|
700
|
+
*/
|
|
701
|
+
EglContextType[EglContextType["EglContext10"] = 0] = "EglContext10";
|
|
702
|
+
/**
|
|
703
|
+
* @ignore
|
|
704
|
+
*/
|
|
705
|
+
EglContextType[EglContextType["EglContext14"] = 1] = "EglContext14";
|
|
706
|
+
return EglContextType;
|
|
707
|
+
}({});
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* 视频 buffer 类型。
|
|
711
|
+
*/
|
|
712
|
+
export let VideoBufferType = /*#__PURE__*/function (VideoBufferType) {
|
|
713
|
+
/**
|
|
714
|
+
* 1: 类型为原始数据。
|
|
715
|
+
*/
|
|
716
|
+
VideoBufferType[VideoBufferType["VideoBufferRawData"] = 1] = "VideoBufferRawData";
|
|
717
|
+
/**
|
|
718
|
+
* 2: 类型为原始数据。
|
|
719
|
+
*/
|
|
720
|
+
VideoBufferType[VideoBufferType["VideoBufferArray"] = 2] = "VideoBufferArray";
|
|
721
|
+
/**
|
|
722
|
+
* 3: 类型为 Texture 。
|
|
723
|
+
*/
|
|
724
|
+
VideoBufferType[VideoBufferType["VideoBufferTexture"] = 3] = "VideoBufferTexture";
|
|
725
|
+
return VideoBufferType;
|
|
726
|
+
}({});
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* 外部视频帧。
|
|
730
|
+
*/
|
|
731
|
+
export class ExternalVideoFrame {}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* 视频帧的属性设置。
|
|
735
|
+
*
|
|
736
|
+
* 缓冲区给出的是指向指针的指针,该接口不能修改缓冲区的指针,只能修改缓冲区的内容。
|
|
737
|
+
*/
|
|
738
|
+
export class VideoFrame {}
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @ignore
|
|
742
|
+
*/
|
|
743
|
+
export let MediaPlayerSourceType = /*#__PURE__*/function (MediaPlayerSourceType) {
|
|
744
|
+
/**
|
|
745
|
+
* @ignore
|
|
746
|
+
*/
|
|
747
|
+
MediaPlayerSourceType[MediaPlayerSourceType["MediaPlayerSourceDefault"] = 0] = "MediaPlayerSourceDefault";
|
|
748
|
+
/**
|
|
749
|
+
* @ignore
|
|
750
|
+
*/
|
|
751
|
+
MediaPlayerSourceType[MediaPlayerSourceType["MediaPlayerSourceFullFeatured"] = 1] = "MediaPlayerSourceFullFeatured";
|
|
752
|
+
/**
|
|
753
|
+
* @ignore
|
|
754
|
+
*/
|
|
755
|
+
MediaPlayerSourceType[MediaPlayerSourceType["MediaPlayerSourceSimple"] = 2] = "MediaPlayerSourceSimple";
|
|
756
|
+
return MediaPlayerSourceType;
|
|
757
|
+
}({});
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* 视频观测位置。
|
|
761
|
+
*/
|
|
762
|
+
export let VideoModulePosition = /*#__PURE__*/function (VideoModulePosition) {
|
|
763
|
+
/**
|
|
764
|
+
* 1: 本地采集视频数据并且经过前处理之后的位置,对应 onCaptureVideoFrame 回调。此处观测到的视频具备视频前处理的效果,可通过开启美颜、虚拟背景或水印等方式验证。
|
|
765
|
+
*/
|
|
766
|
+
VideoModulePosition[VideoModulePosition["PositionPostCapturer"] = 1] = "PositionPostCapturer";
|
|
767
|
+
/**
|
|
768
|
+
* 2: 接收远端发送的视频在渲染前的位置,对应 onRenderVideoFrame 回调。
|
|
769
|
+
*/
|
|
770
|
+
VideoModulePosition[VideoModulePosition["PositionPreRenderer"] = 2] = "PositionPreRenderer";
|
|
771
|
+
/**
|
|
772
|
+
* 4: 本地视频编码前的位置,对应 onPreEncodeVideoFrame 回调。此处观测到的视频具备视频前处理和编码前处理的效果:
|
|
773
|
+
* 对于视频前处理效果,可通过开启美颜、虚拟背景或水印等方式验证。
|
|
774
|
+
* 对于编码前处理效果,可通过设置一个较低的帧率(例如 5 fps)验证。
|
|
775
|
+
*/
|
|
776
|
+
VideoModulePosition[VideoModulePosition["PositionPreEncoder"] = 4] = "PositionPreEncoder";
|
|
777
|
+
/**
|
|
778
|
+
* 8: 本地采集视频之后、前处理之前的位置。此处观测到的视频不具备前处理的效果,可通过开启美颜、虚拟背景或设置水印等方式验证。
|
|
779
|
+
*/
|
|
780
|
+
VideoModulePosition[VideoModulePosition["PositionPostCapturerOrigin"] = 8] = "PositionPostCapturerOrigin";
|
|
781
|
+
return VideoModulePosition;
|
|
782
|
+
}({});
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* @ignore
|
|
786
|
+
*/
|
|
787
|
+
export let ContentInspectResult = /*#__PURE__*/function (ContentInspectResult) {
|
|
788
|
+
/**
|
|
789
|
+
* @ignore
|
|
790
|
+
*/
|
|
791
|
+
ContentInspectResult[ContentInspectResult["ContentInspectNeutral"] = 1] = "ContentInspectNeutral";
|
|
792
|
+
/**
|
|
793
|
+
* @ignore
|
|
794
|
+
*/
|
|
795
|
+
ContentInspectResult[ContentInspectResult["ContentInspectSexy"] = 2] = "ContentInspectSexy";
|
|
796
|
+
/**
|
|
797
|
+
* @ignore
|
|
798
|
+
*/
|
|
799
|
+
ContentInspectResult[ContentInspectResult["ContentInspectPorn"] = 3] = "ContentInspectPorn";
|
|
800
|
+
return ContentInspectResult;
|
|
801
|
+
}({});
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* 视频内容审核模块的类型。
|
|
805
|
+
*/
|
|
806
|
+
export let ContentInspectType = /*#__PURE__*/function (ContentInspectType) {
|
|
807
|
+
/**
|
|
808
|
+
* 0:(默认)该功能模块无实际功能。请不要将 type 设为该值。
|
|
809
|
+
*/
|
|
810
|
+
ContentInspectType[ContentInspectType["ContentInspectInvalid"] = 0] = "ContentInspectInvalid";
|
|
811
|
+
/**
|
|
812
|
+
* @ignore
|
|
813
|
+
*/
|
|
814
|
+
ContentInspectType[ContentInspectType["ContentInspectModeration"] = 1] = "ContentInspectModeration";
|
|
815
|
+
/**
|
|
816
|
+
* 2:使用声网自研插件截图上传。SDK 会对视频流进行截图并上传。
|
|
817
|
+
*/
|
|
818
|
+
ContentInspectType[ContentInspectType["ContentInspectSupervision"] = 2] = "ContentInspectSupervision";
|
|
819
|
+
/**
|
|
820
|
+
* 3:使用云市场插件截图上传。SDK 会使用云市场视频审核插件对视频流进行截图并上传。
|
|
821
|
+
*/
|
|
822
|
+
ContentInspectType[ContentInspectType["ContentInspectImageModeration"] = 3] = "ContentInspectImageModeration";
|
|
823
|
+
return ContentInspectType;
|
|
824
|
+
}({});
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* ContentInspectModule 结构体,用于配置本地截图上传的频率。
|
|
828
|
+
*/
|
|
829
|
+
export class ContentInspectModule {}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* 本地截图上传配置。
|
|
833
|
+
*/
|
|
834
|
+
export class ContentInspectConfig {}
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* 视频截图设置。
|
|
838
|
+
*/
|
|
839
|
+
export class SnapshotConfig {}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* 该类用于获取原始的 PCM 音频数据。
|
|
843
|
+
*
|
|
844
|
+
* 你可以继承这个类,实现 onFrame 回调来获得 PCM 音频数据。
|
|
845
|
+
*/
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* 音频帧类型。
|
|
849
|
+
*/
|
|
850
|
+
export let AudioFrameType = /*#__PURE__*/function (AudioFrameType) {
|
|
851
|
+
/**
|
|
852
|
+
* 0: PCM 16
|
|
853
|
+
*/
|
|
854
|
+
AudioFrameType[AudioFrameType["FrameTypePcm16"] = 0] = "FrameTypePcm16";
|
|
855
|
+
return AudioFrameType;
|
|
856
|
+
}({});
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* 原始音频数据。
|
|
860
|
+
*/
|
|
861
|
+
export class AudioFrame {}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* @ignore
|
|
865
|
+
*/
|
|
866
|
+
export let AudioFramePosition = /*#__PURE__*/function (AudioFramePosition) {
|
|
867
|
+
/**
|
|
868
|
+
* @ignore
|
|
869
|
+
*/
|
|
870
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionNone"] = 0] = "AudioFramePositionNone";
|
|
871
|
+
/**
|
|
872
|
+
* @ignore
|
|
873
|
+
*/
|
|
874
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionPlayback"] = 1] = "AudioFramePositionPlayback";
|
|
875
|
+
/**
|
|
876
|
+
* @ignore
|
|
877
|
+
*/
|
|
878
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionRecord"] = 2] = "AudioFramePositionRecord";
|
|
879
|
+
/**
|
|
880
|
+
* @ignore
|
|
881
|
+
*/
|
|
882
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionMixed"] = 4] = "AudioFramePositionMixed";
|
|
883
|
+
/**
|
|
884
|
+
* @ignore
|
|
885
|
+
*/
|
|
886
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionBeforeMixing"] = 8] = "AudioFramePositionBeforeMixing";
|
|
887
|
+
/**
|
|
888
|
+
* @ignore
|
|
889
|
+
*/
|
|
890
|
+
AudioFramePosition[AudioFramePosition["AudioFramePositionEarMonitoring"] = 16] = "AudioFramePositionEarMonitoring";
|
|
891
|
+
return AudioFramePosition;
|
|
892
|
+
}({});
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* 音频数据格式。
|
|
896
|
+
*
|
|
897
|
+
* SDK 会根据 AudioParams 设置以下回调中的音频数据格式: onRecordAudioFrame onPlaybackAudioFrame onMixedAudioFrame
|
|
898
|
+
* SDK 会通过 AudioParams 中的 samplesPerCall 、 sampleRate 和 channel 参数计算采样间隔,并根据该采样间隔触发 onRecordAudioFrame 、 onPlaybackAudioFrame 、 onMixedAudioFrame 和 onEarMonitoringAudioFrame 回调。
|
|
899
|
+
* 采样间隔 = samplesPerCall /(sampleRate × channel)。
|
|
900
|
+
* 请确保采样间隔不得小于 0.01 (s)。
|
|
901
|
+
*/
|
|
902
|
+
export class AudioParams {}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* 音频观测器。
|
|
906
|
+
*
|
|
907
|
+
* 你可以调用 registerAudioFrameObserver 注册或取消注册 IAudioFrameObserverBase 音频观测器。
|
|
908
|
+
*/
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* 音频观测器。
|
|
912
|
+
*
|
|
913
|
+
* 你可以调用 registerAudioFrameObserver 注册或取消注册 IAudioFrameObserver 音频观测器。
|
|
914
|
+
*/
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* 音频频谱数据。
|
|
918
|
+
*/
|
|
919
|
+
export class AudioSpectrumData {}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* 远端用户的音频频谱信息。
|
|
923
|
+
*/
|
|
924
|
+
export class UserAudioSpectrumInfo {}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* 音频频谱观测器。
|
|
928
|
+
*/
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* 用于接收编码后的视频图像的类。
|
|
932
|
+
*/
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* 视频帧处理模式。
|
|
936
|
+
*/
|
|
937
|
+
export let VideoFrameProcessMode = /*#__PURE__*/function (VideoFrameProcessMode) {
|
|
938
|
+
/**
|
|
939
|
+
* 只读模式。
|
|
940
|
+
* 只读模式下,你不修改视频帧,视频观测器相当于渲染器。
|
|
941
|
+
*/
|
|
942
|
+
VideoFrameProcessMode[VideoFrameProcessMode["ProcessModeReadOnly"] = 0] = "ProcessModeReadOnly";
|
|
943
|
+
/**
|
|
944
|
+
* 读写模式。
|
|
945
|
+
* 读写模式下,你会修改视频帧,视频观测器相当于视频 filter。
|
|
946
|
+
*/
|
|
947
|
+
VideoFrameProcessMode[VideoFrameProcessMode["ProcessModeReadWrite"] = 1] = "ProcessModeReadWrite";
|
|
948
|
+
return VideoFrameProcessMode;
|
|
949
|
+
}({});
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* 视频观测器。
|
|
953
|
+
*
|
|
954
|
+
* 你可以调用 registerVideoFrameObserver 注册或取消注册 IVideoFrameObserver 视频观测器。
|
|
955
|
+
*/
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* 外部视频帧编码类型。
|
|
959
|
+
*/
|
|
960
|
+
export let ExternalVideoSourceType = /*#__PURE__*/function (ExternalVideoSourceType) {
|
|
961
|
+
/**
|
|
962
|
+
* 0:未编码视频帧。
|
|
963
|
+
*/
|
|
964
|
+
ExternalVideoSourceType[ExternalVideoSourceType["VideoFrame"] = 0] = "VideoFrame";
|
|
965
|
+
/**
|
|
966
|
+
* 1:已编码视频帧。
|
|
967
|
+
*/
|
|
968
|
+
ExternalVideoSourceType[ExternalVideoSourceType["EncodedVideoFrame"] = 1] = "EncodedVideoFrame";
|
|
969
|
+
return ExternalVideoSourceType;
|
|
970
|
+
}({});
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* 录制文件的格式。
|
|
974
|
+
*/
|
|
975
|
+
export let MediaRecorderContainerFormat = /*#__PURE__*/function (MediaRecorderContainerFormat) {
|
|
976
|
+
/**
|
|
977
|
+
* 1:(默认)MP4。
|
|
978
|
+
*/
|
|
979
|
+
MediaRecorderContainerFormat[MediaRecorderContainerFormat["FormatMp4"] = 1] = "FormatMp4";
|
|
980
|
+
return MediaRecorderContainerFormat;
|
|
981
|
+
}({});
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* 录制内容。
|
|
985
|
+
*/
|
|
986
|
+
export let MediaRecorderStreamType = /*#__PURE__*/function (MediaRecorderStreamType) {
|
|
987
|
+
/**
|
|
988
|
+
* 1: 仅音频。
|
|
989
|
+
*/
|
|
990
|
+
MediaRecorderStreamType[MediaRecorderStreamType["StreamTypeAudio"] = 1] = "StreamTypeAudio";
|
|
991
|
+
/**
|
|
992
|
+
* 2: 仅视频。
|
|
993
|
+
*/
|
|
994
|
+
MediaRecorderStreamType[MediaRecorderStreamType["StreamTypeVideo"] = 2] = "StreamTypeVideo";
|
|
995
|
+
/**
|
|
996
|
+
* 3: (默认)音视频。
|
|
997
|
+
*/
|
|
998
|
+
MediaRecorderStreamType[MediaRecorderStreamType["StreamTypeBoth"] = 3] = "StreamTypeBoth";
|
|
999
|
+
return MediaRecorderStreamType;
|
|
1000
|
+
}({});
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* 当前的录制状态。
|
|
1004
|
+
*/
|
|
1005
|
+
export let RecorderState = /*#__PURE__*/function (RecorderState) {
|
|
1006
|
+
/**
|
|
1007
|
+
* -1: 音视频流录制出错,错误原因详见 RecorderReasonCode 。
|
|
1008
|
+
*/
|
|
1009
|
+
RecorderState[RecorderState["RecorderStateError"] = -1] = "RecorderStateError";
|
|
1010
|
+
/**
|
|
1011
|
+
* 2: 音视频流录制开始。
|
|
1012
|
+
*/
|
|
1013
|
+
RecorderState[RecorderState["RecorderStateStart"] = 2] = "RecorderStateStart";
|
|
1014
|
+
/**
|
|
1015
|
+
* 3: 音视频流录制停止。
|
|
1016
|
+
*/
|
|
1017
|
+
RecorderState[RecorderState["RecorderStateStop"] = 3] = "RecorderStateStop";
|
|
1018
|
+
return RecorderState;
|
|
1019
|
+
}({});
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* 录制状态出错的原因。
|
|
1023
|
+
*/
|
|
1024
|
+
export let RecorderReasonCode = /*#__PURE__*/function (RecorderReasonCode) {
|
|
1025
|
+
/**
|
|
1026
|
+
* 0: 一切正常。
|
|
1027
|
+
*/
|
|
1028
|
+
RecorderReasonCode[RecorderReasonCode["RecorderReasonNone"] = 0] = "RecorderReasonNone";
|
|
1029
|
+
/**
|
|
1030
|
+
* @ignore
|
|
1031
|
+
*/
|
|
1032
|
+
RecorderReasonCode[RecorderReasonCode["RecorderReasonWriteFailed"] = 1] = "RecorderReasonWriteFailed";
|
|
1033
|
+
/**
|
|
1034
|
+
* @ignore
|
|
1035
|
+
*/
|
|
1036
|
+
RecorderReasonCode[RecorderReasonCode["RecorderReasonNoStream"] = 2] = "RecorderReasonNoStream";
|
|
1037
|
+
/**
|
|
1038
|
+
* @ignore
|
|
1039
|
+
*/
|
|
1040
|
+
RecorderReasonCode[RecorderReasonCode["RecorderReasonOverMaxDuration"] = 3] = "RecorderReasonOverMaxDuration";
|
|
1041
|
+
/**
|
|
1042
|
+
* @ignore
|
|
1043
|
+
*/
|
|
1044
|
+
RecorderReasonCode[RecorderReasonCode["RecorderReasonConfigChanged"] = 4] = "RecorderReasonConfigChanged";
|
|
1045
|
+
return RecorderReasonCode;
|
|
1046
|
+
}({});
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* 音视频流录制配置。
|
|
1050
|
+
*/
|
|
1051
|
+
export class MediaRecorderConfiguration {}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* 人脸信息观测器。
|
|
1055
|
+
*
|
|
1056
|
+
* 你可以调用 registerFaceInfoObserver 注册 IFaceInfoObserver 观测器。
|
|
1057
|
+
*/
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 录制文件信息。
|
|
1061
|
+
*/
|
|
1062
|
+
export class RecorderInfo {}
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* 包含音视频录制的事件。
|
|
1066
|
+
*/
|
|
1067
|
+
//# sourceMappingURL=AgoraMediaBase.js.map
|