Skip to content

Commit 5f3bc9b

Browse files
committed
Merge branch 'release/rtc-ng/4.3' of github.com:AgoraIO/agora_doc_source into release/rtc-ng/4.3
2 parents 2132206 + 4a5aefe commit 5f3bc9b

4 files changed

Lines changed: 29 additions & 45 deletions

File tree

markdown/RTC 4.x/release-notes/en-US/framework/release_flutter_ng.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This release has optimized the implementation of some functions, involving renam
3636
| `MediaPlayerError` | `MediaPlayerReason` |
3737
| `RtmpStreamPublishErrorType` | `RtmpStreamPublishReason` |
3838

39-
**Note:** For specific renaming of enumerations, please refer to [API changes](#api-change).
39+
**Note:** For specific renaming of enumerations, please refer to [API changes](#apichange).
4040

4141
2. **Channel media relay**
4242

@@ -133,7 +133,6 @@ This release has optimized the implementation of some functions, involving renam
133133
- The [`onLocalVideoStateChanged`](API/callback_irtcengineeventhandler_onlocalvideostatechanged.html) callback is improved with the inclusion of the `localVideoStreamReasonScreenCaptureAutoFallback` enumeration, signaling unexpected errors during the screen sharing process (potentially due to window blocking failure), resulting in performance degradation without impacting the screen sharing process itself. (Windows)
134134
- The [`onPlayerCacheStats`](API/callback_imediaplayersourceobserver_onplayercachestats.html) callback is added to reports the statistics of the media file being cached. This callback is triggered once per second after file caching is started.
135135
- The [`onPlayerPlaybackStats`](API/callback_imediaplayersourceobserver_onplayerplaybackstats.html) callback is added to reports the statistics of the media file being played. This callback is triggered once per second after the media file starts playing. You can obtain information like the audio and video bitrate of the media file through [`PlayerPlaybackStats`](API/class_playerplaybackstats.html).
136-
- An error code `kMusicContentCenterReasonHttpInternalError` is added to suggest that an internal error in HTTP. You can try again later. (Android, iOS)
137136
- This release optimizes the SDK's domain name resolution strategy, improving the stability of calling `setLocalAccessPoint` to resolve domain names in complex network environments.
138137
- When passing in an image with transparent background as the virtual background image, the transparent background can be filled with customized color.
139138
- This release adds the `earMonitorDelay` and `aecEstimatedDelay` members in [`LocalAudioStats`](API/class_localaudiostats.html) to report ear monitor delay and acoustic echo cancellation (AEC) delay, respectively.
@@ -148,6 +147,8 @@ This release fixed the following issues:
148147

149148
#### API changes
150149

150+
<a name="apichange"></a>
151+
151152
**Added**
152153

153154
- [`onTranscodedStreamLayoutInfo`](API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.html)(Android, iOS)
@@ -158,7 +159,6 @@ This release fixed the following issues:
158159
- [`onPlayerCacheStats`](API/callback_imediaplayersourceobserver_onplayercachestats.html)
159160
- [`onPlayerPlaybackStats`](API/callback_imediaplayersourceobserver_onplayerplaybackstats.html)
160161
- [`PlayerPlaybackStats`](API/class_playerplaybackstats.html)
161-
- The `kMusicContentCenterReasonHttpInternalError` enumeration in `MusicContentCenterStateReason` (Android, iOS)
162162
- The `earMonitorDelay` and `aecEstimatedDelay` members in [`LocalAudioStats`](API/class_localaudiostats.html)
163163
- [`queryDeviceScore`](API/api_irtcengine_querydevicescore.html)
164164
- The `customVideoSource` enumeration in [`MediaSourceType`](API/enum_mediasourcetype.html)
@@ -237,14 +237,6 @@ This release fixed the following issues:
237237
- `rtmpStreamPublishErrorNetDown`
238238
- `rtmpStreamPublishErrorInvalidPrivilege`
239239
- `rtmpStreamUnpublishErrorOk`
240-
- `MusicContentCenterStatusCode` is renamed as `MusicContentCenterStateReason`, and the `StatusErr` in all enumerators is changed to `Reason`: (Android, iOS)
241-
- `kMusicContentCenterStatusErrGateway`
242-
- `kMusicContentCenterStatusErrPermissionAndResource`
243-
- `kMusicContentCenterStatusErrInternalDataParse`
244-
- `kMusicContentCenterStatusErrMusicLoading`
245-
- `kMusicContentCenterStatusErrMusicDecryption`
246-
- `kMusicContentCenterStatusOk` is changed to `kMusicContentCenterReasonOk` (Android, iOS)
247-
- `kMusicContentCenterStatusErr` is changed to `kMusicContentCenterReasonError` (Android, iOS)
248240

249241
**Deleted**
250242

markdown/RTC 4.x/release-notes/en-US/framework/release_unity_ng.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ This release has optimized the implementation of some functions, involving renam
2727
| `OnDirectCdnStreamingStateChanged` | `error` | `reason` |
2828
| `OnRtmpStreamingStateChanged` | `errCode` | `reason` |
2929

30-
| Original enumeration class | Current enumeration class |
31-
| ---------------------------- | ---------------------------- |
32-
| `LOCAL_AUDIO_STREAM_ERROR` | `LOCAL_AUDIO_STREAM_ERROR` |
33-
| `LOCAL_VIDEO_STREAM_ERROR` | `LOCAL_VIDEO_STREAM_ERROR` |
34-
| `DIRECT_CDN_STREAMING_ERROR` | `DIRECT_CDN_STREAMING_ERROR` |
35-
| `MEDIA_PLAYER_ERROR` | `MEDIA_PLAYER_ERROR` |
36-
| `RTMP_STREAM_PUBLISH_ERROR` | `RTMP_STREAM_PUBLISH_ERROR` |
30+
| Original enumeration class | Current enumeration class |
31+
| ---------------------------- | ----------------------------- |
32+
| `LOCAL_AUDIO_STREAM_ERROR` | `LOCAL_AUDIO_STREAM_REASON` |
33+
| `LOCAL_VIDEO_STREAM_ERROR` | `LOCAL_VIDEO_STREAM_REASON` |
34+
| `DIRECT_CDN_STREAMING_ERROR` | `DIRECT_CDN_STREAMING_REASON` |
35+
| `MEDIA_PLAYER_ERROR` | `MEDIA_PLAYER_REASON` |
36+
| `RTMP_STREAM_PUBLISH_ERROR` | `RTMP_STREAM_PUBLISH_REASON` |
3737

3838
**Note:** For specific renaming of enumerations, please refer to [API changes](#change).
3939

@@ -51,9 +51,9 @@ This release has optimized the implementation of some functions, involving renam
5151

5252
This release makes the following modifications to the enumerations in the [LOCAL_VIDEO_STREAM_REASON](API/enum_localvideostreamreason.html) class:
5353

54-
- The value of `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED`) has been changed from 23 to 28.
55-
- The value of `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED`) has been changed from 24 to 29.
56-
- The `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT` enumeration has been changed to `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT`.
54+
- The value of `LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED`) has been changed from 23 to 28.
55+
- The value of `LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED`) has been changed from 24 to 29.
56+
- The `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT` enumeration has been changed to `LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT`.
5757

