agora-electron-sdk 4.1.1-rc.1 → 4.2.0-dev.13
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/LICENSE +21 -21
- package/README.md +143 -143
- package/gulpfile.js +5 -4
- package/js/AgoraSdk.js +62 -60
- package/js/Private/AgoraBase.js +4575 -3269
- package/js/Private/AgoraMediaBase.js +968 -564
- package/js/Private/AgoraMediaPlayerTypes.js +422 -310
- package/js/Private/IAgoraLog.js +86 -74
- package/js/Private/IAgoraMediaEngine.js +32 -32
- package/js/Private/IAgoraMediaPlayer.js +16 -16
- package/js/Private/IAgoraMediaPlayerSource.js +3 -3
- package/js/Private/IAgoraMediaRecorder.js +12 -12
- package/js/Private/IAgoraMediaStreamingSource.js +84 -0
- package/js/Private/IAgoraMusicContentCenter.js +239 -81
- package/js/Private/IAgoraRhythmPlayer.js +70 -62
- package/js/Private/IAgoraRtcEngine.js +1807 -948
- package/js/Private/IAgoraRtcEngineEx.js +26 -18
- package/js/Private/IAgoraSpatialAudio.js +74 -30
- package/js/Private/IAudioDeviceManager.js +20 -20
- package/js/Private/extension/AgoraBaseExtension.js +2 -2
- package/js/Private/extension/AgoraMediaBaseExtension.js +2 -2
- package/js/Private/extension/AgoraMediaPlayerTypesExtension.js +2 -2
- package/js/Private/extension/IAgoraLogExtension.js +2 -2
- package/js/Private/extension/IAgoraMediaEngineExtension.js +2 -2
- package/js/Private/extension/IAgoraMediaPlayerExtension.js +2 -2
- package/js/Private/extension/IAgoraMediaPlayerSourceExtension.js +2 -2
- package/js/Private/extension/IAgoraMediaRecorderExtension.js +2 -2
- package/js/Private/extension/IAgoraMusicContentCenterExtension.js +2 -2
- package/js/Private/extension/IAgoraRhythmPlayerExtension.js +2 -2
- package/js/Private/extension/IAgoraRtcEngineExExtension.js +2 -2
- package/js/Private/extension/IAgoraRtcEngineExtension.js +2 -2
- package/js/Private/extension/IAgoraSpatialAudioExtension.js +2 -2
- package/js/Private/extension/IAudioDeviceManagerExtension.js +2 -2
- package/js/Private/impl/AgoraBaseImpl.js +23 -23
- package/js/Private/impl/AgoraMediaBaseImpl.js +118 -138
- package/js/Private/impl/IAgoraMediaEngineImpl.js +287 -325
- package/js/Private/impl/IAgoraMediaPlayerImpl.js +932 -938
- package/js/Private/impl/IAgoraMediaPlayerSourceImpl.js +63 -63
- package/js/Private/impl/IAgoraMediaRecorderImpl.js +47 -67
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +353 -323
- package/js/Private/impl/IAgoraRtcEngineExImpl.js +945 -907
- package/js/Private/impl/IAgoraRtcEngineImpl.js +4742 -4702
- package/js/Private/impl/IAgoraSpatialAudioImpl.js +362 -362
- package/js/Private/impl/IAudioDeviceManagerImpl.js +375 -375
- package/js/Private/internal/AudioDeviceManagerInternal.js +44 -44
- package/js/Private/internal/IrisApiEngine.js +391 -382
- package/js/Private/internal/LocalSpatialAudioEngineInternal.js +46 -46
- package/js/Private/internal/MediaEngineInternal.js +119 -123
- package/js/Private/internal/MediaPlayerInternal.js +215 -213
- package/js/Private/internal/MediaRecorderInternal.js +82 -81
- package/js/Private/internal/MusicContentCenterInternal.js +128 -130
- package/js/Private/internal/RtcEngineExInternal.js +422 -363
- package/js/Private/internal/emitter/EventEmitter.js +111 -111
- package/js/Private/ti/AgoraBase-ti.js +40 -40
- package/js/Private/ti/AgoraMediaBase-ti.js +71 -73
- package/js/Private/ti/AgoraMediaPlayerTypes-ti.js +5 -5
- package/js/Private/ti/IAgoraLog-ti.js +5 -5
- package/js/Private/ti/IAgoraMediaEngine-ti.js +5 -5
- package/js/Private/ti/IAgoraMediaPlayer-ti.js +38 -42
- package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +48 -48
- package/js/Private/ti/IAgoraMediaRecorder-ti.js +5 -5
- package/js/Private/ti/IAgoraMediaStreamingSource-ti.js +5 -0
- package/js/Private/ti/IAgoraMusicContentCenter-ti.js +41 -41
- package/js/Private/ti/IAgoraRhythmPlayer-ti.js +5 -5
- package/js/Private/ti/IAgoraRtcEngine-ti.js +139 -139
- package/js/Private/ti/IAgoraRtcEngineEx-ti.js +5 -5
- package/js/Private/ti/IAgoraSpatialAudio-ti.js +5 -5
- package/js/Private/ti/IAudioDeviceManager-ti.js +5 -5
- package/js/Renderer/AgoraView.js +128 -131
- package/js/Renderer/IRenderer.js +40 -48
- package/js/Renderer/IRendererManager.js +9 -0
- package/js/Renderer/RendererManager.js +479 -392
- package/js/Renderer/{GlRenderer → WebGLRenderer}/index.js +469 -473
- package/js/Renderer/{GlRenderer → WebGLRenderer}/webgl-utils.js +1337 -1337
- package/js/Renderer/YUVCanvasRenderer/index.js +195 -185
- package/js/Renderer/index.js +18 -0
- package/js/Types.js +17 -29
- package/js/Utils.js +168 -173
- package/package.json +61 -103
- package/scripts/bootstrap.js +1 -1
- package/scripts/build.js +1 -0
- package/scripts/buildJS.js +3 -3
- package/scripts/clean.js +2 -1
- package/scripts/downloadPrebuild.js +5 -5
- package/scripts/getConfig.js +3 -2
- package/scripts/synclib.js +8 -5
- package/scripts/util.js +3 -2
- package/scripts/zipBuild.js +2 -1
- package/ts/AgoraSdk.ts +9 -6
- package/ts/Private/AgoraBase.ts +278 -173
- package/ts/Private/AgoraMediaBase.ts +167 -100
- package/ts/Private/AgoraMediaPlayerTypes.ts +1 -1
- package/ts/Private/IAgoraMediaEngine.ts +43 -56
- package/ts/Private/IAgoraMediaPlayer.ts +90 -104
- package/ts/Private/IAgoraMediaPlayerSource.ts +3 -8
- package/ts/Private/IAgoraMediaRecorder.ts +8 -35
- package/ts/Private/IAgoraMediaStreamingSource.ts +80 -0
- package/ts/Private/IAgoraMusicContentCenter.ts +93 -12
- package/ts/Private/IAgoraRtcEngine.ts +807 -910
- package/ts/Private/IAgoraRtcEngineEx.ts +187 -191
- package/ts/Private/IAgoraSpatialAudio.ts +40 -22
- package/ts/Private/IAudioDeviceManager.ts +35 -13
- package/ts/Private/extension/IAgoraMediaEngineExtension.ts +1 -1
- package/ts/Private/extension/IAgoraMediaPlayerExtension.ts +4 -7
- package/ts/Private/extension/IAgoraMediaRecorderExtension.ts +6 -1
- package/ts/Private/extension/IAgoraMusicContentCenterExtension.ts +1 -1
- package/ts/Private/extension/IAgoraRtcEngineExtension.ts +4 -4
- package/ts/Private/impl/AgoraBaseImpl.ts +3 -3
- package/ts/Private/impl/AgoraMediaBaseImpl.ts +36 -42
- package/ts/Private/impl/IAgoraMediaEngineImpl.ts +79 -127
- package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +106 -106
- package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +13 -45
- package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +61 -16
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +129 -59
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +490 -416
- package/ts/Private/impl/IAgoraSpatialAudioImpl.ts +5 -3
- package/ts/Private/impl/IAudioDeviceManagerImpl.ts +4 -2
- package/ts/Private/internal/AudioDeviceManagerInternal.ts +6 -5
- package/ts/Private/internal/IrisApiEngine.ts +41 -32
- package/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +17 -13
- package/ts/Private/internal/MediaEngineInternal.ts +9 -11
- package/ts/Private/internal/MediaPlayerInternal.ts +42 -31
- package/ts/Private/internal/MediaRecorderInternal.ts +24 -22
- package/ts/Private/internal/MusicContentCenterInternal.ts +16 -18
- package/ts/Private/internal/RtcEngineExInternal.ts +189 -66
- package/ts/Private/ti/AgoraMediaBase-ti.ts +9 -10
- package/ts/Private/ti/IAgoraMediaPlayer-ti.ts +0 -5
- package/{js/Private/ti/AgoraMediaPlayerTypes-ti.d.ts → ts/Private/ti/IAgoraMediaStreamingSource-ti.ts} +11 -6
- package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +4 -4
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +4 -4
- package/ts/Renderer/AgoraView.ts +12 -7
- package/ts/Renderer/IRenderer.ts +11 -16
- package/ts/Renderer/IRendererManager.ts +35 -0
- package/ts/Renderer/RendererManager.ts +146 -82
- package/ts/Renderer/{GlRenderer → WebGLRenderer}/index.ts +36 -51
- package/ts/Renderer/YUVCanvasRenderer/index.ts +41 -25
- package/ts/Renderer/index.ts +2 -0
- package/ts/Types.ts +43 -23
- package/ts/Utils.ts +7 -12
- package/types/AgoraSdk.d.ts +38 -36
- package/types/AgoraSdk.d.ts.map +1 -0
- package/types/Private/AgoraBase.d.ts +4455 -4358
- package/types/Private/AgoraBase.d.ts.map +1 -0
- package/types/Private/AgoraMediaBase.d.ts +1125 -1070
- package/types/Private/AgoraMediaBase.d.ts.map +1 -0
- package/types/Private/AgoraMediaPlayerTypes.d.ts +409 -408
- package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -0
- package/types/Private/IAgoraLog.d.ts +81 -80
- package/types/Private/IAgoraLog.d.ts.map +1 -0
- package/types/Private/IAgoraMediaEngine.d.ts +184 -193
- package/types/Private/IAgoraMediaEngine.d.ts.map +1 -0
- package/types/Private/IAgoraMediaPlayer.d.ts +533 -546
- package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -0
- package/types/Private/IAgoraMediaPlayerSource.d.ts +83 -88
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -0
- package/types/Private/IAgoraMediaRecorder.d.ts +29 -49
- package/types/Private/IAgoraMediaRecorder.d.ts.map +1 -0
- package/types/Private/IAgoraMediaStreamingSource.d.ts +42 -0
- package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -0
- package/types/Private/IAgoraMusicContentCenter.d.ts +336 -255
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -0
- package/types/Private/IAgoraRhythmPlayer.d.ts +65 -64
- package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -0
- package/types/Private/IAgoraRtcEngine.d.ts +4948 -5058
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -0
- package/types/Private/IAgoraRtcEngineEx.d.ts +554 -570
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
- package/types/Private/IAgoraSpatialAudio.d.ts +266 -248
- package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -0
- package/types/Private/IAudioDeviceManager.d.ts +255 -233
- package/types/Private/IAudioDeviceManager.d.ts.map +1 -0
- package/types/Private/extension/AgoraBaseExtension.d.ts +2 -1
- package/types/Private/extension/AgoraBaseExtension.d.ts.map +1 -0
- package/types/Private/extension/AgoraMediaBaseExtension.d.ts +2 -1
- package/types/Private/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
- package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts +2 -1
- package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraLogExtension.d.ts +2 -1
- package/types/Private/extension/IAgoraLogExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraMediaEngineExtension.d.ts +41 -40
- package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts +47 -46
- package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts +2 -1
- package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts +45 -40
- package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts +21 -20
- package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts +2 -1
- package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts +2 -1
- package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraRtcEngineExtension.d.ts +43 -42
- package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
- package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts +2 -1
- package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
- package/types/Private/extension/IAudioDeviceManagerExtension.d.ts +2 -1
- package/types/Private/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
- package/types/Private/impl/AgoraBaseImpl.d.ts +3 -2
- package/types/Private/impl/AgoraBaseImpl.d.ts.map +1 -0
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts +9 -7
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +40 -43
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +141 -141
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts +3 -2
- package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts +11 -13
- package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +59 -51
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +106 -101
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +570 -566
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts +49 -48
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
- package/types/Private/impl/IAudioDeviceManagerImpl.d.ts +65 -64
- package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
- package/types/Private/internal/AudioDeviceManagerInternal.d.ts +9 -8
- package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -0
- package/types/Private/internal/IrisApiEngine.d.ts +148 -146
- package/types/Private/internal/IrisApiEngine.d.ts.map +1 -0
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts +19 -18
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
- package/types/Private/internal/MediaEngineInternal.d.ts +22 -21
- package/types/Private/internal/MediaEngineInternal.d.ts.map +1 -0
- package/types/Private/internal/MediaPlayerInternal.d.ts +34 -33
- package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -0
- package/types/Private/internal/MediaRecorderInternal.d.ts +18 -15
- package/types/Private/internal/MediaRecorderInternal.d.ts.map +1 -0
- package/types/Private/internal/MusicContentCenterInternal.d.ts +40 -39
- package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -0
- package/types/Private/internal/RtcEngineExInternal.d.ts +80 -73
- package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -0
- package/{js → types}/Private/internal/emitter/EventEmitter.d.ts +60 -59
- package/types/Private/internal/emitter/EventEmitter.d.ts.map +1 -0
- package/types/Private/ti/AgoraBase-ti.d.ts +8 -7
- package/types/Private/ti/AgoraBase-ti.d.ts.map +1 -0
- package/types/Private/ti/AgoraMediaBase-ti.d.ts +14 -12
- package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -0
- package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts +7 -6
- package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraLog-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraLog-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMediaEngine-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts +8 -8
- package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts +8 -7
- package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
- package/{js/Private/ti/IAgoraMediaRecorder-ti.d.ts → types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts} +7 -6
- package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts +8 -7
- package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts +10 -9
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts +7 -6
- package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
- package/types/Private/ti/IAudioDeviceManager-ti.d.ts +7 -6
- package/types/Private/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
- package/types/Renderer/AgoraView.d.ts +70 -70
- package/types/Renderer/AgoraView.d.ts.map +1 -0
- package/types/Renderer/IRenderer.d.ts +22 -21
- package/types/Renderer/IRenderer.d.ts.map +1 -0
- package/types/Renderer/IRendererManager.d.ts +18 -0
- package/types/Renderer/IRendererManager.d.ts.map +1 -0
- package/types/Renderer/RendererManager.d.ts +154 -71
- package/types/Renderer/RendererManager.d.ts.map +1 -0
- package/types/Renderer/{GlRenderer → WebGLRenderer}/index.d.ts +49 -59
- package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -0
- package/types/Renderer/WebGLRenderer/webgl-utils.d.ts +1 -0
- package/types/Renderer/WebGLRenderer/webgl-utils.d.ts.map +1 -0
- package/types/Renderer/YUVCanvasRenderer/index.d.ts +16 -16
- package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -0
- package/types/Renderer/index.d.ts +3 -0
- package/types/Renderer/index.d.ts.map +1 -0
- package/types/Types.d.ts +280 -260
- package/types/Types.d.ts.map +1 -0
- package/types/Utils.d.ts +59 -58
- package/types/Utils.d.ts.map +1 -0
- package/js/AgoraSdk.d.ts +0 -36
- package/js/Private/AgoraBase.d.ts +0 -4358
- package/js/Private/AgoraMediaBase.d.ts +0 -1070
- package/js/Private/AgoraMediaPlayerTypes.d.ts +0 -408
- package/js/Private/IAgoraLog.d.ts +0 -80
- package/js/Private/IAgoraMediaEngine.d.ts +0 -193
- package/js/Private/IAgoraMediaPlayer.d.ts +0 -546
- package/js/Private/IAgoraMediaPlayerSource.d.ts +0 -88
- package/js/Private/IAgoraMediaRecorder.d.ts +0 -49
- package/js/Private/IAgoraMusicContentCenter.d.ts +0 -255
- package/js/Private/IAgoraRhythmPlayer.d.ts +0 -64
- package/js/Private/IAgoraRtcEngine.d.ts +0 -5058
- package/js/Private/IAgoraRtcEngineEx.d.ts +0 -570
- package/js/Private/IAgoraSpatialAudio.d.ts +0 -248
- package/js/Private/IAudioDeviceManager.d.ts +0 -233
- package/js/Private/extension/AgoraBaseExtension.d.ts +0 -1
- package/js/Private/extension/AgoraMediaBaseExtension.d.ts +0 -1
- package/js/Private/extension/AgoraMediaPlayerTypesExtension.d.ts +0 -1
- package/js/Private/extension/IAgoraLogExtension.d.ts +0 -1
- package/js/Private/extension/IAgoraMediaEngineExtension.d.ts +0 -40
- package/js/Private/extension/IAgoraMediaPlayerExtension.d.ts +0 -46
- package/js/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts +0 -1
- package/js/Private/extension/IAgoraMediaRecorderExtension.d.ts +0 -40
- package/js/Private/extension/IAgoraMusicContentCenterExtension.d.ts +0 -20
- package/js/Private/extension/IAgoraRhythmPlayerExtension.d.ts +0 -1
- package/js/Private/extension/IAgoraRtcEngineExExtension.d.ts +0 -1
- package/js/Private/extension/IAgoraRtcEngineExtension.d.ts +0 -42
- package/js/Private/extension/IAgoraSpatialAudioExtension.d.ts +0 -1
- package/js/Private/extension/IAudioDeviceManagerExtension.d.ts +0 -1
- package/js/Private/impl/AgoraBaseImpl.d.ts +0 -2
- package/js/Private/impl/AgoraMediaBaseImpl.d.ts +0 -7
- package/js/Private/impl/IAgoraMediaEngineImpl.d.ts +0 -43
- package/js/Private/impl/IAgoraMediaPlayerImpl.d.ts +0 -141
- package/js/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts +0 -2
- package/js/Private/impl/IAgoraMediaRecorderImpl.d.ts +0 -13
- package/js/Private/impl/IAgoraMusicContentCenterImpl.d.ts +0 -51
- package/js/Private/impl/IAgoraRtcEngineExImpl.d.ts +0 -101
- package/js/Private/impl/IAgoraRtcEngineImpl.d.ts +0 -566
- package/js/Private/impl/IAgoraSpatialAudioImpl.d.ts +0 -48
- package/js/Private/impl/IAudioDeviceManagerImpl.d.ts +0 -64
- package/js/Private/internal/AudioDeviceManagerInternal.d.ts +0 -8
- package/js/Private/internal/IrisApiEngine.d.ts +0 -146
- package/js/Private/internal/LocalSpatialAudioEngineInternal.d.ts +0 -18
- package/js/Private/internal/MediaEngineInternal.d.ts +0 -21
- package/js/Private/internal/MediaPlayerInternal.d.ts +0 -33
- package/js/Private/internal/MediaRecorderInternal.d.ts +0 -15
- package/js/Private/internal/MusicContentCenterInternal.d.ts +0 -39
- package/js/Private/internal/RtcEngineExInternal.d.ts +0 -73
- package/js/Private/ti/AgoraBase-ti.d.ts +0 -7
- package/js/Private/ti/AgoraMediaBase-ti.d.ts +0 -12
- package/js/Private/ti/IAgoraLog-ti.d.ts +0 -6
- package/js/Private/ti/IAgoraMediaEngine-ti.d.ts +0 -6
- package/js/Private/ti/IAgoraMediaPlayer-ti.d.ts +0 -8
- package/js/Private/ti/IAgoraMediaPlayerSource-ti.d.ts +0 -7
- package/js/Private/ti/IAgoraMusicContentCenter-ti.d.ts +0 -7
- package/js/Private/ti/IAgoraRhythmPlayer-ti.d.ts +0 -6
- package/js/Private/ti/IAgoraRtcEngine-ti.d.ts +0 -9
- package/js/Private/ti/IAgoraRtcEngineEx-ti.d.ts +0 -6
- package/js/Private/ti/IAgoraSpatialAudio-ti.d.ts +0 -6
- package/js/Private/ti/IAudioDeviceManager-ti.d.ts +0 -6
- package/js/Renderer/AgoraView.d.ts +0 -70
- package/js/Renderer/GlRenderer/index.d.ts +0 -59
- package/js/Renderer/GlRenderer/webgl-utils.d.ts +0 -0
- package/js/Renderer/IRenderer.d.ts +0 -21
- package/js/Renderer/RendererManager.d.ts +0 -71
- package/js/Renderer/YUVCanvasRenderer/index.d.ts +0 -16
- package/js/Types.d.ts +0 -260
- package/js/Utils.d.ts +0 -58
- /package/ts/Renderer/{GlRenderer → WebGLRenderer}/webgl-utils.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMediaEngineExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraMediaEngineExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,oBAAY,iBAAiB,GAAG,mBAAmB,GACjD,mBAAmB,GACnB,0BAA0B,CAAC;AAE7B,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,YAAY;QACpB,oBAAoB,CAAC,SAAS,SAAS,MAAM,iBAAiB,EAC5D,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;;;;;;;;;WAUG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,iBAAiB,EACnD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC,GACrC,mBAAmB,CAAC;QAEvB;;;;;;;;;;;;WAYG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,iBAAiB,EACtD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC,GACrC,IAAI,CAAC;QAER;;;;WAIG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,iBAAiB,EAC1D,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;KACT;CACF"}
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
5
|
-
export declare type IMediaPlayerEvent = IMediaPlayerSourceObserver &
|
|
6
|
-
declare module '../IAgoraMediaPlayer' {
|
|
7
|
-
interface IMediaPlayer {
|
|
8
|
-
_addListenerPreCheck<EventType extends keyof IMediaPlayerEvent>(eventType: EventType): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Adds one IMediaPlayerEvent listener.
|
|
11
|
-
* After calling this method, you can listen for the corresponding events in the IMediaPlayer object and obtain data through IMediaPlayerEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
12
|
-
*
|
|
13
|
-
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
14
|
-
*
|
|
15
|
-
* @param listener The callback function for eventType. Take adding a listener for onPlayerSourceStateChanged as an example: // Create an onPlayerSourceStateChanged object
|
|
16
|
-
* const onPlayerSourceStateChanged = (connection: RtcConnection, elapsed: number) => {};
|
|
17
|
-
* // Add one onPlayerSourceStateChanged listener
|
|
18
|
-
* engine.addListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
19
|
-
*/
|
|
20
|
-
addListener<EventType extends keyof IMediaPlayerEvent>(eventType: EventType, listener: IMediaPlayerEvent[EventType]): EmitterSubscription;
|
|
21
|
-
/**
|
|
22
|
-
* Removes the specified IMediaPlayerEvent listener.
|
|
23
|
-
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
24
|
-
*
|
|
25
|
-
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
26
|
-
*
|
|
27
|
-
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onPlayerSourceStateChanged as an example: // Create an onPlayerSourceStateChanged object
|
|
28
|
-
* const onPlayerSourceStateChanged = (state: MediaPlayerState, ec: MediaPlayerError) => {};
|
|
29
|
-
* // Add one onPlayerSourceStateChanged listener
|
|
30
|
-
* engine.addListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
31
|
-
* // Remove the onPlayerSourceStateChanged listener
|
|
32
|
-
* engine.removeListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
33
|
-
*/
|
|
34
|
-
removeListener<EventType extends keyof IMediaPlayerEvent>(eventType: EventType, listener: IMediaPlayerEvent[EventType]): void;
|
|
35
|
-
/**
|
|
36
|
-
* Removes all listeners for the specified event.
|
|
37
|
-
*
|
|
38
|
-
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
39
|
-
*/
|
|
40
|
-
removeAllListeners<EventType extends keyof IMediaPlayerEvent>(eventType?: EventType): void;
|
|
41
|
-
/**
|
|
42
|
-
* @ignore
|
|
43
|
-
*/
|
|
44
|
-
release(): void;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
import { IAudioPcmFrameSink, IAudioSpectrumObserver } from '../AgoraMediaBase';
|
|
2
|
+
import { IMediaPlayerVideoFrameObserver } from '../IAgoraMediaPlayer';
|
|
3
|
+
import { IMediaPlayerSourceObserver } from '../IAgoraMediaPlayerSource';
|
|
4
|
+
import type { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
5
|
+
export declare type IMediaPlayerEvent = IMediaPlayerSourceObserver & IAudioPcmFrameSink & IMediaPlayerVideoFrameObserver & IAudioSpectrumObserver;
|
|
6
|
+
declare module '../IAgoraMediaPlayer' {
|
|
7
|
+
interface IMediaPlayer {
|
|
8
|
+
_addListenerPreCheck<EventType extends keyof IMediaPlayerEvent>(eventType: EventType): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Adds one IMediaPlayerEvent listener.
|
|
11
|
+
* After calling this method, you can listen for the corresponding events in the IMediaPlayer object and obtain data through IMediaPlayerEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
12
|
+
*
|
|
13
|
+
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
14
|
+
*
|
|
15
|
+
* @param listener The callback function for eventType. Take adding a listener for onPlayerSourceStateChanged as an example: // Create an onPlayerSourceStateChanged object
|
|
16
|
+
* const onPlayerSourceStateChanged = (connection: RtcConnection, elapsed: number) => {};
|
|
17
|
+
* // Add one onPlayerSourceStateChanged listener
|
|
18
|
+
* engine.addListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
19
|
+
*/
|
|
20
|
+
addListener<EventType extends keyof IMediaPlayerEvent>(eventType: EventType, listener: IMediaPlayerEvent[EventType]): EmitterSubscription;
|
|
21
|
+
/**
|
|
22
|
+
* Removes the specified IMediaPlayerEvent listener.
|
|
23
|
+
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
24
|
+
*
|
|
25
|
+
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
26
|
+
*
|
|
27
|
+
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onPlayerSourceStateChanged as an example: // Create an onPlayerSourceStateChanged object
|
|
28
|
+
* const onPlayerSourceStateChanged = (state: MediaPlayerState, ec: MediaPlayerError) => {};
|
|
29
|
+
* // Add one onPlayerSourceStateChanged listener
|
|
30
|
+
* engine.addListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
31
|
+
* // Remove the onPlayerSourceStateChanged listener
|
|
32
|
+
* engine.removeListener('onPlayerSourceStateChanged', onPlayerSourceStateChanged);
|
|
33
|
+
*/
|
|
34
|
+
removeListener<EventType extends keyof IMediaPlayerEvent>(eventType: EventType, listener: IMediaPlayerEvent[EventType]): void;
|
|
35
|
+
/**
|
|
36
|
+
* Removes all listeners for the specified event.
|
|
37
|
+
*
|
|
38
|
+
* @param eventType The name of the target event to listen for. See IMediaPlayerEvent.
|
|
39
|
+
*/
|
|
40
|
+
removeAllListeners<EventType extends keyof IMediaPlayerEvent>(eventType?: EventType): void;
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
44
|
+
release(): void;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=IAgoraMediaPlayerExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMediaPlayerExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraMediaPlayerExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,oBAAY,iBAAiB,GAAG,0BAA0B,GACxD,kBAAkB,GAClB,8BAA8B,GAC9B,sBAAsB,CAAC;AAEzB,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,YAAY;QACpB,oBAAoB,CAAC,SAAS,SAAS,MAAM,iBAAiB,EAC5D,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;;;;;;;;;WAUG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,iBAAiB,EACnD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC,GACrC,mBAAmB,CAAC;QAEvB;;;;;;;;;;;;WAYG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,iBAAiB,EACtD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC,GACrC,IAAI,CAAC;QAER;;;;WAIG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,iBAAiB,EAC1D,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;QAER;;WAEG;QACH,OAAO,IAAI,IAAI,CAAC;KACjB;CACF"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=IAgoraMediaPlayerSourceExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMediaPlayerSourceExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraMediaPlayerSourceExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
import { IMediaRecorderObserver } from '../AgoraMediaBase';
|
|
2
|
-
import { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
3
|
-
export declare type IMediaRecorderEvent = IMediaRecorderObserver;
|
|
4
|
-
declare module '../IAgoraMediaRecorder' {
|
|
5
|
-
interface IMediaRecorder {
|
|
6
|
-
_addListenerPreCheck<EventType extends keyof IMediaRecorderEvent>(eventType: EventType): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Adds one IMediaRecorderEvent listener.
|
|
9
|
-
* After calling this method, you can listen for the corresponding events in the IMediaRecorder object and obtain data through IMediaRecorderEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
10
|
-
*
|
|
11
|
-
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
12
|
-
*
|
|
13
|
-
* @param listener The callback function for eventType. Take adding a listener for onRecorderStateChanged as an example: // Create an onRecorderStateChanged object
|
|
14
|
-
* const onRecorderStateChanged = (state: RecorderState, error: RecorderErrorCode) => {};
|
|
15
|
-
* // Add one onRecorderStateChanged listener
|
|
16
|
-
* engine.addListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
17
|
-
*/
|
|
18
|
-
addListener<EventType extends keyof IMediaRecorderEvent>(eventType: EventType, listener: IMediaRecorderEvent[EventType]): EmitterSubscription;
|
|
19
|
-
/**
|
|
20
|
-
* Removes the specified IMediaRecorderEvent listener.
|
|
21
|
-
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
22
|
-
*
|
|
23
|
-
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
24
|
-
*
|
|
25
|
-
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onRecorderStateChanged as an example: // Create an onRecorderStateChanged object
|
|
26
|
-
* const onRecorderStateChanged = (state: RecorderState, error: RecorderErrorCode) => {};
|
|
27
|
-
* // Add one onRecorderStateChanged listener
|
|
28
|
-
* engine.addListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
29
|
-
* // Remove the onRecorderStateChanged listener
|
|
30
|
-
* engine.removeListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
31
|
-
*/
|
|
32
|
-
removeListener<EventType extends keyof IMediaRecorderEvent>(eventType: EventType, listener: IMediaRecorderEvent[EventType]): void;
|
|
33
|
-
/**
|
|
34
|
-
* Removes all listeners for the specified event.
|
|
35
|
-
*
|
|
36
|
-
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
37
|
-
*/
|
|
38
|
-
removeAllListeners<EventType extends keyof IMediaRecorderEvent>(eventType?: EventType): void;
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
import { IMediaRecorderObserver } from '../AgoraMediaBase';
|
|
2
|
+
import type { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
3
|
+
export declare type IMediaRecorderEvent = IMediaRecorderObserver;
|
|
4
|
+
declare module '../IAgoraMediaRecorder' {
|
|
5
|
+
interface IMediaRecorder {
|
|
6
|
+
_addListenerPreCheck<EventType extends keyof IMediaRecorderEvent>(eventType: EventType): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Adds one IMediaRecorderEvent listener.
|
|
9
|
+
* After calling this method, you can listen for the corresponding events in the IMediaRecorder object and obtain data through IMediaRecorderEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
10
|
+
*
|
|
11
|
+
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
12
|
+
*
|
|
13
|
+
* @param listener The callback function for eventType. Take adding a listener for onRecorderStateChanged as an example: // Create an onRecorderStateChanged object
|
|
14
|
+
* const onRecorderStateChanged = (state: RecorderState, error: RecorderErrorCode) => {};
|
|
15
|
+
* // Add one onRecorderStateChanged listener
|
|
16
|
+
* engine.addListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
17
|
+
*/
|
|
18
|
+
addListener<EventType extends keyof IMediaRecorderEvent>(eventType: EventType, listener: IMediaRecorderEvent[EventType]): EmitterSubscription;
|
|
19
|
+
/**
|
|
20
|
+
* Removes the specified IMediaRecorderEvent listener.
|
|
21
|
+
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
22
|
+
*
|
|
23
|
+
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
24
|
+
*
|
|
25
|
+
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onRecorderStateChanged as an example: // Create an onRecorderStateChanged object
|
|
26
|
+
* const onRecorderStateChanged = (state: RecorderState, error: RecorderErrorCode) => {};
|
|
27
|
+
* // Add one onRecorderStateChanged listener
|
|
28
|
+
* engine.addListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
29
|
+
* // Remove the onRecorderStateChanged listener
|
|
30
|
+
* engine.removeListener('onRecorderStateChanged', onRecorderStateChanged);
|
|
31
|
+
*/
|
|
32
|
+
removeListener<EventType extends keyof IMediaRecorderEvent>(eventType: EventType, listener: IMediaRecorderEvent[EventType]): void;
|
|
33
|
+
/**
|
|
34
|
+
* Removes all listeners for the specified event.
|
|
35
|
+
*
|
|
36
|
+
* @param eventType The name of the target event to listen for. See IMediaRecorderEvent.
|
|
37
|
+
*/
|
|
38
|
+
removeAllListeners<EventType extends keyof IMediaRecorderEvent>(eventType?: EventType): void;
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
42
|
+
release(): void;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=IAgoraMediaRecorderExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMediaRecorderExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraMediaRecorderExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,oBAAY,mBAAmB,GAAG,sBAAsB,CAAC;AAEzD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,cAAc;QACtB,oBAAoB,CAAC,SAAS,SAAS,MAAM,mBAAmB,EAC9D,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;;;;;;;;;WAUG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,mBAAmB,EACrD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,mBAAmB,CAAC,SAAS,CAAC,GACvC,mBAAmB,CAAC;QAEvB;;;;;;;;;;;;WAYG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,mBAAmB,EACxD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,mBAAmB,CAAC,SAAS,CAAC,GACvC,IAAI,CAAC;QAER;;;;WAIG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,mBAAmB,EAC5D,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;QAER;;WAEG;QACH,OAAO,IAAI,IAAI,CAAC;KACjB;CACF"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { IMusicContentCenterEventHandler } from '../IAgoraMusicContentCenter';
|
|
2
|
-
import { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
3
|
-
export declare type IMusicContentCenterEvent = IMusicContentCenterEventHandler;
|
|
4
|
-
declare module '../IAgoraMusicContentCenter' {
|
|
5
|
-
interface IMusicContentCenter {
|
|
6
|
-
_addListenerPreCheck<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @ignore
|
|
9
|
-
*/
|
|
10
|
-
addListener<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType, listener: IMusicContentCenterEvent[EventType]): EmitterSubscription;
|
|
11
|
-
/**
|
|
12
|
-
* @ignore
|
|
13
|
-
*/
|
|
14
|
-
removeListener<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType, listener: IMusicContentCenterEvent[EventType]): void;
|
|
15
|
-
/**
|
|
16
|
-
* @ignore
|
|
17
|
-
*/
|
|
18
|
-
removeAllListeners<EventType extends keyof IMusicContentCenterEvent>(eventType?: EventType): void;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
import { IMusicContentCenterEventHandler } from '../IAgoraMusicContentCenter';
|
|
2
|
+
import type { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
3
|
+
export declare type IMusicContentCenterEvent = IMusicContentCenterEventHandler;
|
|
4
|
+
declare module '../IAgoraMusicContentCenter' {
|
|
5
|
+
interface IMusicContentCenter {
|
|
6
|
+
_addListenerPreCheck<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @ignore
|
|
9
|
+
*/
|
|
10
|
+
addListener<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType, listener: IMusicContentCenterEvent[EventType]): EmitterSubscription;
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
|
+
removeListener<EventType extends keyof IMusicContentCenterEvent>(eventType: EventType, listener: IMusicContentCenterEvent[EventType]): void;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
18
|
+
removeAllListeners<EventType extends keyof IMusicContentCenterEvent>(eventType?: EventType): void;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=IAgoraMusicContentCenterExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMusicContentCenterExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraMusicContentCenterExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,oBAAY,wBAAwB,GAAG,+BAA+B,CAAC;AAEvE,OAAO,QAAQ,6BAA6B,CAAC;IAC3C,UAAU,mBAAmB;QAC3B,oBAAoB,CAAC,SAAS,SAAS,MAAM,wBAAwB,EACnE,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;WAEG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,wBAAwB,EAC1D,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAC5C,mBAAmB,CAAC;QAEvB;;WAEG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,wBAAwB,EAC7D,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,wBAAwB,CAAC,SAAS,CAAC,GAC5C,IAAI,CAAC;QAER;;WAEG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,wBAAwB,EACjE,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;KACT;CACF"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=IAgoraRhythmPlayerExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraRhythmPlayerExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraRhythmPlayerExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=IAgoraRtcEngineExExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraRtcEngineExExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraRtcEngineExExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IAudioSpectrumObserver } from '../AgoraMediaBase';
|
|
3
|
-
import {
|
|
4
|
-
import { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
5
|
-
export declare type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver;
|
|
6
|
-
declare module '../IAgoraRtcEngine' {
|
|
7
|
-
interface IRtcEngine {
|
|
8
|
-
_addListenerPreCheck<EventType extends keyof IRtcEngineEvent>(eventType: EventType): boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Adds one IRtcEngineEvent listener.
|
|
11
|
-
* After calling this method, you can listen for the corresponding events in the IRtcEngine object and obtain data through IRtcEngineEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
12
|
-
*
|
|
13
|
-
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
14
|
-
*
|
|
15
|
-
* @param listener The callback function for eventType. Take adding a listener for onJoinChannelSuccess as an example: // Create an onJoinChannelSuccess object
|
|
16
|
-
* const onJoinChannelSuccess = (connection: RtcConnection, elapsed: number) => {};
|
|
17
|
-
* // Add one onJoinChannelSuccess listener
|
|
18
|
-
* engine.addListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
19
|
-
*/
|
|
20
|
-
addListener<EventType extends keyof IRtcEngineEvent>(eventType: EventType, listener: IRtcEngineEvent[EventType]): EmitterSubscription;
|
|
21
|
-
/**
|
|
22
|
-
* Removes the specified IRtcEngineEvent listener.
|
|
23
|
-
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
24
|
-
*
|
|
25
|
-
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
26
|
-
*
|
|
27
|
-
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onJoinChannelSuccess as an example: // Create an onJoinChannelSuccess object
|
|
28
|
-
* const onJoinChannelSuccess = (connection: RtcConnection, elapsed: number) => {};
|
|
29
|
-
* // Add one onJoinChannelSuccess listener
|
|
30
|
-
* engine.addListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
31
|
-
* // Remove the onJoinChannelSuccess listener
|
|
32
|
-
* engine.removeListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
33
|
-
*/
|
|
34
|
-
removeListener<EventType extends keyof IRtcEngineEvent>(eventType: EventType, listener: IRtcEngineEvent[EventType]): void;
|
|
35
|
-
/**
|
|
36
|
-
* Removes all listeners for the specified event.
|
|
37
|
-
*
|
|
38
|
-
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
39
|
-
*/
|
|
40
|
-
removeAllListeners<EventType extends keyof IRtcEngineEvent>(eventType?: EventType): void;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
import { IAudioEncodedFrameObserver } from '../AgoraBase';
|
|
2
|
+
import { IAudioSpectrumObserver } from '../AgoraMediaBase';
|
|
3
|
+
import { IDirectCdnStreamingEventHandler, IMetadataObserver, IRtcEngineEventHandler } from '../IAgoraRtcEngine';
|
|
4
|
+
import type { EmitterSubscription } from '../internal/emitter/EventEmitter';
|
|
5
|
+
export declare type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver;
|
|
6
|
+
declare module '../IAgoraRtcEngine' {
|
|
7
|
+
interface IRtcEngine {
|
|
8
|
+
_addListenerPreCheck<EventType extends keyof IRtcEngineEvent>(eventType: EventType): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Adds one IRtcEngineEvent listener.
|
|
11
|
+
* After calling this method, you can listen for the corresponding events in the IRtcEngine object and obtain data through IRtcEngineEvent. Depending on your project needs, you can add multiple listeners for the same event.
|
|
12
|
+
*
|
|
13
|
+
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
14
|
+
*
|
|
15
|
+
* @param listener The callback function for eventType. Take adding a listener for onJoinChannelSuccess as an example: // Create an onJoinChannelSuccess object
|
|
16
|
+
* const onJoinChannelSuccess = (connection: RtcConnection, elapsed: number) => {};
|
|
17
|
+
* // Add one onJoinChannelSuccess listener
|
|
18
|
+
* engine.addListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
19
|
+
*/
|
|
20
|
+
addListener<EventType extends keyof IRtcEngineEvent>(eventType: EventType, listener: IRtcEngineEvent[EventType]): EmitterSubscription;
|
|
21
|
+
/**
|
|
22
|
+
* Removes the specified IRtcEngineEvent listener.
|
|
23
|
+
* For listened events, if you no longer need to receive the callback message, you can call this method to remove the corresponding listener.
|
|
24
|
+
*
|
|
25
|
+
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
26
|
+
*
|
|
27
|
+
* @param listener The callback function for eventType. Must pass in the same function object in addListener . Take removing the listener for onJoinChannelSuccess as an example: // Create an onJoinChannelSuccess object
|
|
28
|
+
* const onJoinChannelSuccess = (connection: RtcConnection, elapsed: number) => {};
|
|
29
|
+
* // Add one onJoinChannelSuccess listener
|
|
30
|
+
* engine.addListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
31
|
+
* // Remove the onJoinChannelSuccess listener
|
|
32
|
+
* engine.removeListener('onJoinChannelSuccess', onJoinChannelSuccess);
|
|
33
|
+
*/
|
|
34
|
+
removeListener<EventType extends keyof IRtcEngineEvent>(eventType: EventType, listener: IRtcEngineEvent[EventType]): void;
|
|
35
|
+
/**
|
|
36
|
+
* Removes all listeners for the specified event.
|
|
37
|
+
*
|
|
38
|
+
* @param eventType The name of the target event to listen for. See IRtcEngineEvent.
|
|
39
|
+
*/
|
|
40
|
+
removeAllListeners<EventType extends keyof IRtcEngineEvent>(eventType?: EventType): void;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=IAgoraRtcEngineExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraRtcEngineExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraRtcEngineExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EACL,+BAA+B,EAC/B,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,oBAAY,eAAe,GAAG,sBAAsB,GAClD,+BAA+B,GAC/B,iBAAiB,GACjB,0BAA0B,GAC1B,sBAAsB,CAAC;AAEzB,OAAO,QAAQ,oBAAoB,CAAC;IAClC,UAAU,UAAU;QAClB,oBAAoB,CAAC,SAAS,SAAS,MAAM,eAAe,EAC1D,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;;;;;;;;;WAUG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,eAAe,EACjD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe,CAAC,SAAS,CAAC,GACnC,mBAAmB,CAAC;QAEvB;;;;;;;;;;;;WAYG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,eAAe,EACpD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe,CAAC,SAAS,CAAC,GACnC,IAAI,CAAC;QAER;;;;WAIG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,eAAe,EACxD,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;KACT;CACF"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=IAgoraSpatialAudioExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraSpatialAudioExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraSpatialAudioExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=IAudioDeviceManagerExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAudioDeviceManagerExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAudioDeviceManagerExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { IAudioEncodedFrameObserver } from '../AgoraBase';
|
|
2
|
-
export declare function processIAudioEncodedFrameObserver(handler: IAudioEncodedFrameObserver, event: string, jsonParams: any): void;
|
|
1
|
+
import { IAudioEncodedFrameObserver } from '../AgoraBase';
|
|
2
|
+
export declare function processIAudioEncodedFrameObserver(handler: IAudioEncodedFrameObserver, event: string, jsonParams: any): void;
|
|
3
|
+
//# sourceMappingURL=AgoraBaseImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgoraBaseImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/AgoraBaseImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAE1D,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAiChB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { IAudioFrameObserverBase,
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
7
|
-
export declare function
|
|
1
|
+
import { IAudioFrameObserver, IAudioFrameObserverBase, IAudioPcmFrameSink, IAudioSpectrumObserver, IMediaRecorderObserver, IVideoEncodedFrameObserver, IVideoFrameObserver } from '../AgoraMediaBase';
|
|
2
|
+
export declare function processIAudioPcmFrameSink(handler: IAudioPcmFrameSink, event: string, jsonParams: any): void;
|
|
3
|
+
export declare function processIAudioFrameObserverBase(handler: IAudioFrameObserverBase, event: string, jsonParams: any): void;
|
|
4
|
+
export declare function processIAudioFrameObserver(handler: IAudioFrameObserver, event: string, jsonParams: any): void;
|
|
5
|
+
export declare function processIAudioSpectrumObserver(handler: IAudioSpectrumObserver, event: string, jsonParams: any): void;
|
|
6
|
+
export declare function processIVideoEncodedFrameObserver(handler: IVideoEncodedFrameObserver, event: string, jsonParams: any): void;
|
|
7
|
+
export declare function processIVideoFrameObserver(handler: IVideoFrameObserver, event: string, jsonParams: any): void;
|
|
8
|
+
export declare function processIMediaRecorderObserver(handler: IMediaRecorderObserver, event: string, jsonParams: any): void;
|
|
9
|
+
//# sourceMappingURL=AgoraMediaBaseImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgoraMediaBaseImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/AgoraMediaBaseImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAShB;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QA8BhB;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,mBAAmB,EAC5B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAahB;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,sBAAsB,EAC/B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAkBhB;AAED,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAchB;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,mBAAmB,EAC5B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QA8ChB;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,sBAAsB,EAC/B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAwBhB"}
|
|
@@ -1,43 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare class IMediaEngineImpl implements IMediaEngine {
|
|
5
|
-
registerAudioFrameObserver(observer: IAudioFrameObserver): number;
|
|
6
|
-
protected getApiTypeFromRegisterAudioFrameObserver(observer: IAudioFrameObserver): string;
|
|
7
|
-
registerVideoFrameObserver(observer: IVideoFrameObserver): number;
|
|
8
|
-
protected getApiTypeFromRegisterVideoFrameObserver(observer: IVideoFrameObserver): string;
|
|
9
|
-
registerVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
|
|
10
|
-
protected getApiTypeFromRegisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): string;
|
|
11
|
-
pushAudioFrame(
|
|
12
|
-
protected getApiTypeFromPushAudioFrame(
|
|
13
|
-
|
|
14
|
-
protected
|
|
15
|
-
|
|
16
|
-
protected
|
|
17
|
-
|
|
18
|
-
protected
|
|
19
|
-
|
|
20
|
-
protected
|
|
21
|
-
|
|
22
|
-
protected
|
|
23
|
-
|
|
24
|
-
protected
|
|
25
|
-
|
|
26
|
-
protected
|
|
27
|
-
|
|
28
|
-
protected
|
|
29
|
-
|
|
30
|
-
protected
|
|
31
|
-
|
|
32
|
-
protected
|
|
33
|
-
|
|
34
|
-
protected
|
|
35
|
-
|
|
36
|
-
protected
|
|
37
|
-
|
|
38
|
-
protected
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
unregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
|
|
42
|
-
protected getApiTypeFromUnregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): string;
|
|
43
|
-
}
|
|
1
|
+
import { AudioTrackConfig, AudioTrackType, EncodedVideoFrameInfo, SenderOptions } from '../AgoraBase';
|
|
2
|
+
import { AudioFrame, ExternalVideoFrame, ExternalVideoSourceType, IAudioFrameObserver, IVideoEncodedFrameObserver, IVideoFrameObserver } from '../AgoraMediaBase';
|
|
3
|
+
import { IMediaEngine } from '../IAgoraMediaEngine';
|
|
4
|
+
export declare class IMediaEngineImpl implements IMediaEngine {
|
|
5
|
+
registerAudioFrameObserver(observer: IAudioFrameObserver): number;
|
|
6
|
+
protected getApiTypeFromRegisterAudioFrameObserver(observer: IAudioFrameObserver): string;
|
|
7
|
+
registerVideoFrameObserver(observer: IVideoFrameObserver): number;
|
|
8
|
+
protected getApiTypeFromRegisterVideoFrameObserver(observer: IVideoFrameObserver): string;
|
|
9
|
+
registerVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
|
|
10
|
+
protected getApiTypeFromRegisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): string;
|
|
11
|
+
pushAudioFrame(frame: AudioFrame, trackId?: number): number;
|
|
12
|
+
protected getApiTypeFromPushAudioFrame(frame: AudioFrame, trackId?: number): string;
|
|
13
|
+
pullAudioFrame(): AudioFrame;
|
|
14
|
+
protected getApiTypeFromPullAudioFrame(): string;
|
|
15
|
+
setExternalVideoSource(enabled: boolean, useTexture: boolean, sourceType?: ExternalVideoSourceType, encodedVideoOption?: SenderOptions): number;
|
|
16
|
+
protected getApiTypeFromSetExternalVideoSource(enabled: boolean, useTexture: boolean, sourceType?: ExternalVideoSourceType, encodedVideoOption?: SenderOptions): string;
|
|
17
|
+
setExternalAudioSource(enabled: boolean, sampleRate: number, channels: number, localPlayback?: boolean, publish?: boolean): number;
|
|
18
|
+
protected getApiTypeFromSetExternalAudioSource(enabled: boolean, sampleRate: number, channels: number, localPlayback?: boolean, publish?: boolean): string;
|
|
19
|
+
createCustomAudioTrack(trackType: AudioTrackType, config: AudioTrackConfig): number;
|
|
20
|
+
protected getApiTypeFromCreateCustomAudioTrack(trackType: AudioTrackType, config: AudioTrackConfig): string;
|
|
21
|
+
destroyCustomAudioTrack(trackId: number): number;
|
|
22
|
+
protected getApiTypeFromDestroyCustomAudioTrack(trackId: number): string;
|
|
23
|
+
setExternalAudioSink(enabled: boolean, sampleRate: number, channels: number): number;
|
|
24
|
+
protected getApiTypeFromSetExternalAudioSink(enabled: boolean, sampleRate: number, channels: number): string;
|
|
25
|
+
enableCustomAudioLocalPlayback(trackId: number, enabled: boolean): number;
|
|
26
|
+
protected getApiTypeFromEnableCustomAudioLocalPlayback(trackId: number, enabled: boolean): string;
|
|
27
|
+
pushVideoFrame(frame: ExternalVideoFrame, videoTrackId?: number): number;
|
|
28
|
+
protected getApiTypeFromPushVideoFrame(frame: ExternalVideoFrame, videoTrackId?: number): string;
|
|
29
|
+
pushEncodedVideoImage(imageBuffer: Uint8Array, length: number, videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId?: number): number;
|
|
30
|
+
protected getApiTypeFromPushEncodedVideoImage(imageBuffer: Uint8Array, length: number, videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId?: number): string;
|
|
31
|
+
release(): void;
|
|
32
|
+
protected getApiTypeFromRelease(): string;
|
|
33
|
+
unregisterAudioFrameObserver(observer: IAudioFrameObserver): number;
|
|
34
|
+
protected getApiTypeFromUnregisterAudioFrameObserver(observer: IAudioFrameObserver): string;
|
|
35
|
+
unregisterVideoFrameObserver(observer: IVideoFrameObserver): number;
|
|
36
|
+
protected getApiTypeFromUnregisterVideoFrameObserver(observer: IVideoFrameObserver): string;
|
|
37
|
+
unregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
|
|
38
|
+
protected getApiTypeFromUnregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): string;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=IAgoraMediaEngineImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraMediaEngineImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/IAgoraMediaEngineImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,aAAa,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,0BAA0B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM;IAYjE,SAAS,CAAC,wCAAwC,CAChD,QAAQ,EAAE,mBAAmB,GAC5B,MAAM;IAIT,0BAA0B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM;IAYjE,SAAS,CAAC,wCAAwC,CAChD,QAAQ,EAAE,mBAAmB,GAC5B,MAAM;IAIT,iCAAiC,CAC/B,QAAQ,EAAE,0BAA0B,GACnC,MAAM;IAaT,SAAS,CAAC,+CAA+C,CACvD,QAAQ,EAAE,0BAA0B,GACnC,MAAM;IAIT,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,GAAE,MAAU,GAAG,MAAM;IAgB9D,SAAS,CAAC,4BAA4B,CACpC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,MAAU,GAClB,MAAM;IAIT,cAAc,IAAI,UAAU;IAQ5B,SAAS,CAAC,4BAA4B,IAAI,MAAM;IAIhD,sBAAsB,CACpB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,EACnB,UAAU,GAAE,uBAA4D,EACxE,kBAAkB,GAAE,aAAmC,GACtD,MAAM;IAyBT,SAAS,CAAC,oCAAoC,CAC5C,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,EACnB,UAAU,GAAE,uBAA4D,EACxE,kBAAkB,GAAE,aAAmC,GACtD,MAAM;IAIT,sBAAsB,CACpB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,aAAa,GAAE,OAAe,EAC9B,OAAO,GAAE,OAAc,GACtB,MAAM;IA4BT,SAAS,CAAC,oCAAoC,CAC5C,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,aAAa,GAAE,OAAe,EAC9B,OAAO,GAAE,OAAc,GACtB,MAAM;IAIT,sBAAsB,CACpB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,gBAAgB,GACvB,MAAM;IAmBT,SAAS,CAAC,oCAAoC,CAC5C,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,gBAAgB,GACvB,MAAM;IAIT,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAchD,SAAS,CAAC,qCAAqC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAIxE,oBAAoB,CAClB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,MAAM;IAsBT,SAAS,CAAC,kCAAkC,CAC1C,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,GACf,MAAM;IAIT,8BAA8B,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM;IAmBzE,SAAS,CAAC,4CAA4C,CACpD,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,OAAO,GACf,MAAM;IAIT,cAAc,CAAC,KAAK,EAAE,kBAAkB,EAAE,YAAY,GAAE,MAAU,GAAG,MAAM;IAgB3E,SAAS,CAAC,4BAA4B,CACpC,KAAK,EAAE,kBAAkB,EACzB,YAAY,GAAE,MAAU,GACvB,MAAM;IAIT,qBAAqB,CACnB,WAAW,EAAE,UAAU,EACvB,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,GAAE,MAAU,GACvB,MAAM;IAwBT,SAAS,CAAC,mCAAmC,CAC3C,WAAW,EAAE,UAAU,EACvB,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,GAAE,MAAU,GACvB,MAAM;IAIT,OAAO,IAAI,IAAI;IAMf,SAAS,CAAC,qBAAqB,IAAI,MAAM;IAIzC,4BAA4B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM;IAYnE,SAAS,CAAC,0CAA0C,CAClD,QAAQ,EAAE,mBAAmB,GAC5B,MAAM;IAIT,4BAA4B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM;IAYnE,SAAS,CAAC,0CAA0C,CAClD,QAAQ,EAAE,mBAAmB,GAC5B,MAAM;IAIT,mCAAmC,CACjC,QAAQ,EAAE,0BAA0B,GACnC,MAAM;IAaT,SAAS,CAAC,iDAAiD,CACzD,QAAQ,EAAE,0BAA0B,GACnC,MAAM;CAGV"}
|