agora-electron-sdk 4.2.6 → 4.3.0-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 +20 -0
- package/js/Private/AgoraBase.js +139 -174
- package/js/Private/AgoraMediaBase.js +49 -20
- package/js/Private/AgoraMediaPlayerTypes.js +32 -23
- package/js/Private/IAgoraH265Transcoder.js +39 -0
- package/js/Private/IAgoraMediaStreamingSource.js +32 -32
- package/js/Private/IAgoraMusicContentCenter.js +19 -19
- package/js/Private/IAgoraRhythmPlayer.js +9 -9
- package/js/Private/IAgoraRtcEngine.js +12 -12
- package/js/Private/IAgoraSpatialAudio.js +3 -31
- package/js/Private/extension/IAgoraH265TranscoderExtension.js +2 -0
- package/js/Private/impl/AgoraMediaBaseImpl.js +26 -2
- package/js/Private/impl/IAgoraH265TranscoderImpl.js +119 -0
- package/js/Private/impl/IAgoraMediaEngineImpl.js +13 -13
- package/js/Private/impl/IAgoraMediaPlayerImpl.js +92 -74
- package/js/Private/impl/IAgoraMediaPlayerSourceImpl.js +12 -2
- package/js/Private/impl/IAgoraMediaRecorderImpl.js +2 -2
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +20 -20
- package/js/Private/impl/IAgoraRtcEngineExImpl.js +66 -84
- package/js/Private/impl/IAgoraRtcEngineImpl.js +456 -440
- package/js/Private/impl/IAgoraSpatialAudioImpl.js +157 -181
- package/js/Private/impl/IAudioDeviceManagerImpl.js +22 -22
- package/js/Private/internal/AgoraH265TranscoderInternal.js +86 -0
- package/js/Private/internal/AgoraMediaBaseInternal.js +34 -0
- package/js/Private/internal/IrisApiEngine.js +35 -20
- package/js/Private/internal/LocalSpatialAudioEngineInternal.js +0 -39
- package/js/Private/internal/MediaPlayerInternal.js +22 -21
- package/js/Private/internal/MusicContentCenterInternal.js +1 -4
- package/js/Private/internal/RtcEngineExInternal.js +101 -134
- package/js/Private/ti/AgoraMediaBase-ti.js +1 -1
- package/js/Private/ti/IAgoraH265Transcoder-ti.js +40 -0
- package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +4 -2
- package/js/Private/ti/IAgoraMusicContentCenter-ti.js +5 -5
- package/js/Private/ti/IAgoraRtcEngine-ti.js +12 -11
- package/js/Renderer/AgoraView.js +28 -14
- package/js/Renderer/IRenderer.js +65 -17
- package/js/Renderer/IRendererManager.js +230 -0
- package/js/Renderer/RendererCache.js +170 -0
- package/js/Renderer/RendererManager.js +49 -460
- package/js/Renderer/WebGLRenderer/index.js +82 -234
- package/js/Renderer/YUVCanvasRenderer/index.js +27 -147
- package/js/Types.js +6 -6
- package/js/Utils.js +37 -88
- package/package.json +4 -3
- package/scripts/clean.js +12 -0
- package/scripts/synclib.js +8 -2
- package/ts/Private/AgoraBase.ts +225 -201
- package/ts/Private/AgoraMediaBase.ts +63 -25
- package/ts/Private/AgoraMediaPlayerTypes.ts +67 -24
- package/ts/Private/IAgoraH265Transcoder.ts +73 -0
- package/ts/Private/IAgoraLog.ts +1 -0
- package/ts/Private/IAgoraMediaEngine.ts +12 -7
- package/ts/Private/IAgoraMediaPlayer.ts +47 -21
- package/ts/Private/IAgoraMediaPlayerSource.ts +27 -6
- package/ts/Private/IAgoraMediaStreamingSource.ts +38 -37
- package/ts/Private/IAgoraMusicContentCenter.ts +20 -20
- package/ts/Private/IAgoraRhythmPlayer.ts +7 -6
- package/ts/Private/IAgoraRtcEngine.ts +407 -364
- package/ts/Private/IAgoraRtcEngineEx.ts +25 -61
- package/ts/Private/IAgoraSpatialAudio.ts +80 -191
- package/ts/Private/IAudioDeviceManager.ts +27 -14
- package/ts/Private/extension/IAgoraH265TranscoderExtension.ts +39 -0
- package/ts/Private/impl/AgoraMediaBaseImpl.ts +25 -1
- package/ts/Private/impl/IAgoraH265TranscoderImpl.ts +152 -0
- package/ts/Private/impl/IAgoraMediaEngineImpl.ts +13 -13
- package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +110 -81
- package/ts/Private/impl/IAgoraMediaPlayerSourceImpl.ts +17 -2
- package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +2 -2
- package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +21 -21
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +71 -106
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +589 -572
- package/ts/Private/impl/IAgoraSpatialAudioImpl.ts +211 -218
- package/ts/Private/impl/IAudioDeviceManagerImpl.ts +22 -22
- package/ts/Private/internal/AgoraH265TranscoderInternal.ts +97 -0
- package/ts/Private/internal/AgoraMediaBaseInternal.ts +15 -0
- package/ts/Private/internal/IrisApiEngine.ts +42 -27
- package/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +1 -86
- package/ts/Private/internal/MediaPlayerInternal.ts +20 -29
- package/ts/Private/internal/MusicContentCenterInternal.ts +1 -5
- package/ts/Private/internal/RtcEngineExInternal.ts +91 -204
- package/ts/Private/ti/AgoraMediaBase-ti.ts +1 -1
- package/ts/Private/ti/IAgoraH265Transcoder-ti.ts +16 -0
- package/ts/Private/ti/IAgoraMediaPlayerSource-ti.ts +4 -2
- package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +5 -5
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +12 -11
- package/ts/Renderer/AgoraView.ts +29 -19
- package/ts/Renderer/IRenderer.ts +71 -22
- package/ts/Renderer/IRendererManager.ts +273 -19
- package/ts/Renderer/RendererCache.ts +167 -0
- package/ts/Renderer/RendererManager.ts +62 -607
- package/ts/Renderer/WebGLRenderer/index.ts +117 -295
- package/ts/Renderer/YUVCanvasRenderer/index.ts +45 -198
- package/ts/Types.ts +17 -194
- package/ts/Utils.ts +36 -100
- package/types/Private/AgoraBase.d.ts +219 -200
- package/types/Private/AgoraBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaBase.d.ts +63 -27
- package/types/Private/AgoraMediaBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaPlayerTypes.d.ts +65 -24
- package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -1
- package/types/Private/IAgoraH265Transcoder.d.ts +28 -0
- package/types/Private/IAgoraH265Transcoder.d.ts.map +1 -0
- package/types/Private/IAgoraLog.d.ts.map +1 -1
- package/types/Private/IAgoraMediaEngine.d.ts +11 -6
- package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayer.d.ts +42 -20
- package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayerSource.d.ts +23 -6
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -1
- package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -1
- package/types/Private/IAgoraMusicContentCenter.d.ts +19 -19
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
- package/types/Private/IAgoraRhythmPlayer.d.ts +6 -6
- package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngine.d.ts +329 -293
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +21 -53
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
- package/types/Private/IAgoraSpatialAudio.d.ts +56 -167
- package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -1
- package/types/Private/IAudioDeviceManager.d.ts +27 -14
- package/types/Private/IAudioDeviceManager.d.ts.map +1 -1
- package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts +24 -0
- package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts +5 -1
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts +15 -0
- package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +6 -4
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +2 -4
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +30 -25
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts +20 -22
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -1
- package/types/Private/internal/AgoraH265TranscoderInternal.d.ts +14 -0
- package/types/Private/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts +8 -0
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
- package/types/Private/internal/IrisApiEngine.d.ts +5 -2
- package/types/Private/internal/IrisApiEngine.d.ts.map +1 -1
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts +0 -15
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -1
- package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts +0 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -1
- package/types/Private/internal/RtcEngineExInternal.d.ts +7 -13
- package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -1
- package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts +8 -0
- package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -1
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -1
- package/types/Renderer/AgoraView.d.ts +4 -4
- package/types/Renderer/AgoraView.d.ts.map +1 -1
- package/types/Renderer/IRenderer.d.ts +11 -9
- package/types/Renderer/IRenderer.d.ts.map +1 -1
- package/types/Renderer/IRendererManager.d.ts +50 -12
- package/types/Renderer/IRendererManager.d.ts.map +1 -1
- package/types/Renderer/RendererCache.d.ts +36 -0
- package/types/Renderer/RendererCache.d.ts.map +1 -0
- package/types/Renderer/RendererManager.d.ts +13 -139
- package/types/Renderer/RendererManager.d.ts.map +1 -1
- package/types/Renderer/WebGLRenderer/index.d.ts +3 -18
- package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -1
- package/types/Renderer/YUVCanvasRenderer/index.d.ts +4 -10
- package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -1
- package/types/Types.d.ts +11 -187
- package/types/Types.d.ts.map +1 -1
- package/types/Utils.d.ts +3 -20
- package/types/Utils.d.ts.map +1 -1
|
@@ -59,232 +59,103 @@ export declare class SpatialAudioZone {
|
|
|
59
59
|
audioAttenuation?: number;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* This class
|
|
62
|
+
* This class calculates user positions through the SDK to implement the spatial audio effect.
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
* This class inherits from IBaseSpatialAudioEngine. Before calling other APIs in this class, you need to call the initialize method to initialize this class.
|
|
65
65
|
*/
|
|
66
|
-
export declare abstract class
|
|
66
|
+
export declare abstract class ILocalSpatialAudioEngine {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* This method releases all resources under IBaseSpatialAudioEngine. When the user does not need to use the spatial audio effect, you can call this method to release resources for other operations. After calling this method, you can no longer use any of the APIs under IBaseSpatialAudioEngine. Call this method before the release method under IRtcEngine.
|
|
68
|
+
* @ignore
|
|
71
69
|
*/
|
|
72
70
|
abstract release(): void;
|
|
73
71
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* If the number of receivable streams exceeds the set value, the local user receives the maxCount streams that are closest to the local user.
|
|
77
|
-
*
|
|
78
|
-
* @param maxCount The maximum number of streams that a user can receive within a specified audio reception range. The value of this parameter should be ≤ 16, and the default value is 10.
|
|
79
|
-
*
|
|
80
|
-
* @returns
|
|
81
|
-
* 0: Success.
|
|
82
|
-
* < 0: Failure.
|
|
83
|
-
*/
|
|
84
|
-
abstract setMaxAudioRecvCount(maxCount: number): number;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the audio reception range of the local user.
|
|
87
|
-
*
|
|
88
|
-
* After the setting is successful, the local user can only hear the remote users within the setting range or belonging to the same team. You can call this method at any time to update the audio reception range.
|
|
89
|
-
*
|
|
90
|
-
* @param range The maximum audio reception range. The unit is meters. The value of this parameter must be greater than 0, and the default value is 20.
|
|
91
|
-
*
|
|
92
|
-
* @returns
|
|
93
|
-
* 0: Success.
|
|
94
|
-
* < 0: Failure.
|
|
95
|
-
*/
|
|
96
|
-
abstract setAudioRecvRange(range: number): number;
|
|
97
|
-
/**
|
|
98
|
-
* Sets the length (in meters) of the game engine distance per unit.
|
|
99
|
-
*
|
|
100
|
-
* In a game engine, the unit of distance is customized, while in the Agora spatial audio algorithm, distance is measured in meters. By default, the SDK converts the game engine distance per unit to one meter. You can call this method to convert the game engine distance per unit to a specified number of meters.
|
|
72
|
+
* Initializes ILocalSpatialAudioEngine.
|
|
101
73
|
*
|
|
102
|
-
*
|
|
74
|
+
* Before calling other methods of the ILocalSpatialAudioEngine class, you need to call this method to initialize ILocalSpatialAudioEngine.
|
|
75
|
+
* The SDK supports creating only one ILocalSpatialAudioEngine instance for an app.
|
|
103
76
|
*
|
|
104
77
|
* @returns
|
|
105
78
|
* 0: Success.
|
|
106
79
|
* < 0: Failure.
|
|
107
80
|
*/
|
|
108
|
-
abstract
|
|
81
|
+
abstract initialize(): number;
|
|
109
82
|
/**
|
|
110
|
-
* Updates the spatial position of the
|
|
83
|
+
* Updates the spatial position of the specified remote user.
|
|
111
84
|
*
|
|
112
|
-
*
|
|
85
|
+
* After successfully calling this method, the SDK calculates the spatial audio parameters based on the relative position of the local and remote user. Call this method after joinChannel.
|
|
113
86
|
*
|
|
114
|
-
* @param
|
|
115
|
-
* @param
|
|
116
|
-
* @param axisRight The unit vector of the y axis in the coordinate system. This parameter is an array of length 3, and the three values represent the front, right, and top coordinates in turn.
|
|
117
|
-
* @param axisUp The unit vector of the z axis in the coordinate system. This parameter is an array of length 3, and the three values represent the front, right, and top coordinates in turn.
|
|
87
|
+
* @param uid The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.
|
|
88
|
+
* @param posInfo The spatial position of the remote user. See RemoteVoicePositionInfo.
|
|
118
89
|
*
|
|
119
90
|
* @returns
|
|
120
91
|
* 0: Success.
|
|
121
92
|
* < 0: Failure.
|
|
122
93
|
*/
|
|
123
|
-
abstract
|
|
94
|
+
abstract updateRemotePosition(uid: number, posInfo: RemoteVoicePositionInfo): number;
|
|
124
95
|
/**
|
|
125
96
|
* @ignore
|
|
126
97
|
*/
|
|
127
|
-
abstract
|
|
98
|
+
abstract updateRemotePositionEx(uid: number, posInfo: RemoteVoicePositionInfo, connection: RtcConnection): number;
|
|
128
99
|
/**
|
|
129
|
-
*
|
|
100
|
+
* Removes the spatial position of the specified remote user.
|
|
130
101
|
*
|
|
131
|
-
* After
|
|
102
|
+
* After successfully calling this method, the local user no longer hears the specified remote user. After leaving the channel, to avoid wasting resources, you can also call this method to delete the spatial position of the specified remote user.
|
|
132
103
|
*
|
|
133
|
-
* @param
|
|
134
|
-
* @param positionInfo The spatial position of the media player. See RemoteVoicePositionInfo.
|
|
104
|
+
* @param uid The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.
|
|
135
105
|
*
|
|
136
106
|
* @returns
|
|
137
107
|
* 0: Success.
|
|
138
108
|
* < 0: Failure.
|
|
139
109
|
*/
|
|
140
|
-
abstract
|
|
110
|
+
abstract removeRemotePosition(uid: number): number;
|
|
141
111
|
/**
|
|
142
112
|
* @ignore
|
|
143
113
|
*/
|
|
144
|
-
abstract
|
|
145
|
-
/**
|
|
146
|
-
* Stops or resumes publishing the local audio stream.
|
|
147
|
-
*
|
|
148
|
-
* This method does not affect any ongoing audio recording, because it does not disable the audio capture device.
|
|
149
|
-
* Call this method after joinChannel.
|
|
150
|
-
* When using the spatial audio effect, if you need to set whether to stop subscribing to the audio stream of a specified user, Agora recommends calling this method instead of the muteLocalAudioStream method in IRtcEngine.
|
|
151
|
-
* A successful call of this method triggers the onUserMuteAudio and onRemoteAudioStateChanged callbacks on the remote client.
|
|
152
|
-
*
|
|
153
|
-
* @param mute Whether to stop publishing the local audio stream: true : Stop publishing the local audio stream. false : Publish the local audio stream.
|
|
154
|
-
*
|
|
155
|
-
* @returns
|
|
156
|
-
* 0: Success.
|
|
157
|
-
* < 0: Failure.
|
|
158
|
-
*/
|
|
159
|
-
abstract muteLocalAudioStream(mute: boolean): number;
|
|
114
|
+
abstract removeRemotePositionEx(uid: number, connection: RtcConnection): number;
|
|
160
115
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* After successfully calling this method, the local user stops or resumes subscribing to the audio streams of all remote users, including all subsequent users.
|
|
164
|
-
* Call this method after joinChannel.
|
|
165
|
-
* When using the spatial audio effect, if you need to set whether to stop subscribing to the audio streams of all remote users, Agora recommends calling this method instead of the muteAllRemoteAudioStreams method in IRtcEngine.
|
|
166
|
-
* After calling this method, you need to call updateSelfPosition and updateRemotePosition to update the spatial location of the local user and the remote user; otherwise, the settings in this method do not take effect.
|
|
167
|
-
*
|
|
168
|
-
* @param mute Whether to stop subscribing to the audio streams of all remote users: true : Stop subscribing to the audio streams of all remote users. false : Subscribe to the audio streams of all remote users.
|
|
169
|
-
*
|
|
170
|
-
* @returns
|
|
171
|
-
* 0: Success.
|
|
172
|
-
* < 0: Failure.
|
|
116
|
+
* @ignore
|
|
173
117
|
*/
|
|
174
|
-
abstract
|
|
118
|
+
abstract clearRemotePositionsEx(connection: RtcConnection): number;
|
|
175
119
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* In virtual interactive scenarios, you can use this method to set the sound insulation area and sound attenuation coefficient. When the sound source (which can be the user or the media player) and the listener belong to the inside and outside of the sound insulation area, they can experience the attenuation effect of sound similar to the real environment when it encounters a building partition.
|
|
179
|
-
* When the sound source and the listener belong to the inside and outside of the sound insulation area, the sound attenuation effect is determined by the sound attenuation coefficient in SpatialAudioZone.
|
|
180
|
-
* If the user or media player is in the same sound insulation area, it is not affected by SpatialAudioZone, and the sound attenuation effect is determined by the attenuation parameter in setPlayerAttenuation or setRemoteAudioAttenuation. If you do not call setPlayerAttenuation or setRemoteAudioAttenuation, the default sound attenuation coefficient of the SDK is 0.5, which simulates the attenuation of the sound in the real environment.
|
|
181
|
-
* If the sound source and the receiver belong to two sound insulation areas, the receiver cannot hear the sound source. If this method is called multiple times, the last sound insulation area set takes effect.
|
|
182
|
-
*
|
|
183
|
-
* @param zones Sound insulation area settings. See SpatialAudioZone. On the Windows platform, it is necessary to ensure that the number of members in the zones array is equal to the value of zoneCount; otherwise, it may cause a crash.
|
|
184
|
-
* @param zoneCount The number of sound insulation areas.
|
|
185
|
-
*
|
|
186
|
-
* @returns
|
|
187
|
-
* 0: Success.
|
|
188
|
-
* < 0: Failure.
|
|
120
|
+
* @ignore
|
|
189
121
|
*/
|
|
190
|
-
abstract
|
|
122
|
+
abstract updateSelfPositionEx(position: number[], axisForward: number[], axisRight: number[], axisUp: number[], connection: RtcConnection): number;
|
|
191
123
|
/**
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* @param playerId The ID of the media player.
|
|
195
|
-
* @param attenuation The sound attenuation coefficient of the remote user or media player. The value range is [0,1]. The values are as follows:
|
|
196
|
-
* 0: Broadcast mode, where the volume and timbre are not attenuated with distance, and the volume and timbre heard by local users do not change regardless of distance.
|
|
197
|
-
* (0,0.5): Weak attenuation mode, that is, the volume and timbre are only weakly attenuated during the propagation process, and the sound can travel farther than the real environment.
|
|
198
|
-
* 0.5: (Default) simulates the attenuation of the volume in the real environment; the effect is equivalent to not setting the speaker_attenuation parameter.
|
|
199
|
-
* (0.5,1]: Strong attenuation mode, that is, the volume and timbre attenuate rapidly during the propagation process.
|
|
200
|
-
* @param forceSet Whether to force the sound attenuation effect of the media player: true : Force attenuation to set the attenuation of the media player. At this time, the attenuation coefficient of the sound insulation are set in the audioAttenuation in the SpatialAudioZone does not take effect for the media player. false : Do not force attenuation to set the sound attenuation effect of the media player, as shown in the following two cases.
|
|
201
|
-
* If the sound source and listener are inside and outside the sound isolation area, the sound attenuation effect is determined by the audioAttenuation in SpatialAudioZone.
|
|
202
|
-
* If the sound source and the listener are in the same sound insulation area or outside the same sound insulation area, the sound attenuation effect is determined by attenuation in this method.
|
|
203
|
-
*
|
|
204
|
-
* @returns
|
|
205
|
-
* 0: Success.
|
|
206
|
-
* < 0: Failure.
|
|
124
|
+
* @ignore
|
|
207
125
|
*/
|
|
208
|
-
abstract
|
|
126
|
+
abstract setMaxAudioRecvCount(maxCount: number): number;
|
|
209
127
|
/**
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* Call this method after joinChannel.
|
|
213
|
-
* When using the spatial audio effect, if you need to set whether to stop subscribing to the audio stream of a specified user, Agora recommends calling this method instead of the muteRemoteAudioStream method in IRtcEngine.
|
|
214
|
-
*
|
|
215
|
-
* @param uid The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.
|
|
216
|
-
* @param mute Whether to subscribe to the specified remote user's audio stream. true : Stop subscribing to the audio stream of the specified user. false : (Default) Subscribe to the audio stream of the specified user. The SDK decides whether to subscribe according to the distance between the local user and the remote user.
|
|
217
|
-
*
|
|
218
|
-
* @returns
|
|
219
|
-
* 0: Success.
|
|
220
|
-
* < 0: Failure.
|
|
128
|
+
* @ignore
|
|
221
129
|
*/
|
|
222
|
-
abstract
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* This class calculates user positions through the SDK to implement the spatial audio effect.
|
|
226
|
-
*
|
|
227
|
-
* This class inherits from IBaseSpatialAudioEngine. Before calling other APIs in this class, you need to call the initialize method to initialize this class.
|
|
228
|
-
*/
|
|
229
|
-
export declare abstract class ILocalSpatialAudioEngine extends IBaseSpatialAudioEngine {
|
|
130
|
+
abstract setAudioRecvRange(range: number): number;
|
|
230
131
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
* Before calling other methods of the ILocalSpatialAudioEngine class, you need to call this method to initialize ILocalSpatialAudioEngine.
|
|
234
|
-
* The SDK supports creating only one ILocalSpatialAudioEngine instance for an app.
|
|
235
|
-
*
|
|
236
|
-
* @returns
|
|
237
|
-
* 0: Success.
|
|
238
|
-
* < 0: Failure.
|
|
132
|
+
* @ignore
|
|
239
133
|
*/
|
|
240
|
-
abstract
|
|
134
|
+
abstract setDistanceUnit(unit: number): number;
|
|
241
135
|
/**
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* After successfully calling this method, the SDK calculates the spatial audio parameters based on the relative position of the local and remote user. Call this method after joinChannel.
|
|
245
|
-
*
|
|
246
|
-
* @param uid The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.
|
|
247
|
-
* @param posInfo The spatial position of the remote user. See RemoteVoicePositionInfo.
|
|
248
|
-
*
|
|
249
|
-
* @returns
|
|
250
|
-
* 0: Success.
|
|
251
|
-
* < 0: Failure.
|
|
136
|
+
* @ignore
|
|
252
137
|
*/
|
|
253
|
-
abstract
|
|
138
|
+
abstract updateSelfPosition(position: number[], axisForward: number[], axisRight: number[], axisUp: number[]): number;
|
|
254
139
|
/**
|
|
255
140
|
* @ignore
|
|
256
141
|
*/
|
|
257
|
-
abstract
|
|
142
|
+
abstract updatePlayerPositionInfo(playerId: number, positionInfo: RemoteVoicePositionInfo): number;
|
|
258
143
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* After successfully calling this method, the local user no longer hears the specified remote user. After leaving the channel, to avoid wasting resources, you can also call this method to delete the spatial position of the specified remote user.
|
|
262
|
-
*
|
|
263
|
-
* @param uid The user ID. This parameter must be the same as the user ID passed in when the user joined the channel.
|
|
264
|
-
*
|
|
265
|
-
* @returns
|
|
266
|
-
* 0: Success.
|
|
267
|
-
* < 0: Failure.
|
|
144
|
+
* @ignore
|
|
268
145
|
*/
|
|
269
|
-
abstract
|
|
146
|
+
abstract setParameters(params: string): number;
|
|
270
147
|
/**
|
|
271
148
|
* @ignore
|
|
272
149
|
*/
|
|
273
|
-
abstract
|
|
150
|
+
abstract muteLocalAudioStream(mute: boolean): number;
|
|
274
151
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
* After successfully calling this method, the local user no longer hears any remote users. After leaving the channel, to avoid wasting resources, you can also call this method to delete the spatial positions of all remote users.
|
|
278
|
-
*
|
|
279
|
-
* @returns
|
|
280
|
-
* 0: Success.
|
|
281
|
-
* < 0: Failure.
|
|
152
|
+
* @ignore
|
|
282
153
|
*/
|
|
283
|
-
abstract
|
|
154
|
+
abstract muteAllRemoteAudioStreams(mute: boolean): number;
|
|
284
155
|
/**
|
|
285
156
|
* @ignore
|
|
286
157
|
*/
|
|
287
|
-
abstract
|
|
158
|
+
abstract muteRemoteAudioStream(uid: number, mute: boolean): number;
|
|
288
159
|
/**
|
|
289
160
|
* Sets the sound attenuation effect for the specified user.
|
|
290
161
|
*
|
|
@@ -303,5 +174,23 @@ export declare abstract class ILocalSpatialAudioEngine extends IBaseSpatialAudio
|
|
|
303
174
|
* < 0: Failure.
|
|
304
175
|
*/
|
|
305
176
|
abstract setRemoteAudioAttenuation(uid: number, attenuation: number, forceSet: boolean): number;
|
|
177
|
+
/**
|
|
178
|
+
* @ignore
|
|
179
|
+
*/
|
|
180
|
+
abstract setZones(zones: SpatialAudioZone[], zoneCount: number): number;
|
|
181
|
+
/**
|
|
182
|
+
* @ignore
|
|
183
|
+
*/
|
|
184
|
+
abstract setPlayerAttenuation(playerId: number, attenuation: number, forceSet: boolean): number;
|
|
185
|
+
/**
|
|
186
|
+
* Removes the spatial positions of all remote users.
|
|
187
|
+
*
|
|
188
|
+
* After successfully calling this method, the local user no longer hears any remote users. After leaving the channel, to avoid wasting resources, you can also call this method to delete the spatial positions of all remote users.
|
|
189
|
+
*
|
|
190
|
+
* @returns
|
|
191
|
+
* 0: Success.
|
|
192
|
+
* < 0: Failure.
|
|
193
|
+
*/
|
|
194
|
+
abstract clearRemotePositions(): number;
|
|
306
195
|
}
|
|
307
196
|
//# sourceMappingURL=IAgoraSpatialAudio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAgoraSpatialAudio.d.ts","sourceRoot":"","sources":["../../ts/Private/IAgoraSpatialAudio.ts"],"names":[],"mappings":"AAAA,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,qBAAa,uBAAuB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,qBAAa,gBAAgB;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;GAIG;AACH,8BAAsB,
|
|
1
|
+
{"version":3,"file":"IAgoraSpatialAudio.d.ts","sourceRoot":"","sources":["../../ts/Private/IAgoraSpatialAudio.ts"],"names":[],"mappings":"AAAA,OAAO,yCAAyC,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,qBAAa,uBAAuB;IA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QAAQ,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;IAEvE;;OAEG;IACH,QAAQ,CAAC,oBAAoB,CAC3B,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,GAChB,MAAM;IAET;;;;;;;;OAQG;IACH,QAAQ,CAAC,oBAAoB,IAAI,MAAM;CACxC"}
|
|
@@ -56,11 +56,22 @@ export declare abstract class IAudioDeviceManager {
|
|
|
56
56
|
*/
|
|
57
57
|
abstract getPlaybackDeviceInfo(): AudioDeviceInfo;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Sets the volume of the audio playback device.
|
|
60
|
+
*
|
|
61
|
+
* This method applies to Windows only.
|
|
62
|
+
*
|
|
63
|
+
* @param volume The volume of the audio playback device. The value range is [0,255].
|
|
64
|
+
*
|
|
65
|
+
* @returns
|
|
66
|
+
* 0: Success.
|
|
67
|
+
* < 0: Failure.
|
|
60
68
|
*/
|
|
61
69
|
abstract setPlaybackDeviceVolume(volume: number): number;
|
|
62
70
|
/**
|
|
63
|
-
*
|
|
71
|
+
* Retrieves the volume of the audio playback device.
|
|
72
|
+
*
|
|
73
|
+
* @returns
|
|
74
|
+
* The volume of the audio playback device. The value range is [0,255].
|
|
64
75
|
*/
|
|
65
76
|
abstract getPlaybackDeviceVolume(): number;
|
|
66
77
|
/**
|
|
@@ -102,7 +113,12 @@ export declare abstract class IAudioDeviceManager {
|
|
|
102
113
|
*/
|
|
103
114
|
abstract setRecordingDeviceVolume(volume: number): number;
|
|
104
115
|
/**
|
|
105
|
-
*
|
|
116
|
+
* Retrieves the volume of the audio recording device.
|
|
117
|
+
*
|
|
118
|
+
* This method applies to Windows only.
|
|
119
|
+
*
|
|
120
|
+
* @returns
|
|
121
|
+
* The volume of the audio recording device. The value range is [0,255].
|
|
106
122
|
*/
|
|
107
123
|
abstract getRecordingDeviceVolume(): number;
|
|
108
124
|
/**
|
|
@@ -157,8 +173,7 @@ export declare abstract class IAudioDeviceManager {
|
|
|
157
173
|
/**
|
|
158
174
|
* Starts the audio playback device test.
|
|
159
175
|
*
|
|
160
|
-
* This method tests whether the audio playback
|
|
161
|
-
* Ensure that you call this method before joining a channel.
|
|
176
|
+
* This method tests whether the audio device for local playback works properly. Once a user starts the test, the SDK plays an audio file specified by the user. If the user can hear the audio, the playback device works properly. After calling this method, the SDK triggers the onAudioVolumeIndication callback every 100 ms, reporting uid = 1 and the volume information of the playback device. The difference between this method and the startEchoTest method is that the former checks if the local audio playback device is working properly, while the latter can check the audio and video devices and network conditions. Ensure that you call this method before joining a channel. After the test is completed, call stopPlaybackDeviceTest to stop the test before joining a channel.
|
|
162
177
|
*
|
|
163
178
|
* @param testAudioFilePath The path of the audio file. The data format is string in UTF-8.
|
|
164
179
|
* Supported file formats: wav, mp3, m4a, and aac.
|
|
@@ -172,8 +187,7 @@ export declare abstract class IAudioDeviceManager {
|
|
|
172
187
|
/**
|
|
173
188
|
* Stops the audio playback device test.
|
|
174
189
|
*
|
|
175
|
-
* This method stops the audio playback device test. You must call this method to stop the test after calling the startPlaybackDeviceTest method.
|
|
176
|
-
* Ensure that you call this method before joining a channel.
|
|
190
|
+
* This method stops the audio playback device test. You must call this method to stop the test after calling the startPlaybackDeviceTest method. Ensure that you call this method before joining a channel.
|
|
177
191
|
*
|
|
178
192
|
* @returns
|
|
179
193
|
* 0: Success.
|
|
@@ -181,23 +195,22 @@ export declare abstract class IAudioDeviceManager {
|
|
|
181
195
|
*/
|
|
182
196
|
abstract stopPlaybackDeviceTest(): number;
|
|
183
197
|
/**
|
|
184
|
-
* Starts the audio
|
|
198
|
+
* Starts the audio capturing device test.
|
|
185
199
|
*
|
|
186
|
-
* This method tests whether the audio
|
|
187
|
-
* Ensure that you call this method before joining a channel.
|
|
200
|
+
* This method tests whether the audio capturing device works properly. After calling this method, the SDK triggers the onAudioVolumeIndication callback at the time interval set in this method, which reports uid = 0 and the volume information of the capturing device. The difference between this method and the startEchoTest method is that the former checks if the local audio capturing device is working properly, while the latter can check the audio and video devices and network conditions. Ensure that you call this method before joining a channel. After the test is completed, call stopRecordingDeviceTest to stop the test before joining a channel.
|
|
188
201
|
*
|
|
189
|
-
* @param indicationInterval The
|
|
202
|
+
* @param indicationInterval The interval (ms) for triggering the onAudioVolumeIndication callback. This value should be set to greater than 10, otherwise, you will not receive the onAudioVolumeIndication callback and the SDK returns the error code -2. Agora recommends that you set this value to 100.
|
|
190
203
|
*
|
|
191
204
|
* @returns
|
|
192
205
|
* 0: Success.
|
|
193
206
|
* < 0: Failure.
|
|
207
|
+
* -2: Invalid parameters. Check your parameter settings.
|
|
194
208
|
*/
|
|
195
209
|
abstract startRecordingDeviceTest(indicationInterval: number): number;
|
|
196
210
|
/**
|
|
197
|
-
* Stops the audio
|
|
211
|
+
* Stops the audio capturing device test.
|
|
198
212
|
*
|
|
199
|
-
* This method stops the audio
|
|
200
|
-
* Ensure that you call this method before joining a channel.
|
|
213
|
+
* This method stops the audio capturing device test. You must call this method to stop the test after calling the startRecordingDeviceTest method. Ensure that you call this method before joining a channel.
|
|
201
214
|
*
|
|
202
215
|
* @returns
|
|
203
216
|
* 0: Success.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAudioDeviceManager.d.ts","sourceRoot":"","sources":["../../ts/Private/IAudioDeviceManager.ts"],"names":[],"mappings":"AAAA,OAAO,0CAA0C,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;OAEG;IACH,iBAAiB,MAAM;CACxB;AAED;;GAEG;AACH,8BAAsB,mBAAmB;IACvC;;;;;;OAMG;IACH,QAAQ,CAAC,wBAAwB,IAAI,eAAe,EAAE;IAEtD;;;;;;OAMG;IACH,QAAQ,CAAC,yBAAyB,IAAI,eAAe,EAAE;IAEvD;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,iBAAiB,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AQ,CAAC,wBAAwB,IAAI,eAAe;IAEpD;;;;;;;OAOG;IACH,QAAQ,CAAC,yBAAyB,IAAI,eAAe;CACtD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IH265TranscoderObserver } from '../IAgoraH265Transcoder';
|
|
2
|
+
export type IH265TranscoderEvent = IH265TranscoderObserver;
|
|
3
|
+
declare module '../IAgoraH265Transcoder' {
|
|
4
|
+
interface IH265Transcoder {
|
|
5
|
+
_addListenerPreCheck<EventType extends keyof IH265TranscoderEvent>(eventType: EventType): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
addListener<EventType extends keyof IH265TranscoderEvent>(eventType: EventType, listener: IH265TranscoderEvent[EventType]): void;
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
13
|
+
removeListener<EventType extends keyof IH265TranscoderEvent>(eventType: EventType, listener?: IH265TranscoderEvent[EventType]): void;
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
removeAllListeners<EventType extends keyof IH265TranscoderEvent>(eventType?: EventType): void;
|
|
18
|
+
/**
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
21
|
+
release(): void;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=IAgoraH265TranscoderExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraH265TranscoderExtension.d.ts","sourceRoot":"","sources":["../../../ts/Private/extension/IAgoraH265TranscoderExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;AAE3D,OAAO,QAAQ,yBAAyB,CAAC;IACvC,UAAU,eAAe;QACvB,oBAAoB,CAAC,SAAS,SAAS,MAAM,oBAAoB,EAC/D,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC;QAEX;;WAEG;QACH,WAAW,CAAC,SAAS,SAAS,MAAM,oBAAoB,EACtD,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,oBAAoB,CAAC,SAAS,CAAC,GACxC,IAAI,CAAC;QAER;;WAEG;QACH,cAAc,CAAC,SAAS,SAAS,MAAM,oBAAoB,EACzD,SAAS,EAAE,SAAS,EACpB,QAAQ,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,GACzC,IAAI,CAAC;QAER;;WAEG;QACH,kBAAkB,CAAC,SAAS,SAAS,MAAM,oBAAoB,EAC7D,SAAS,CAAC,EAAE,SAAS,GACpB,IAAI,CAAC;QAER;;WAEG;QACH,OAAO,IAAI,IAAI,CAAC;KACjB;CACF"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { IAudioFrameObserver, IAudioFrameObserverBase, IAudioPcmFrameSink, IAudioSpectrumObserver, IMediaRecorderObserver, IVideoEncodedFrameObserver, IVideoFrameObserver } from '../AgoraMediaBase';
|
|
1
|
+
import { IAudioFrameObserver, IAudioFrameObserverBase, IAudioPcmFrameSink, IAudioSpectrumObserver, IMediaRecorderObserver, IVideoEncodedFrameObserver, IVideoFrameMetaInfo, IVideoFrameObserver, MetaInfoKey } from '../AgoraMediaBase';
|
|
2
|
+
export declare class IVideoFrameMetaInfoImpl implements IVideoFrameMetaInfo {
|
|
3
|
+
getMetaInfoStr(key: MetaInfoKey): string;
|
|
4
|
+
protected getApiTypeFromGetMetaInfoStr(key: MetaInfoKey): string;
|
|
5
|
+
}
|
|
2
6
|
export declare function processIAudioPcmFrameSink(handler: IAudioPcmFrameSink, event: string, jsonParams: any): void;
|
|
3
7
|
export declare function processIAudioFrameObserverBase(handler: IAudioFrameObserverBase, event: string, jsonParams: any): void;
|
|
4
8
|
export declare function processIAudioFrameObserver(handler: IAudioFrameObserver, event: string, jsonParams: any): void;
|
|
@@ -1 +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,
|
|
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,EACnB,mBAAmB,EACnB,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,cAAc,CAAC,GAAG,EAAE,WAAW,GAAG,MAAM;IAcxC,SAAS,CAAC,4BAA4B,CAAC,GAAG,EAAE,WAAW,GAAG,MAAM;CAGjE;AAED,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IH265Transcoder, IH265TranscoderObserver } from '../IAgoraH265Transcoder';
|
|
2
|
+
export declare function processIH265TranscoderObserver(handler: IH265TranscoderObserver, event: string, jsonParams: any): void;
|
|
3
|
+
export declare class IH265TranscoderImpl implements IH265Transcoder {
|
|
4
|
+
enableTranscode(token: string, channel: string, uid: number): number;
|
|
5
|
+
protected getApiTypeFromEnableTranscode(token: string, channel: string, uid: number): string;
|
|
6
|
+
queryChannel(token: string, channel: string, uid: number): number;
|
|
7
|
+
protected getApiTypeFromQueryChannel(token: string, channel: string, uid: number): string;
|
|
8
|
+
triggerTranscode(token: string, channel: string, uid: number): number;
|
|
9
|
+
protected getApiTypeFromTriggerTranscode(token: string, channel: string, uid: number): string;
|
|
10
|
+
registerTranscoderObserver(observer: IH265TranscoderObserver): number;
|
|
11
|
+
protected getApiTypeFromRegisterTranscoderObserver(observer: IH265TranscoderObserver): string;
|
|
12
|
+
unregisterTranscoderObserver(observer: IH265TranscoderObserver): number;
|
|
13
|
+
protected getApiTypeFromUnregisterTranscoderObserver(observer: IH265TranscoderObserver): string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=IAgoraH265TranscoderImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAgoraH265TranscoderImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/IAgoraH265TranscoderImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,uBAAuB,EACxB,MAAM,yBAAyB,CAAC;AACjC,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAyBhB;AAGD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAkBpE,SAAS,CAAC,6BAA6B,CACrC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GACV,MAAM;IAIT,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAkBjE,SAAS,CAAC,0BAA0B,CAClC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GACV,MAAM;IAIT,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAkBrE,SAAS,CAAC,8BAA8B,CACtC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GACV,MAAM;IAIT,0BAA0B,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM;IAYrE,SAAS,CAAC,wCAAwC,CAChD,QAAQ,EAAE,uBAAuB,GAChC,MAAM;IAIT,4BAA4B,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM;IAYvE,SAAS,CAAC,0CAA0C,CAClD,QAAQ,EAAE,uBAAuB,GAChC,MAAM;CAGV"}
|
|
@@ -36,10 +36,8 @@ export declare class IMediaPlayerImpl implements IMediaPlayer {
|
|
|
36
36
|
protected getApiTypeFromSetPlaybackSpeed(speed: number): string;
|
|
37
37
|
selectAudioTrack(index: number): number;
|
|
38
38
|
protected getApiTypeFromSelectAudioTrack(index: number): string;
|
|
39
|
-
|
|
40
|
-
protected
|
|
41
|
-
setPlayerOptionInString(key: string, value: string): number;
|
|
42
|
-
protected getApiTypeFromSetPlayerOptionInString(key: string, value: string): string;
|
|
39
|
+
selectMultiAudioTrack(playoutTrackIndex: number, publishTrackIndex: number): number;
|
|
40
|
+
protected getApiTypeFromSelectMultiAudioTrack(playoutTrackIndex: number, publishTrackIndex: number): string;
|
|
43
41
|
takeScreenshot(filename: string): number;
|
|
44
42
|
protected getApiTypeFromTakeScreenshot(filename: string): string;
|
|
45
43
|
selectInternalSubtitle(index: number): number;
|
|
@@ -112,6 +110,10 @@ export declare class IMediaPlayerImpl implements IMediaPlayer {
|
|
|
112
110
|
protected getApiTypeFromSetSpatialAudioParams(params: SpatialAudioParams): string;
|
|
113
111
|
setSoundPositionParams(pan: number, gain: number): number;
|
|
114
112
|
protected getApiTypeFromSetSoundPositionParams(pan: number, gain: number): string;
|
|
113
|
+
setPlayerOptionInInt(key: string, value: number): number;
|
|
114
|
+
protected getApiTypeFromSetPlayerOptionInInt(key: string, value: number): string;
|
|
115
|
+
setPlayerOptionInString(key: string, value: string): number;
|
|
116
|
+
protected getApiTypeFromSetPlayerOptionInString(key: string, value: string): string;
|
|
115
117
|
}
|
|
116
118
|
export declare class IMediaPlayerCacheManagerImpl implements IMediaPlayerCacheManager {
|
|
117
119
|
removeAllCaches(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAgoraMediaPlayerImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/IAgoraMediaPlayerImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAGxE,qBAAa,gBAAiB,YAAW,YAAY;IACnD,gB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AAG,MAAM;IAc3C,SAAS,CAAC,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAc9C,SAAS,CAAC,iCAAiC,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAItE,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAc9C,SAAS,CAAC,mCAAmC,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAItE,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAenC,SAAS,CAAC,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAI3D,oBAAoB,IAAI,MAAM;IAO9B,SAAS,CAAC,kCAAkC,IAAI,MAAM;IAItD,mBAAmB,IAAI,MAAM;IAO7B,SAAS,CAAC,iCAAiC,IAAI,MAAM;IAIrD,iBAAiB,IAAI,MAAM;IAO3B,SAAS,CAAC,+BAA+B,IAAI,MAAM;CAGpD;AAED,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAShB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAgoraMediaPlayerSourceImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/IAgoraMediaPlayerSourceImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAExE,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"IAgoraMediaPlayerSourceImpl.d.ts","sourceRoot":"","sources":["../../../ts/Private/impl/IAgoraMediaPlayerSourceImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAExE,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,GAAG,QAwFhB"}
|
|
@@ -78,10 +78,6 @@ export declare class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngi
|
|
|
78
78
|
protected getApiTypeFromStopRtmpStreamEx(url: string, connection: RtcConnection): string;
|
|
79
79
|
startOrUpdateChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): number;
|
|
80
80
|
protected getApiTypeFromStartOrUpdateChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): string;
|
|
81
|
-
startChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): number;
|
|
82
|
-
protected getApiTypeFromStartChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): string;
|
|
83
|
-
updateChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): number;
|
|
84
|
-
protected getApiTypeFromUpdateChannelMediaRelayEx(configuration: ChannelMediaRelayConfiguration, connection: RtcConnection): string;
|
|
85
81
|
stopChannelMediaRelayEx(connection: RtcConnection): number;
|
|
86
82
|
protected getApiTypeFromStopChannelMediaRelayEx(connection: RtcConnection): string;
|
|
87
83
|
pauseAllChannelMediaRelayEx(connection: RtcConnection): number;
|
|
@@ -104,5 +100,7 @@ export declare class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngi
|
|
|
104
100
|
protected getApiTypeFromEnableContentInspectEx(enabled: boolean, config: ContentInspectConfig, connection: RtcConnection): string;
|
|
105
101
|
startMediaRenderingTracingEx(connection: RtcConnection): number;
|
|
106
102
|
protected getApiTypeFromStartMediaRenderingTracingEx(connection: RtcConnection): string;
|
|
103
|
+
setParametersEx(connection: RtcConnection, parameters: string): number;
|
|
104
|
+
protected getApiTypeFromSetParametersEx(connection: RtcConnection, parameters: string): string;
|
|
107
105
|
}
|
|
108
106
|
//# sourceMappingURL=IAgoraRtcEngineExImpl.d.ts.map
|