5858
#### New features
5959

@@ -129,7 +129,7 @@ This release fixed the following issues:
129129

130130
**Added**
131131

132-
- The ` subviewUid` member in [VideoCanvas](API/class_videocanvas.html)
132+
- The `subviewUid` member in [VideoCanvas](API/class_videocanvas.html)
133133
- [EnableCustomAudioLocalPlayback](API/api_irtcengine_enablecustomaudiolocalplayback.html)
134134
- [QueryDeviceScore](API/api_irtcengine_querydevicescore.html)
135135
- The `CUSTOM_VIDEO_SOURCE` enumeration in [MEDIA_SOURCE_TYPE](API/enum_mediasourcetype.html)
@@ -143,7 +143,7 @@ This release fixed the following issues:
143143

144144
- All `ERROR` fields in the following enumerations are changed to `REASON`:
145145

146-
- - `LOCAL_AUDIO_STREAM_ERROR_OK`
146+
- `LOCAL_AUDIO_STREAM_ERROR_OK`
147147
- `LOCAL_AUDIO_STREAM_ERROR_FAILURE`
148148
- `LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION`
149149
- `LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY`

markdown/RTC 4.x/release-notes/en-US/native/release_android_ng.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This release has optimized the implementation of some functions, involving renam
3737
| `DirectCdnStreamingReason` | `DirectCdnStreamingReason` |
3838
| `MediaPlayerReason` | `MediaPlayerReason` |
3939

