agora-electron-sdk 4.5.2 → 4.5.3-dev.1
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 +37 -0
- package/README.md +6 -3
- package/js/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.js +308 -0
- package/js/{AgoraSdk.js → ts/AgoraSdk.js} +2 -12
- package/js/{Decoder → ts/Decoder}/index.js +1 -1
- package/js/{Private → ts/Private}/AgoraBase.js +829 -674
- package/js/{Private → ts/Private}/AgoraMediaBase.js +154 -151
- package/js/{Private → ts/Private}/AgoraMediaPlayerTypes.js +58 -54
- package/js/{Private → ts/Private}/IAgoraLog.js +13 -13
- package/js/{Private → ts/Private}/IAgoraMediaEngine.js +4 -4
- package/js/{Private → ts/Private}/IAgoraMediaPlayer.js +2 -2
- package/js/{Private → ts/Private}/IAgoraMusicContentCenter.js +1 -1
- package/js/{Private → ts/Private}/IAgoraRhythmPlayer.js +13 -13
- package/js/{Private → ts/Private}/IAgoraRtcEngine.js +150 -94
- package/js/{Private → ts/Private}/IAgoraRtcEngineEx.js +3 -3
- package/js/{Private → ts/Private}/IAgoraSpatialAudio.js +4 -4
- package/js/{Private → ts/Private}/IAudioDeviceManager.js +2 -2
- package/js/{Private → ts/Private}/impl/IAgoraMediaPlayerImpl.js +10 -0
- package/js/{Private → ts/Private}/impl/IAgoraRtcEngineExImpl.js +74 -0
- package/js/{Private → ts/Private}/impl/IAgoraRtcEngineImpl.js +233 -1
- package/js/{Private → ts/Private}/internal/IrisApiEngine.js +45 -0
- package/js/{Private → ts/Private}/internal/RtcEngineExInternal.js +74 -4
- package/js/ts/Private/internal/VideoEffectObjectInternal.js +14 -0
- package/js/{Private → ts/Private}/ti/IAgoraRtcEngine-ti.js +2 -0
- package/js/{Renderer → ts/Renderer}/AgoraView.js +19 -2
- package/js/{Renderer → ts/Renderer}/IRenderer.js +7 -4
- package/js/{Renderer → ts/Renderer}/IRendererCache.js +17 -1
- package/js/ts/Renderer/RendererCache.js +252 -0
- package/js/{Renderer → ts/Renderer}/RendererManager.js +13 -64
- package/js/{Renderer → ts/Renderer}/WebCodecsRenderer/index.js +5 -5
- package/js/{Renderer → ts/Renderer}/WebCodecsRendererCache.js +13 -1
- package/js/{Renderer → ts/Renderer}/WebGLRenderer/index.js +179 -26
- package/js/{Renderer → ts/Renderer}/YUVCanvasRenderer/index.js +12 -5
- package/js/{Utils.js → ts/Utils.js} +7 -7
- package/package.json +25 -12
- package/scripts/checkElectron.js +4 -2
- package/scripts/download.js +102 -0
- package/scripts/downloadPrebuild.js +2 -1
- package/scripts/synclib.js +2 -2
- package/ts/AgoraSdk.ts +2 -12
- package/ts/Decoder/index.ts +5 -1
- package/ts/Private/AgoraBase.ts +1259 -1060
- package/ts/Private/AgoraMediaBase.ts +351 -324
- package/ts/Private/AgoraMediaPlayerTypes.ts +94 -91
- package/ts/Private/IAgoraLog.ts +20 -18
- package/ts/Private/IAgoraMediaEngine.ts +86 -81
- package/ts/Private/IAgoraMediaPlayer.ts +196 -181
- package/ts/Private/IAgoraMediaPlayerSource.ts +40 -40
- package/ts/Private/IAgoraMusicContentCenter.ts +3 -3
- package/ts/Private/IAgoraRhythmPlayer.ts +15 -15
- package/ts/Private/IAgoraRtcEngine.ts +2492 -2047
- package/ts/Private/IAgoraRtcEngineEx.ts +434 -335
- package/ts/Private/IAgoraSpatialAudio.ts +43 -45
- package/ts/Private/IAudioDeviceManager.ts +106 -97
- package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +12 -0
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +138 -0
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +331 -0
- package/ts/Private/internal/IrisApiEngine.ts +47 -0
- package/ts/Private/internal/RtcEngineExInternal.ts +106 -9
- package/ts/Private/internal/VideoEffectObjectInternal.ts +14 -0
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +2 -0
- package/ts/Renderer/AgoraView.ts +32 -3
- package/ts/Renderer/IRenderer.ts +8 -3
- package/ts/Renderer/IRendererCache.ts +33 -0
- package/ts/Renderer/RendererCache.ts +211 -12
- package/ts/Renderer/RendererManager.ts +21 -99
- package/ts/Renderer/WebCodecsRenderer/index.ts +9 -6
- package/ts/Renderer/WebCodecsRendererCache.ts +17 -1
- package/ts/Renderer/WebGLRenderer/index.ts +246 -40
- package/ts/Renderer/YUVCanvasRenderer/index.ts +29 -16
- package/ts/Types.ts +14 -9
- package/ts/Utils.ts +8 -7
- package/types/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.d.ts +130 -0
- package/types/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.d.ts.map +1 -0
- package/types/{AgoraSdk.d.ts → ts/AgoraSdk.d.ts} +2 -12
- package/types/ts/AgoraSdk.d.ts.map +1 -0
- package/types/ts/Decoder/gpu-utils.d.ts.map +1 -0
- package/types/ts/Decoder/index.d.ts.map +1 -0
- package/types/ts/Private/AgoraBase.d.ts +5504 -0
- package/types/ts/Private/AgoraBase.d.ts.map +1 -0
- package/types/ts/Private/AgoraMediaBase.d.ts +1695 -0
- package/types/ts/Private/AgoraMediaBase.d.ts.map +1 -0
- package/types/ts/Private/AgoraMediaPlayerTypes.d.ts +456 -0
- package/types/ts/Private/AgoraMediaPlayerTypes.d.ts.map +1 -0
- package/types/ts/Private/IAgoraH265Transcoder.d.ts.map +1 -0
- package/types/ts/Private/IAgoraLog.d.ts +91 -0
- package/types/ts/Private/IAgoraLog.d.ts.map +1 -0
- package/types/ts/Private/IAgoraMediaEngine.d.ts +255 -0
- package/types/ts/Private/IAgoraMediaEngine.d.ts.map +1 -0
- package/types/ts/Private/IAgoraMediaPlayer.d.ts +662 -0
- package/types/ts/Private/IAgoraMediaPlayer.d.ts.map +1 -0
- package/types/ts/Private/IAgoraMediaPlayerSource.d.ts +109 -0
- package/types/ts/Private/IAgoraMediaPlayerSource.d.ts.map +1 -0
- package/types/ts/Private/IAgoraMediaRecorder.d.ts.map +1 -0
- package/types/ts/Private/IAgoraMediaStreamingSource.d.ts.map +1 -0
- package/types/{Private → ts/Private}/IAgoraMusicContentCenter.d.ts +3 -3
- package/types/ts/Private/IAgoraMusicContentCenter.d.ts.map +1 -0
- package/types/ts/Private/IAgoraRhythmPlayer.d.ts +65 -0
- package/types/ts/Private/IAgoraRhythmPlayer.d.ts.map +1 -0
- package/types/ts/Private/IAgoraRtcEngine.d.ts +6504 -0
- package/types/ts/Private/IAgoraRtcEngine.d.ts.map +1 -0
- package/types/ts/Private/IAgoraRtcEngineEx.d.ts +817 -0
- package/types/ts/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
- package/types/ts/Private/IAgoraSpatialAudio.d.ts +194 -0
- package/types/ts/Private/IAgoraSpatialAudio.d.ts.map +1 -0
- package/types/ts/Private/IAudioDeviceManager.d.ts +321 -0
- package/types/ts/Private/IAudioDeviceManager.d.ts.map +1 -0
- package/types/ts/Private/extension/AgoraBaseExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraLogExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
- package/types/ts/Private/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
- package/types/ts/Private/impl/AgoraBaseImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
- package/types/{Private → ts/Private}/impl/IAgoraMediaPlayerImpl.d.ts +2 -0
- package/types/ts/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
- package/types/{Private → ts/Private}/impl/IAgoraRtcEngineExImpl.d.ts +7 -1
- package/types/ts/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
- package/types/{Private → ts/Private}/impl/IAgoraRtcEngineImpl.d.ts +27 -1
- package/types/ts/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
- package/types/ts/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
- package/types/ts/Private/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/IrisApiEngine.d.ts.map +1 -0
- package/types/ts/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/MediaEngineInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/MediaPlayerInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/MediaRecorderInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/MusicContentCenterInternal.d.ts.map +1 -0
- package/types/{Private → ts/Private}/internal/RtcEngineExInternal.d.ts +10 -4
- package/types/ts/Private/internal/RtcEngineExInternal.d.ts.map +1 -0
- package/types/ts/Private/internal/VideoEffectObjectInternal.d.ts +7 -0
- package/types/ts/Private/internal/VideoEffectObjectInternal.d.ts.map +1 -0
- package/types/{Private → ts/Private}/ipc/main.d.ts.map +1 -1
- package/types/ts/Private/ipc/renderer.d.ts.map +1 -0
- package/types/ts/Private/ti/AgoraBase-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraLog-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
- package/types/ts/Private/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/AgoraView.d.ts +6 -0
- package/types/ts/Renderer/AgoraView.d.ts.map +1 -0
- package/types/ts/Renderer/CapabilityManager.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/IRenderer.d.ts +2 -2
- package/types/ts/Renderer/IRenderer.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/IRendererCache.d.ts +21 -1
- package/types/ts/Renderer/IRendererCache.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/RendererCache.d.ts +27 -0
- package/types/ts/Renderer/RendererCache.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/RendererManager.d.ts +4 -17
- package/types/ts/Renderer/RendererManager.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/WebCodecsRenderer/index.d.ts +3 -3
- package/types/ts/Renderer/WebCodecsRenderer/index.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/WebCodecsRendererCache.d.ts +7 -0
- package/types/ts/Renderer/WebCodecsRendererCache.d.ts.map +1 -0
- package/types/{Renderer → ts/Renderer}/WebGLRenderer/index.d.ts +12 -2
- package/types/ts/Renderer/WebGLRenderer/index.d.ts.map +1 -0
- package/types/ts/Renderer/WebGLRenderer/webgl-utils.d.ts.map +1 -0
- package/types/ts/Renderer/YUVCanvasRenderer/index.d.ts +10 -0
- package/types/ts/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -0
- package/types/ts/Renderer/index.d.ts.map +1 -0
- package/types/{Types.d.ts → ts/Types.d.ts} +11 -6
- package/types/ts/Types.d.ts.map +1 -0
- package/types/{Utils.d.ts → ts/Utils.d.ts} +1 -1
- package/types/ts/Utils.d.ts.map +1 -0
- package/js/Renderer/RendererCache.js +0 -100
- package/types/AgoraSdk.d.ts.map +0 -1
- package/types/Decoder/gpu-utils.d.ts.map +0 -1
- package/types/Decoder/index.d.ts.map +0 -1
- package/types/Private/AgoraBase.d.ts +0 -5310
- package/types/Private/AgoraBase.d.ts.map +0 -1
- package/types/Private/AgoraMediaBase.d.ts +0 -1668
- package/types/Private/AgoraMediaBase.d.ts.map +0 -1
- package/types/Private/AgoraMediaPlayerTypes.d.ts +0 -453
- package/types/Private/AgoraMediaPlayerTypes.d.ts.map +0 -1
- package/types/Private/IAgoraH265Transcoder.d.ts.map +0 -1
- package/types/Private/IAgoraLog.d.ts +0 -89
- package/types/Private/IAgoraLog.d.ts.map +0 -1
- package/types/Private/IAgoraMediaEngine.d.ts +0 -250
- package/types/Private/IAgoraMediaEngine.d.ts.map +0 -1
- package/types/Private/IAgoraMediaPlayer.d.ts +0 -648
- package/types/Private/IAgoraMediaPlayer.d.ts.map +0 -1
- package/types/Private/IAgoraMediaPlayerSource.d.ts +0 -109
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +0 -1
- package/types/Private/IAgoraMediaRecorder.d.ts.map +0 -1
- package/types/Private/IAgoraMediaStreamingSource.d.ts.map +0 -1
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +0 -1
- package/types/Private/IAgoraRhythmPlayer.d.ts +0 -65
- package/types/Private/IAgoraRhythmPlayer.d.ts.map +0 -1
- package/types/Private/IAgoraRtcEngine.d.ts +0 -6103
- package/types/Private/IAgoraRtcEngine.d.ts.map +0 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +0 -741
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +0 -1
- package/types/Private/IAgoraSpatialAudio.d.ts +0 -196
- package/types/Private/IAgoraSpatialAudio.d.ts.map +0 -1
- package/types/Private/IAudioDeviceManager.d.ts +0 -312
- package/types/Private/IAudioDeviceManager.d.ts.map +0 -1
- package/types/Private/extension/AgoraBaseExtension.d.ts.map +0 -1
- package/types/Private/extension/AgoraMediaBaseExtension.d.ts.map +0 -1
- package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraLogExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +0 -1
- package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +0 -1
- package/types/Private/extension/IAudioDeviceManagerExtension.d.ts.map +0 -1
- package/types/Private/impl/AgoraBaseImpl.d.ts.map +0 -1
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +0 -1
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +0 -1
- package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +0 -1
- package/types/Private/internal/AgoraH265TranscoderInternal.d.ts.map +0 -1
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +0 -1
- package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +0 -1
- package/types/Private/internal/IrisApiEngine.d.ts.map +0 -1
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +0 -1
- package/types/Private/internal/MediaEngineInternal.d.ts.map +0 -1
- package/types/Private/internal/MediaPlayerInternal.d.ts.map +0 -1
- package/types/Private/internal/MediaRecorderInternal.d.ts.map +0 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts.map +0 -1
- package/types/Private/internal/RtcEngineExInternal.d.ts.map +0 -1
- package/types/Private/ipc/renderer.d.ts.map +0 -1
- package/types/Private/ti/AgoraBase-ti.d.ts.map +0 -1
- package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +0 -1
- package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraLog-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMediaEngine-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +0 -1
- package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +0 -1
- package/types/Private/ti/IAudioDeviceManager-ti.d.ts.map +0 -1
- package/types/Renderer/AgoraView.d.ts.map +0 -1
- package/types/Renderer/CapabilityManager.d.ts.map +0 -1
- package/types/Renderer/IRenderer.d.ts.map +0 -1
- package/types/Renderer/IRendererCache.d.ts.map +0 -1
- package/types/Renderer/RendererCache.d.ts.map +0 -1
- package/types/Renderer/RendererManager.d.ts.map +0 -1
- package/types/Renderer/WebCodecsRenderer/index.d.ts.map +0 -1
- package/types/Renderer/WebCodecsRendererCache.d.ts.map +0 -1
- package/types/Renderer/WebGLRenderer/index.d.ts.map +0 -1
- package/types/Renderer/WebGLRenderer/webgl-utils.d.ts.map +0 -1
- package/types/Renderer/YUVCanvasRenderer/index.d.ts +0 -9
- package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +0 -1
- package/types/Renderer/index.d.ts.map +0 -1
- package/types/Types.d.ts.map +0 -1
- package/types/Utils.d.ts.map +0 -1
- /package/js/{Decoder → ts/Decoder}/gpu-utils.js +0 -0
- /package/js/{Private → ts/Private}/IAgoraH265Transcoder.js +0 -0
- /package/js/{Private → ts/Private}/IAgoraMediaPlayerSource.js +0 -0
- /package/js/{Private → ts/Private}/IAgoraMediaRecorder.js +0 -0
- /package/js/{Private → ts/Private}/IAgoraMediaStreamingSource.js +0 -0
- /package/js/{Private → ts/Private}/extension/AgoraBaseExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/AgoraMediaBaseExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/AgoraMediaPlayerTypesExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraH265TranscoderExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraLogExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraMediaEngineExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraMediaPlayerExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraMediaPlayerSourceExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraMediaRecorderExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraMusicContentCenterExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraRhythmPlayerExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraRtcEngineExExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraRtcEngineExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAgoraSpatialAudioExtension.js +0 -0
- /package/js/{Private → ts/Private}/extension/IAudioDeviceManagerExtension.js +0 -0
- /package/js/{Private → ts/Private}/impl/AgoraBaseImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/AgoraMediaBaseImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraH265TranscoderImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraMediaEngineImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraMediaPlayerSourceImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraMediaRecorderImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraMusicContentCenterImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAgoraSpatialAudioImpl.js +0 -0
- /package/js/{Private → ts/Private}/impl/IAudioDeviceManagerImpl.js +0 -0
- /package/js/{Private → ts/Private}/internal/AgoraH265TranscoderInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/AgoraMediaBaseInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/AudioDeviceManagerInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/LocalSpatialAudioEngineInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/MediaEngineInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/MediaPlayerInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/MediaRecorderInternal.js +0 -0
- /package/js/{Private → ts/Private}/internal/MusicContentCenterInternal.js +0 -0
- /package/js/{Private → ts/Private}/ipc/main.js +0 -0
- /package/js/{Private → ts/Private}/ipc/renderer.js +0 -0
- /package/js/{Private → ts/Private}/ti/AgoraBase-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/AgoraMediaBase-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/AgoraMediaPlayerTypes-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraH265Transcoder-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraLog-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMediaEngine-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMediaPlayer-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMediaPlayerSource-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMediaRecorder-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMediaStreamingSource-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraMusicContentCenter-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraRhythmPlayer-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraRtcEngineEx-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAgoraSpatialAudio-ti.js +0 -0
- /package/js/{Private → ts/Private}/ti/IAudioDeviceManager-ti.js +0 -0
- /package/js/{Renderer → ts/Renderer}/CapabilityManager.js +0 -0
- /package/js/{Renderer → ts/Renderer}/WebGLRenderer/webgl-utils.js +0 -0
- /package/js/{Renderer → ts/Renderer}/index.js +0 -0
- /package/js/{Types.js → ts/Types.js} +0 -0
- /package/types/{Decoder → ts/Decoder}/gpu-utils.d.ts +0 -0
- /package/types/{Decoder → ts/Decoder}/index.d.ts +0 -0
- /package/types/{Private → ts/Private}/IAgoraH265Transcoder.d.ts +0 -0
- /package/types/{Private → ts/Private}/IAgoraMediaRecorder.d.ts +0 -0
- /package/types/{Private → ts/Private}/IAgoraMediaStreamingSource.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/AgoraBaseExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/AgoraMediaBaseExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/AgoraMediaPlayerTypesExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraH265TranscoderExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraLogExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraMediaEngineExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraMediaPlayerExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraMediaPlayerSourceExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraMediaRecorderExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraMusicContentCenterExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraRhythmPlayerExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraRtcEngineExExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraRtcEngineExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAgoraSpatialAudioExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/extension/IAudioDeviceManagerExtension.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/AgoraBaseImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/AgoraMediaBaseImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraH265TranscoderImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraMediaEngineImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraMediaPlayerSourceImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraMediaRecorderImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraMusicContentCenterImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAgoraSpatialAudioImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/impl/IAudioDeviceManagerImpl.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/AgoraH265TranscoderInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/AgoraMediaBaseInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/AudioDeviceManagerInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/IrisApiEngine.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/LocalSpatialAudioEngineInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/MediaEngineInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/MediaPlayerInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/MediaRecorderInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/internal/MusicContentCenterInternal.d.ts +0 -0
- /package/types/{Private → ts/Private}/ipc/main.d.ts +0 -0
- /package/types/{Private → ts/Private}/ipc/renderer.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/AgoraBase-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/AgoraMediaBase-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/AgoraMediaPlayerTypes-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraH265Transcoder-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraLog-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMediaEngine-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMediaPlayer-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMediaPlayerSource-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMediaRecorder-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMediaStreamingSource-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraMusicContentCenter-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraRhythmPlayer-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraRtcEngine-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraRtcEngineEx-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAgoraSpatialAudio-ti.d.ts +0 -0
- /package/types/{Private → ts/Private}/ti/IAudioDeviceManager-ti.d.ts +0 -0
- /package/types/{Renderer → ts/Renderer}/CapabilityManager.d.ts +0 -0
- /package/types/{Renderer → ts/Renderer}/WebGLRenderer/webgl-utils.d.ts +0 -0
- /package/types/{Renderer → ts/Renderer}/index.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AudioDeviceInfo = exports.VideoDeviceInfo = exports.SDKBuildInfo = exports.VideoProfileType = exports.MediaDeviceStateType = exports.QualityReportFormatType = exports.IRtcEngine = exports.ExtensionInfo = exports.DirectCdnStreamingMediaOptions = exports.DirectCdnStreamingStats = exports.DirectCdnStreamingState = exports.DirectCdnStreamingReason = exports.Metadata = exports.MaxMetadataSizeType = exports.MetadataType = exports.RtcEngineContext = exports.IVideoDeviceManager = exports.LeaveChannelOptions = exports.FeatureType = exports.ProxyType = exports.ChannelMediaOptions = exports.ImageTrackOptions = exports.AdvancedAudioOptions = exports.ScreenCaptureSourceInfo = exports.ScreenCaptureSourceType = exports.ThumbImageBuffer = exports.Size = exports.ScreenCaptureConfiguration = exports.CameraCapturerConfiguration = exports.CloudProxyType = exports.CameraDirection = exports.PublisherConfiguration = exports.RtmpStreamLifeCycleType = exports.InjectStreamConfig = exports.VideoCompositingLayout = exports.Region = exports.RemoteVideoStats = exports.RemoteAudioStats = exports.LocalVideoStats = exports.PriorityType = exports.StreamFallbackOptions = exports.AudioReverbType = exports.AudioEqualizationBandFrequency = exports.InjectStreamStatus = exports.AudioMixingReasonType = exports.AudioMixingStateType = exports.MediaDeviceType = void 0;
|
|
3
|
+
exports.AudioDeviceInfo = exports.VideoDeviceInfo = exports.SDKBuildInfo = exports.VideoProfileType = exports.MediaDeviceStateType = exports.QualityReportFormatType = exports.IRtcEngine = exports.ExtensionInfo = exports.DirectCdnStreamingMediaOptions = exports.DirectCdnStreamingStats = exports.DirectCdnStreamingState = exports.DirectCdnStreamingReason = exports.Metadata = exports.MaxMetadataSizeType = exports.MetadataType = exports.RtcEngineContext = exports.IVideoEffectObject = exports.VideoEffectAction = exports.VideoEffectNodeId = exports.IVideoDeviceManager = exports.LeaveChannelOptions = exports.FeatureType = exports.ProxyType = exports.ChannelMediaOptions = exports.ImageTrackOptions = exports.AdvancedAudioOptions = exports.ScreenCaptureSourceInfo = exports.ScreenCaptureSourceType = exports.ThumbImageBuffer = exports.Size = exports.ScreenCaptureConfiguration = exports.CameraCapturerConfiguration = exports.CloudProxyType = exports.CameraDirection = exports.PublisherConfiguration = exports.RtmpStreamLifeCycleType = exports.InjectStreamConfig = exports.VideoCompositingLayout = exports.Region = exports.RemoteVideoStats = exports.RemoteAudioStats = exports.LocalVideoStats = exports.PriorityType = exports.StreamFallbackOptions = exports.AudioReverbType = exports.AudioEqualizationBandFrequency = exports.InjectStreamStatus = exports.AudioMixingReasonType = exports.AudioMixingStateType = exports.MediaDeviceType = void 0;
|
|
4
4
|
require("./extension/IAgoraRtcEngineExtension");
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Device type.
|
|
7
7
|
*/
|
|
8
8
|
var MediaDeviceType;
|
|
9
9
|
(function (MediaDeviceType) {
|
|
@@ -16,79 +16,86 @@ var MediaDeviceType;
|
|
|
16
16
|
*/
|
|
17
17
|
MediaDeviceType[MediaDeviceType["AudioPlayoutDevice"] = 0] = "AudioPlayoutDevice";
|
|
18
18
|
/**
|
|
19
|
-
* 1: Audio
|
|
19
|
+
* 1: Audio recording device.
|
|
20
20
|
*/
|
|
21
21
|
MediaDeviceType[MediaDeviceType["AudioRecordingDevice"] = 1] = "AudioRecordingDevice";
|
|
22
22
|
/**
|
|
23
|
-
* 2: Video rendering device (
|
|
23
|
+
* 2: Video rendering device (GPU).
|
|
24
24
|
*/
|
|
25
25
|
MediaDeviceType[MediaDeviceType["VideoRenderDevice"] = 2] = "VideoRenderDevice";
|
|
26
26
|
/**
|
|
27
|
-
* 3: Video
|
|
27
|
+
* 3: Video capture device.
|
|
28
28
|
*/
|
|
29
29
|
MediaDeviceType[MediaDeviceType["VideoCaptureDevice"] = 3] = "VideoCaptureDevice";
|
|
30
30
|
/**
|
|
31
|
-
* 4: Audio playback device
|
|
31
|
+
* 4: Audio application playback device.
|
|
32
32
|
*/
|
|
33
33
|
MediaDeviceType[MediaDeviceType["AudioApplicationPlayoutDevice"] = 4] = "AudioApplicationPlayoutDevice";
|
|
34
34
|
/**
|
|
35
|
-
* (
|
|
35
|
+
* (macOS only) 5: Virtual audio playback device (virtual sound card).
|
|
36
36
|
*/
|
|
37
37
|
MediaDeviceType[MediaDeviceType["AudioVirtualPlayoutDevice"] = 5] = "AudioVirtualPlayoutDevice";
|
|
38
38
|
/**
|
|
39
|
-
* (
|
|
39
|
+
* (macOS only) 6: Virtual audio recording device (virtual sound card).
|
|
40
40
|
*/
|
|
41
41
|
MediaDeviceType[MediaDeviceType["AudioVirtualRecordingDevice"] = 6] = "AudioVirtualRecordingDevice";
|
|
42
42
|
})(MediaDeviceType = exports.MediaDeviceType || (exports.MediaDeviceType = {}));
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Music file playback state.
|
|
45
45
|
*/
|
|
46
46
|
var AudioMixingStateType;
|
|
47
47
|
(function (AudioMixingStateType) {
|
|
48
48
|
/**
|
|
49
|
-
* 710:
|
|
49
|
+
* 710: Music file is playing normally.
|
|
50
50
|
*/
|
|
51
51
|
AudioMixingStateType[AudioMixingStateType["AudioMixingStatePlaying"] = 710] = "AudioMixingStatePlaying";
|
|
52
52
|
/**
|
|
53
|
-
* 711:
|
|
53
|
+
* 711: Music file playback is paused.
|
|
54
54
|
*/
|
|
55
55
|
AudioMixingStateType[AudioMixingStateType["AudioMixingStatePaused"] = 711] = "AudioMixingStatePaused";
|
|
56
56
|
/**
|
|
57
|
-
* 713:
|
|
57
|
+
* 713: Music file playback is stopped.
|
|
58
|
+
* This state may be caused by the following reasons:
|
|
59
|
+
* AudioMixingReasonAllLoopsCompleted(723)
|
|
60
|
+
* AudioMixingReasonStoppedByUser(724)
|
|
58
61
|
*/
|
|
59
62
|
AudioMixingStateType[AudioMixingStateType["AudioMixingStateStopped"] = 713] = "AudioMixingStateStopped";
|
|
60
63
|
/**
|
|
61
|
-
* 714:
|
|
64
|
+
* 714: Error occurred during music file playback.
|
|
65
|
+
* This state may be caused by the following reasons:
|
|
66
|
+
* AudioMixingReasonCanNotOpen(701)
|
|
67
|
+
* AudioMixingReasonTooFrequentCall(702)
|
|
68
|
+
* AudioMixingReasonInterruptedEof(703)
|
|
62
69
|
*/
|
|
63
70
|
AudioMixingStateType[AudioMixingStateType["AudioMixingStateFailed"] = 714] = "AudioMixingStateFailed";
|
|
64
71
|
})(AudioMixingStateType = exports.AudioMixingStateType || (exports.AudioMixingStateType = {}));
|
|
65
72
|
/**
|
|
66
|
-
*
|
|
73
|
+
* Reason for music file playback state change. Reported in the onAudioMixingStateChanged callback.
|
|
67
74
|
*/
|
|
68
75
|
var AudioMixingReasonType;
|
|
69
76
|
(function (AudioMixingReasonType) {
|
|
70
77
|
/**
|
|
71
|
-
* 701:
|
|
78
|
+
* 701: Failed to open the music file. For example, the local music file does not exist, the file format is not supported, or the online music file URL is not accessible.
|
|
72
79
|
*/
|
|
73
80
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonCanNotOpen"] = 701] = "AudioMixingReasonCanNotOpen";
|
|
74
81
|
/**
|
|
75
|
-
* 702:
|
|
82
|
+
* 702: Music file opened too frequently. If you need to call startAudioMixing multiple times, make sure the interval between calls is greater than 500 ms.
|
|
76
83
|
*/
|
|
77
84
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonTooFrequentCall"] = 702] = "AudioMixingReasonTooFrequentCall";
|
|
78
85
|
/**
|
|
79
|
-
* 703:
|
|
86
|
+
* 703: Music file playback was interrupted.
|
|
80
87
|
*/
|
|
81
88
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonInterruptedEof"] = 703] = "AudioMixingReasonInterruptedEof";
|
|
82
89
|
/**
|
|
83
|
-
* 721:
|
|
90
|
+
* 721: One loop of the music file playback completed.
|
|
84
91
|
*/
|
|
85
92
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOneLoopCompleted"] = 721] = "AudioMixingReasonOneLoopCompleted";
|
|
86
93
|
/**
|
|
87
|
-
* 723:
|
|
94
|
+
* 723: All loops of the music file playback completed.
|
|
88
95
|
*/
|
|
89
96
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonAllLoopsCompleted"] = 723] = "AudioMixingReasonAllLoopsCompleted";
|
|
90
97
|
/**
|
|
91
|
-
* 724: Successfully
|
|
98
|
+
* 724: Successfully called stopAudioMixing to stop music file playback.
|
|
92
99
|
*/
|
|
93
100
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonStoppedByUser"] = 724] = "AudioMixingReasonStoppedByUser";
|
|
94
101
|
/**
|
|
@@ -96,7 +103,7 @@ var AudioMixingReasonType;
|
|
|
96
103
|
*/
|
|
97
104
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonResumedByUser"] = 726] = "AudioMixingReasonResumedByUser";
|
|
98
105
|
/**
|
|
99
|
-
* 0:
|
|
106
|
+
* 0: Successfully opened the music file.
|
|
100
107
|
*/
|
|
101
108
|
AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOk"] = 0] = "AudioMixingReasonOk";
|
|
102
109
|
})(AudioMixingReasonType = exports.AudioMixingReasonType || (exports.AudioMixingReasonType = {}));
|
|
@@ -151,7 +158,7 @@ var InjectStreamStatus;
|
|
|
151
158
|
InjectStreamStatus[InjectStreamStatus["InjectStreamStatusBroken"] = 10] = "InjectStreamStatusBroken";
|
|
152
159
|
})(InjectStreamStatus = exports.InjectStreamStatus || (exports.InjectStreamStatus = {}));
|
|
153
160
|
/**
|
|
154
|
-
*
|
|
161
|
+
* Center frequency of voice effect equalization bands.
|
|
155
162
|
*/
|
|
156
163
|
var AudioEqualizationBandFrequency;
|
|
157
164
|
(function (AudioEqualizationBandFrequency) {
|
|
@@ -197,28 +204,28 @@ var AudioEqualizationBandFrequency;
|
|
|
197
204
|
AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand16k"] = 9] = "AudioEqualizationBand16k";
|
|
198
205
|
})(AudioEqualizationBandFrequency = exports.AudioEqualizationBandFrequency || (exports.AudioEqualizationBandFrequency = {}));
|
|
199
206
|
/**
|
|
200
|
-
* Audio
|
|
207
|
+
* Audio reverb types.
|
|
201
208
|
*/
|
|
202
209
|
var AudioReverbType;
|
|
203
210
|
(function (AudioReverbType) {
|
|
204
211
|
/**
|
|
205
|
-
* 0:
|
|
212
|
+
* 0: Original sound intensity, also known as dry signal, range [-20,10], unit: dB.
|
|
206
213
|
*/
|
|
207
214
|
AudioReverbType[AudioReverbType["AudioReverbDryLevel"] = 0] = "AudioReverbDryLevel";
|
|
208
215
|
/**
|
|
209
|
-
* 1:
|
|
216
|
+
* 1: Early reflection signal intensity, also known as wet signal, range [-20,10], unit: dB.
|
|
210
217
|
*/
|
|
211
218
|
AudioReverbType[AudioReverbType["AudioReverbWetLevel"] = 1] = "AudioReverbWetLevel";
|
|
212
219
|
/**
|
|
213
|
-
* 2:
|
|
220
|
+
* 2: Room size for desired reverb effect. Generally, the larger the room, the stronger the reverb. Range [0,100], unit: dB.
|
|
214
221
|
*/
|
|
215
222
|
AudioReverbType[AudioReverbType["AudioReverbRoomSize"] = 2] = "AudioReverbRoomSize";
|
|
216
223
|
/**
|
|
217
|
-
* 3:
|
|
224
|
+
* 3: Initial delay length of the wet signal, range [0,200], unit: milliseconds.
|
|
218
225
|
*/
|
|
219
226
|
AudioReverbType[AudioReverbType["AudioReverbWetDelay"] = 3] = "AudioReverbWetDelay";
|
|
220
227
|
/**
|
|
221
|
-
* 4:
|
|
228
|
+
* 4: Intensity of reverb persistence, range [0,100].
|
|
222
229
|
*/
|
|
223
230
|
AudioReverbType[AudioReverbType["AudioReverbStrength"] = 4] = "AudioReverbStrength";
|
|
224
231
|
})(AudioReverbType = exports.AudioReverbType || (exports.AudioReverbType = {}));
|
|
@@ -279,7 +286,7 @@ var PriorityType;
|
|
|
279
286
|
PriorityType[PriorityType["PriorityNormal"] = 100] = "PriorityNormal";
|
|
280
287
|
})(PriorityType = exports.PriorityType || (exports.PriorityType = {}));
|
|
281
288
|
/**
|
|
282
|
-
*
|
|
289
|
+
* Local video stream statistics.
|
|
283
290
|
*/
|
|
284
291
|
class LocalVideoStats {
|
|
285
292
|
}
|
|
@@ -315,18 +322,18 @@ class InjectStreamConfig {
|
|
|
315
322
|
}
|
|
316
323
|
exports.InjectStreamConfig = InjectStreamConfig;
|
|
317
324
|
/**
|
|
318
|
-
* Lifecycle of
|
|
325
|
+
* Lifecycle of server-side transcoding streaming.
|
|
319
326
|
*
|
|
320
|
-
* Deprecated
|
|
327
|
+
* Deprecated Deprecated
|
|
321
328
|
*/
|
|
322
329
|
var RtmpStreamLifeCycleType;
|
|
323
330
|
(function (RtmpStreamLifeCycleType) {
|
|
324
331
|
/**
|
|
325
|
-
*
|
|
332
|
+
* Bound to the channel lifecycle. When all hosts leave the channel, server-side transcoding streaming stops after 30 seconds.
|
|
326
333
|
*/
|
|
327
334
|
RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2channel"] = 1] = "RtmpStreamLifeCycleBind2channel";
|
|
328
335
|
/**
|
|
329
|
-
*
|
|
336
|
+
* Bound to the lifecycle of the host who starts the server-side transcoding streaming. When the host leaves, the streaming stops immediately.
|
|
330
337
|
*/
|
|
331
338
|
RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2owner"] = 2] = "RtmpStreamLifeCycleBind2owner";
|
|
332
339
|
})(RtmpStreamLifeCycleType = exports.RtmpStreamLifeCycleType || (exports.RtmpStreamLifeCycleType = {}));
|
|
@@ -337,45 +344,45 @@ class PublisherConfiguration {
|
|
|
337
344
|
}
|
|
338
345
|
exports.PublisherConfiguration = PublisherConfiguration;
|
|
339
346
|
/**
|
|
340
|
-
*
|
|
347
|
+
* Camera direction.
|
|
341
348
|
*/
|
|
342
349
|
var CameraDirection;
|
|
343
350
|
(function (CameraDirection) {
|
|
344
351
|
/**
|
|
345
|
-
* 0:
|
|
352
|
+
* 0: Rear camera.
|
|
346
353
|
*/
|
|
347
354
|
CameraDirection[CameraDirection["CameraRear"] = 0] = "CameraRear";
|
|
348
355
|
/**
|
|
349
|
-
* 1: (Default)
|
|
356
|
+
* 1: (Default) Front camera.
|
|
350
357
|
*/
|
|
351
358
|
CameraDirection[CameraDirection["CameraFront"] = 1] = "CameraFront";
|
|
352
359
|
})(CameraDirection = exports.CameraDirection || (exports.CameraDirection = {}));
|
|
353
360
|
/**
|
|
354
|
-
*
|
|
361
|
+
* Cloud proxy types.
|
|
355
362
|
*/
|
|
356
363
|
var CloudProxyType;
|
|
357
364
|
(function (CloudProxyType) {
|
|
358
365
|
/**
|
|
359
|
-
* 0:
|
|
366
|
+
* 0: Auto mode. This is the default mode enabled by the SDK. In this mode, the SDK first tries to connect via SD-RTN™. If that fails, it automatically switches to TLS 443.
|
|
360
367
|
*/
|
|
361
368
|
CloudProxyType[CloudProxyType["NoneProxy"] = 0] = "NoneProxy";
|
|
362
369
|
/**
|
|
363
|
-
* 1:
|
|
370
|
+
* 1: UDP protocol cloud proxy, i.e., Force UDP mode. In this mode, the SDK always transmits data using the UDP protocol.
|
|
364
371
|
*/
|
|
365
372
|
CloudProxyType[CloudProxyType["UdpProxy"] = 1] = "UdpProxy";
|
|
366
373
|
/**
|
|
367
|
-
* 2:
|
|
374
|
+
* 2: TCP (encrypted) protocol cloud proxy, i.e., Force TCP mode. In this mode, the SDK always transmits data using TLS 443.
|
|
368
375
|
*/
|
|
369
376
|
CloudProxyType[CloudProxyType["TcpProxy"] = 2] = "TcpProxy";
|
|
370
377
|
})(CloudProxyType = exports.CloudProxyType || (exports.CloudProxyType = {}));
|
|
371
378
|
/**
|
|
372
|
-
*
|
|
379
|
+
* Camera capture configuration.
|
|
373
380
|
*/
|
|
374
381
|
class CameraCapturerConfiguration {
|
|
375
382
|
}
|
|
376
383
|
exports.CameraCapturerConfiguration = CameraCapturerConfiguration;
|
|
377
384
|
/**
|
|
378
|
-
*
|
|
385
|
+
* Screen capture configuration.
|
|
379
386
|
*/
|
|
380
387
|
class ScreenCaptureConfiguration {
|
|
381
388
|
}
|
|
@@ -387,84 +394,84 @@ class Size {
|
|
|
387
394
|
}
|
|
388
395
|
exports.Size = Size;
|
|
389
396
|
/**
|
|
390
|
-
*
|
|
397
|
+
* Image content of a thumbnail or icon. Set in ScreenCaptureSourceInfo.
|
|
391
398
|
*
|
|
392
|
-
* The
|
|
399
|
+
* The image is in ARGB format by default. If you need another format, please convert it manually.
|
|
393
400
|
*/
|
|
394
401
|
class ThumbImageBuffer {
|
|
395
402
|
}
|
|
396
403
|
exports.ThumbImageBuffer = ThumbImageBuffer;
|
|
397
404
|
/**
|
|
398
|
-
*
|
|
405
|
+
* Type of the sharing target. Set in ScreenCaptureSourceInfo.
|
|
399
406
|
*/
|
|
400
407
|
var ScreenCaptureSourceType;
|
|
401
408
|
(function (ScreenCaptureSourceType) {
|
|
402
409
|
/**
|
|
403
|
-
* -1: Unknown
|
|
410
|
+
* -1: Unknown.
|
|
404
411
|
*/
|
|
405
412
|
ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeUnknown"] = -1] = "ScreencapturesourcetypeUnknown";
|
|
406
413
|
/**
|
|
407
|
-
* 0: The
|
|
414
|
+
* 0: The sharing target is a specific window.
|
|
408
415
|
*/
|
|
409
416
|
ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeWindow"] = 0] = "ScreencapturesourcetypeWindow";
|
|
410
417
|
/**
|
|
411
|
-
* 1: The
|
|
418
|
+
* 1: The sharing target is the screen of a specific monitor.
|
|
412
419
|
*/
|
|
413
420
|
ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeScreen"] = 1] = "ScreencapturesourcetypeScreen";
|
|
414
421
|
/**
|
|
415
|
-
* 2: Reserved parameter
|
|
422
|
+
* 2: Reserved parameter.
|
|
416
423
|
*/
|
|
417
424
|
ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeCustom"] = 2] = "ScreencapturesourcetypeCustom";
|
|
418
425
|
})(ScreenCaptureSourceType = exports.ScreenCaptureSourceType || (exports.ScreenCaptureSourceType = {}));
|
|
419
426
|
/**
|
|
420
|
-
*
|
|
427
|
+
* Information about shareable windows or screens.
|
|
421
428
|
*/
|
|
422
429
|
class ScreenCaptureSourceInfo {
|
|
423
430
|
}
|
|
424
431
|
exports.ScreenCaptureSourceInfo = ScreenCaptureSourceInfo;
|
|
425
432
|
/**
|
|
426
|
-
*
|
|
433
|
+
* Advanced options for audio.
|
|
427
434
|
*/
|
|
428
435
|
class AdvancedAudioOptions {
|
|
429
436
|
}
|
|
430
437
|
exports.AdvancedAudioOptions = AdvancedAudioOptions;
|
|
431
438
|
/**
|
|
432
|
-
*
|
|
439
|
+
* Settings options for filler image.
|
|
433
440
|
*/
|
|
434
441
|
class ImageTrackOptions {
|
|
435
442
|
}
|
|
436
443
|
exports.ImageTrackOptions = ImageTrackOptions;
|
|
437
444
|
/**
|
|
438
|
-
*
|
|
445
|
+
* Channel media configuration options.
|
|
439
446
|
*
|
|
440
|
-
*
|
|
447
|
+
* RtcConnection publishMicrophoneTrack publishCustomAudioTrack publishMediaPlayerAudioTrack true publishCameraTrack publishScreenTrack 、 publishCustomVideoTrack publishEncodedVideoTrack true It is recommended that you configure the member parameters based on your business scenario. Otherwise, the SDK will automatically assign values to the member parameters.
|
|
441
448
|
*/
|
|
442
449
|
class ChannelMediaOptions {
|
|
443
450
|
}
|
|
444
451
|
exports.ChannelMediaOptions = ChannelMediaOptions;
|
|
445
452
|
/**
|
|
446
|
-
*
|
|
453
|
+
* Proxy type.
|
|
447
454
|
*/
|
|
448
455
|
var ProxyType;
|
|
449
456
|
(function (ProxyType) {
|
|
450
457
|
/**
|
|
451
|
-
* 0: Reserved
|
|
458
|
+
* 0: Reserved parameter, not supported yet.
|
|
452
459
|
*/
|
|
453
460
|
ProxyType[ProxyType["NoneProxyType"] = 0] = "NoneProxyType";
|
|
454
461
|
/**
|
|
455
|
-
* 1:
|
|
462
|
+
* 1: Cloud proxy using UDP protocol, i.e., Force UDP cloud proxy mode. In this mode, the SDK always transmits data via the UDP protocol.
|
|
456
463
|
*/
|
|
457
464
|
ProxyType[ProxyType["UdpProxyType"] = 1] = "UdpProxyType";
|
|
458
465
|
/**
|
|
459
|
-
* 2:
|
|
466
|
+
* 2: Cloud proxy using TCP (encrypted) protocol, i.e., Force TCP cloud proxy mode. In this mode, the SDK always transmits data via TLS 443.
|
|
460
467
|
*/
|
|
461
468
|
ProxyType[ProxyType["TcpProxyType"] = 2] = "TcpProxyType";
|
|
462
469
|
/**
|
|
463
|
-
* 3: Reserved
|
|
470
|
+
* 3: Reserved parameter, not supported yet.
|
|
464
471
|
*/
|
|
465
472
|
ProxyType[ProxyType["LocalProxyType"] = 3] = "LocalProxyType";
|
|
466
473
|
/**
|
|
467
|
-
* 4:
|
|
474
|
+
* 4: Auto mode. In this mode, the SDK first attempts to connect to SD-RTN™. If the connection fails, it automatically switches to TLS 443.
|
|
468
475
|
*/
|
|
469
476
|
ProxyType[ProxyType["TcpProxyAutoFallbackType"] = 4] = "TcpProxyAutoFallbackType";
|
|
470
477
|
/**
|
|
@@ -477,21 +484,21 @@ var ProxyType;
|
|
|
477
484
|
ProxyType[ProxyType["HttpsProxyType"] = 6] = "HttpsProxyType";
|
|
478
485
|
})(ProxyType = exports.ProxyType || (exports.ProxyType = {}));
|
|
479
486
|
/**
|
|
480
|
-
*
|
|
487
|
+
* Advanced feature types.
|
|
481
488
|
*/
|
|
482
489
|
var FeatureType;
|
|
483
490
|
(function (FeatureType) {
|
|
484
491
|
/**
|
|
485
|
-
* 1: Virtual background.
|
|
492
|
+
* 1: Virtual background feature.
|
|
486
493
|
*/
|
|
487
494
|
FeatureType[FeatureType["VideoVirtualBackground"] = 1] = "VideoVirtualBackground";
|
|
488
495
|
/**
|
|
489
|
-
* 2:
|
|
496
|
+
* 2: Beauty effect feature.
|
|
490
497
|
*/
|
|
491
498
|
FeatureType[FeatureType["VideoBeautyEffect"] = 2] = "VideoBeautyEffect";
|
|
492
499
|
})(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
|
|
493
500
|
/**
|
|
494
|
-
*
|
|
501
|
+
* Options for leaving the channel.
|
|
495
502
|
*/
|
|
496
503
|
class LeaveChannelOptions {
|
|
497
504
|
}
|
|
@@ -503,22 +510,70 @@ class IVideoDeviceManager {
|
|
|
503
510
|
}
|
|
504
511
|
exports.IVideoDeviceManager = IVideoDeviceManager;
|
|
505
512
|
/**
|
|
506
|
-
*
|
|
513
|
+
* Video effect node types.
|
|
514
|
+
*
|
|
515
|
+
* Since Available since v4.6.2.
|
|
516
|
+
*/
|
|
517
|
+
var VideoEffectNodeId;
|
|
518
|
+
(function (VideoEffectNodeId) {
|
|
519
|
+
/**
|
|
520
|
+
* (1): Beauty effect node.
|
|
521
|
+
*/
|
|
522
|
+
VideoEffectNodeId[VideoEffectNodeId["Beauty"] = 1] = "Beauty";
|
|
523
|
+
/**
|
|
524
|
+
* (2): Style makeup effect node.
|
|
525
|
+
*/
|
|
526
|
+
VideoEffectNodeId[VideoEffectNodeId["StyleMakeup"] = 2] = "StyleMakeup";
|
|
527
|
+
/**
|
|
528
|
+
* (4): Filter effect node.
|
|
529
|
+
*/
|
|
530
|
+
VideoEffectNodeId[VideoEffectNodeId["Filter"] = 4] = "Filter";
|
|
531
|
+
/**
|
|
532
|
+
* @ignore
|
|
533
|
+
*/
|
|
534
|
+
VideoEffectNodeId[VideoEffectNodeId["Sticker"] = 8] = "Sticker";
|
|
535
|
+
})(VideoEffectNodeId = exports.VideoEffectNodeId || (exports.VideoEffectNodeId = {}));
|
|
536
|
+
/**
|
|
537
|
+
* Action types performed on video effect nodes.
|
|
538
|
+
*
|
|
539
|
+
* Since Available since v4.6.2.
|
|
540
|
+
*/
|
|
541
|
+
var VideoEffectAction;
|
|
542
|
+
(function (VideoEffectAction) {
|
|
543
|
+
/**
|
|
544
|
+
* (1): Save the current parameters of the video effect.
|
|
545
|
+
*/
|
|
546
|
+
VideoEffectAction[VideoEffectAction["Save"] = 1] = "Save";
|
|
547
|
+
/**
|
|
548
|
+
* (2): Reset the video effect to its default parameters.
|
|
549
|
+
*/
|
|
550
|
+
VideoEffectAction[VideoEffectAction["Reset"] = 2] = "Reset";
|
|
551
|
+
})(VideoEffectAction = exports.VideoEffectAction || (exports.VideoEffectAction = {}));
|
|
552
|
+
/**
|
|
553
|
+
* Used to manage and configure video effects, such as beauty filters, style makeup, and filters.
|
|
554
|
+
*
|
|
555
|
+
* Since Available since v4.6.2.
|
|
556
|
+
*/
|
|
557
|
+
class IVideoEffectObject {
|
|
558
|
+
}
|
|
559
|
+
exports.IVideoEffectObject = IVideoEffectObject;
|
|
560
|
+
/**
|
|
561
|
+
* Defines RtcEngineContext.
|
|
507
562
|
*/
|
|
508
563
|
class RtcEngineContext {
|
|
509
564
|
}
|
|
510
565
|
exports.RtcEngineContext = RtcEngineContext;
|
|
511
566
|
/**
|
|
512
|
-
* Metadata type of the observer.
|
|
567
|
+
* The Metadata type of the observer. Currently supports video Metadata only.
|
|
513
568
|
*/
|
|
514
569
|
var MetadataType;
|
|
515
570
|
(function (MetadataType) {
|
|
516
571
|
/**
|
|
517
|
-
*
|
|
572
|
+
* -1: Unknown Metadata type.
|
|
518
573
|
*/
|
|
519
574
|
MetadataType[MetadataType["UnknownMetadata"] = -1] = "UnknownMetadata";
|
|
520
575
|
/**
|
|
521
|
-
*
|
|
576
|
+
* 0: Metadata type is video.
|
|
522
577
|
*/
|
|
523
578
|
MetadataType[MetadataType["VideoMetadata"] = 0] = "VideoMetadata";
|
|
524
579
|
})(MetadataType = exports.MetadataType || (exports.MetadataType = {}));
|
|
@@ -547,69 +602,69 @@ class Metadata {
|
|
|
547
602
|
}
|
|
548
603
|
exports.Metadata = Metadata;
|
|
549
604
|
/**
|
|
550
|
-
*
|
|
605
|
+
* @ignore
|
|
551
606
|
*/
|
|
552
607
|
var DirectCdnStreamingReason;
|
|
553
608
|
(function (DirectCdnStreamingReason) {
|
|
554
609
|
/**
|
|
555
|
-
*
|
|
610
|
+
* @ignore
|
|
556
611
|
*/
|
|
557
612
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonOk"] = 0] = "DirectCdnStreamingReasonOk";
|
|
558
613
|
/**
|
|
559
|
-
*
|
|
614
|
+
* @ignore
|
|
560
615
|
*/
|
|
561
616
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonFailed"] = 1] = "DirectCdnStreamingReasonFailed";
|
|
562
617
|
/**
|
|
563
|
-
*
|
|
618
|
+
* @ignore
|
|
564
619
|
*/
|
|
565
620
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonAudioPublication"] = 2] = "DirectCdnStreamingReasonAudioPublication";
|
|
566
621
|
/**
|
|
567
|
-
*
|
|
622
|
+
* @ignore
|
|
568
623
|
*/
|
|
569
624
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonVideoPublication"] = 3] = "DirectCdnStreamingReasonVideoPublication";
|
|
570
625
|
/**
|
|
571
|
-
*
|
|
626
|
+
* @ignore
|
|
572
627
|
*/
|
|
573
628
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonNetConnect"] = 4] = "DirectCdnStreamingReasonNetConnect";
|
|
574
629
|
/**
|
|
575
|
-
*
|
|
630
|
+
* @ignore
|
|
576
631
|
*/
|
|
577
632
|
DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonBadName"] = 5] = "DirectCdnStreamingReasonBadName";
|
|
578
633
|
})(DirectCdnStreamingReason = exports.DirectCdnStreamingReason || (exports.DirectCdnStreamingReason = {}));
|
|
579
634
|
/**
|
|
580
|
-
*
|
|
635
|
+
* @ignore
|
|
581
636
|
*/
|
|
582
637
|
var DirectCdnStreamingState;
|
|
583
638
|
(function (DirectCdnStreamingState) {
|
|
584
639
|
/**
|
|
585
|
-
*
|
|
640
|
+
* @ignore
|
|
586
641
|
*/
|
|
587
642
|
DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateIdle"] = 0] = "DirectCdnStreamingStateIdle";
|
|
588
643
|
/**
|
|
589
|
-
*
|
|
644
|
+
* @ignore
|
|
590
645
|
*/
|
|
591
646
|
DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRunning"] = 1] = "DirectCdnStreamingStateRunning";
|
|
592
647
|
/**
|
|
593
|
-
*
|
|
648
|
+
* @ignore
|
|
594
649
|
*/
|
|
595
650
|
DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateStopped"] = 2] = "DirectCdnStreamingStateStopped";
|
|
596
651
|
/**
|
|
597
|
-
*
|
|
652
|
+
* @ignore
|
|
598
653
|
*/
|
|
599
654
|
DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateFailed"] = 3] = "DirectCdnStreamingStateFailed";
|
|
600
655
|
/**
|
|
601
|
-
*
|
|
656
|
+
* @ignore
|
|
602
657
|
*/
|
|
603
658
|
DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRecovering"] = 4] = "DirectCdnStreamingStateRecovering";
|
|
604
659
|
})(DirectCdnStreamingState = exports.DirectCdnStreamingState || (exports.DirectCdnStreamingState = {}));
|
|
605
660
|
/**
|
|
606
|
-
*
|
|
661
|
+
* @ignore
|
|
607
662
|
*/
|
|
608
663
|
class DirectCdnStreamingStats {
|
|
609
664
|
}
|
|
610
665
|
exports.DirectCdnStreamingStats = DirectCdnStreamingStats;
|
|
611
666
|
/**
|
|
612
|
-
*
|
|
667
|
+
* @ignore
|
|
613
668
|
*/
|
|
614
669
|
class DirectCdnStreamingMediaOptions {
|
|
615
670
|
}
|
|
@@ -621,9 +676,10 @@ class ExtensionInfo {
|
|
|
621
676
|
}
|
|
622
677
|
exports.ExtensionInfo = ExtensionInfo;
|
|
623
678
|
/**
|
|
624
|
-
* The
|
|
679
|
+
* The base interface class of the RTC SDK that implements the main functions of real-time audio and video.
|
|
625
680
|
*
|
|
626
|
-
* IRtcEngine provides the main methods
|
|
681
|
+
* IRtcEngine provides the main methods for the app to call.
|
|
682
|
+
* You must call createAgoraRtcEngine to create an IRtcEngine object before calling other APIs.
|
|
627
683
|
*/
|
|
628
684
|
class IRtcEngine {
|
|
629
685
|
}
|
|
@@ -643,32 +699,32 @@ var QualityReportFormatType;
|
|
|
643
699
|
QualityReportFormatType[QualityReportFormatType["QualityReportHtml"] = 1] = "QualityReportHtml";
|
|
644
700
|
})(QualityReportFormatType = exports.QualityReportFormatType || (exports.QualityReportFormatType = {}));
|
|
645
701
|
/**
|
|
646
|
-
*
|
|
702
|
+
* Device state.
|
|
647
703
|
*/
|
|
648
704
|
var MediaDeviceStateType;
|
|
649
705
|
(function (MediaDeviceStateType) {
|
|
650
706
|
/**
|
|
651
|
-
* 0:
|
|
707
|
+
* 0: Device is ready.
|
|
652
708
|
*/
|
|
653
709
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateIdle"] = 0] = "MediaDeviceStateIdle";
|
|
654
710
|
/**
|
|
655
|
-
* 1:
|
|
711
|
+
* 1: Device is in use.
|
|
656
712
|
*/
|
|
657
713
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateActive"] = 1] = "MediaDeviceStateActive";
|
|
658
714
|
/**
|
|
659
|
-
* 2:
|
|
715
|
+
* 2: Device is disabled.
|
|
660
716
|
*/
|
|
661
717
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateDisabled"] = 2] = "MediaDeviceStateDisabled";
|
|
662
718
|
/**
|
|
663
|
-
* 3:
|
|
719
|
+
* 3: Device is plugged in.
|
|
664
720
|
*/
|
|
665
721
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStatePluggedIn"] = 3] = "MediaDeviceStatePluggedIn";
|
|
666
722
|
/**
|
|
667
|
-
* 4:
|
|
723
|
+
* 4: Device not present.
|
|
668
724
|
*/
|
|
669
725
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateNotPresent"] = 4] = "MediaDeviceStateNotPresent";
|
|
670
726
|
/**
|
|
671
|
-
* 8:
|
|
727
|
+
* 8: Device is unplugged.
|
|
672
728
|
*/
|
|
673
729
|
MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateUnplugged"] = 8] = "MediaDeviceStateUnplugged";
|
|
674
730
|
})(MediaDeviceStateType = exports.MediaDeviceStateType || (exports.MediaDeviceStateType = {}));
|
|
@@ -969,13 +1025,13 @@ class SDKBuildInfo {
|
|
|
969
1025
|
}
|
|
970
1026
|
exports.SDKBuildInfo = SDKBuildInfo;
|
|
971
1027
|
/**
|
|
972
|
-
* The VideoDeviceInfo class
|
|
1028
|
+
* The VideoDeviceInfo class contains the video device ID and device name.
|
|
973
1029
|
*/
|
|
974
1030
|
class VideoDeviceInfo {
|
|
975
1031
|
}
|
|
976
1032
|
exports.VideoDeviceInfo = VideoDeviceInfo;
|
|
977
1033
|
/**
|
|
978
|
-
* The AudioDeviceInfo class
|
|
1034
|
+
* The AudioDeviceInfo class contains the audio device ID and device name.
|
|
979
1035
|
*/
|
|
980
1036
|
class AudioDeviceInfo {
|
|
981
1037
|
}
|
|
@@ -4,15 +4,15 @@ exports.IRtcEngineEx = exports.RtcConnection = void 0;
|
|
|
4
4
|
require("./extension/IAgoraRtcEngineExExtension");
|
|
5
5
|
const IAgoraRtcEngine_1 = require("./IAgoraRtcEngine");
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Class containing connection information.
|
|
8
8
|
*/
|
|
9
9
|
class RtcConnection {
|
|
10
10
|
}
|
|
11
11
|
exports.RtcConnection = RtcConnection;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Interface class that provides multi-channel methods.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* Inherits from IRtcEngine.
|
|
16
16
|
*/
|
|
17
17
|
class IRtcEngineEx extends IAgoraRtcEngine_1.IRtcEngine {
|
|
18
18
|
}
|