40-
**Note:** For specific renaming of enumerations, please refer to [API changes](Chunk916049832.html#apichange).
40+
**Note:** For specific renaming of enumerations, please refer to [API changes](C#apichange).
4141

4242
3. **Channel media relay**
4343

@@ -149,7 +149,6 @@ This release has optimized the implementation of some functions, involving renam
149149
- This release adds the `earMonitorDelay` and `aecEstimatedDelay` members in [`LocalAudioStats`](API/class_localaudiostats.html) to report ear monitor delay and acoustic echo cancellation (AEC) delay, respectively.
150150
- The [`onPlayerCacheStats`](API/callback_imediaplayersourceobserver_onplayercachestats.html) callback is added to report the statistics of the media file being cached. This callback is triggered once per second after file caching is started.
151151
- The [`onPlayerPlaybackStats`](API/callback_imediaplayersourceobserver_onplayerplaybackstats.html) callback is added to report the statistics of the media file being played. This callback is triggered once per second after the media file starts playing. You can obtain information like the audio and video bitrate of the media file through [`PlayerPlaybackStats`](API/class_playerplaybackstats.html).
152-
- An error code `MUSIC_CONTENT_CENTER_STATUS_ERR_HTTP_INTERNAL` is added to suggest that an internal error in HTTP. You can try again later.
153152

154153
#### Issues fixed
155154

@@ -160,6 +159,8 @@ This release fixed the following issues:
160159

161160
#### API changes
162161

162+
<a name="apichange"></a>
163+
163164
**Added**
164165

165166
- [`onTranscodedStreamLayoutInfo`](API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.html)
@@ -172,7 +173,6 @@ This release fixed the following issues:
172173
- [`onPlayerCacheStats`](API/callback_imediaplayersourceobserver_onplayercachestats.html)
173174
- [`onPlayerPlaybackStats`](API/callback_imediaplayersourceobserver_onplayerplaybackstats.html)
174175
- [`PlayerPlaybackStats`](API/class_playerplaybackstats.html)
175-
- The `MUSIC_CONTENT_CENTER_STATUS_ERR_HTTP_INTERNAL` enumeration in `MusicContentCenterStateReason`
176176
- [`startPlaybackDeviceTest`](API/api_iaudiodevicemanager_startplaybackdevicetest.html)
177177
- [`stopPlaybackDeviceTest`](API/api_iaudiodevicemanager_stopplaybackdevicetest.html)
178178
- The `earMonitorDelay` and `aecEstimatedDelay` members in [LocalAudioStats](API/class_localaudiostats.html)
@@ -237,14 +237,6 @@ This release fixed the following issues:
237237
- `RTMP_STREAM_PUBLISH_ERROR_NET_DOWN`
238238
- `RTMP_STREAM_PUBLISH_ERROR_INVALID_PRIVILEGE`
239239
- `RTMP_STREAM_UNPUBLISH_ERROR_OK`
240-
- `MusicContentCenterStatusCode` is renamed as `MusicContentCenterStateReason`, and the `STATUS_ERR` in all enumerators is changed to `STATE_REASON`:
241-
- `MUSIC_CONTENT_CENTER_STATUS_ERR_GATEWAY`
242-
- `MUSIC_CONTENT_CENTER_STATUS_ERR_PERMISSION_AND_RESOURCE`
243-
- `MUSIC_CONTENT_CENTER_STATUS_ERR_INTERNAL_DATA_PARSE`
244-
- `MUSIC_CONTENT_CENTER_STATUS_ERR_MUSIC_LOADING`
245-
- `MUSIC_CONTENT_CENTER_STATUS_ERR_MUSIC_DECRYPTION`
246-
- `MUSIC_CONTENT_CENTER_STATUS_OK` is changed to `MUSIC_CONTENT_CENTER_STATE_REASON_OK`
247-
- `MUSIC_CONTENT_CENTER_STATUS_ERR` is changed to `MUSIC_CONTENT_CENTER_STATE_REASON_ERROR`
248240

249241
**Deleted**
250242

markdown/RTC 4.x/release-notes/en-US/native/release_windows_ng.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ This release has optimized the implementation of some functions, involving renam
1818
| `onPlayerSourceStateChanged` | `ec` | `reason` |
1919
| `onRtmpStreamingStateChanged` | `errCode` | `reason` |
2020

21-
| Original enumeration class | Current enumeration class |
22-
| ---------------------------- | ---------------------------- |
23-
| `LOCAL_AUDIO_STREAM_ERROR` | `LOCAL_AUDIO_STREAM_ERROR` |
24-
| `LOCAL_VIDEO_STREAM_ERROR` | `LOCAL_VIDEO_STREAM_ERROR` |
25-
| `DIRECT_CDN_STREAMING_ERROR` | `DIRECT_CDN_STREAMING_ERROR` |
26-
| `MEDIA_PLAYER_ERROR` | `MEDIA_PLAYER_ERROR` |
27-
| `RTMP_STREAM_PUBLISH_ERROR` | `RTMP_STREAM_PUBLISH_ERROR` |
21+
| Original enumeration class | Current enumeration class |
22+
| ---------------------------- | ----------------------------- |
23+
| `LOCAL_AUDIO_STREAM_ERROR` | `LOCAL_AUDIO_STREAM_REASON` |
24+
| `LOCAL_VIDEO_STREAM_ERROR` | `LOCAL_VIDEO_STREAM_REASON` |
25+
| `DIRECT_CDN_STREAMING_ERROR` | `DIRECT_CDN_STREAMING_REASON` |
26+
| `MEDIA_PLAYER_ERROR` | `MEDIA_PLAYER_REASON` |
27+
| `RTMP_STREAM_PUBLISH_ERROR` | `RTMP_STREAM_PUBLISH_REASON` |
2828

2929
**Note:** For specific renaming of enumerations, please refer to [API changes](#change).
3030

@@ -42,9 +42,9 @@ This release has optimized the implementation of some functions, involving renam
4242

4343
This release makes the following modifications to the enumerations in the [LOCAL_VIDEO_STREAM_ERROR](API/enum_localvideostreamreason.html) class:
4444

45-
- The value of `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED`) has been changed from 23 to 28.
46-
- The value of `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED`) has been changed from 24 to 29.
47-
- The `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT` enumeration has been changed to `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT`.
45+
- The value of `LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED`) has been changed from 23 to 28.
46+
- The value of `LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED` (formerly `LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED`) has been changed from 24 to 29.
47+
- The `LOCAL_VIDEO_STREAM_ERROR_CODEC_NOT_SUPPORT` enumeration has been changed to `LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT`.
4848

4949
4. **Audio loopback capturing**
5050

@@ -130,7 +130,7 @@ This release fixed the following issues:
130130

131131
**Added**
132132

133-
- The ` subviewUid` member in [VideoCanvas](API/class_videocanvas.html)
133+
- The `subviewUid` member in [VideoCanvas](API/class_videocanvas.html)
134134
- [enableCustomAudioLocalPlayback](API/api_irtcengine_enablecustomaudiolocalplayback.html)
135135
- [queryDeviceScore](API/api_irtcengine_querydevicescore.html)
136136
- The `CUSTOM_VIDEO_SOURCE` enumeration in [MEDIA_SOURCE_TYPE](API/enum_mediasourcetype.html)

0 commit comments

Comments
 (0)