From 41b0b1464df5594f904c1524b32c981810481888 Mon Sep 17 00:00:00 2001 From: Kishan Dhakan Date: Mon, 5 Feb 2024 16:43:16 +0530 Subject: [PATCH 1/5] update release notes --- server-gateway/overview/product-overview.mdx | 4 +- .../reference/release-notes/cpp.mdx | 88 +++++++++++++++---- .../reference/release-notes/java.mdx | 19 ++-- 3 files changed, 83 insertions(+), 28 deletions(-) diff --git a/server-gateway/overview/product-overview.mdx b/server-gateway/overview/product-overview.mdx index 40367b0da..ba24da8a9 100644 --- a/server-gateway/overview/product-overview.mdx +++ b/server-gateway/overview/product-overview.mdx @@ -26,7 +26,7 @@ description: > }, { title: "Configurable sending/receiving processes", - content: "Send and receive media streams simultaneously or choose only to send or receive audio or video streams.", + content: "Send and receive media streams simultaneously or choose only to send or receive audio or video streams. It also supports pushing media streams to a CDN directly.", link: "" }, { @@ -50,4 +50,4 @@ description: > Agora Server Gateway can be deployed on your server to transmit audio and video streams to apps developed with Agora’s Voice and Video SDKs. The Server Gateway SDK enables communication between server and app through Agora’s global network (SD-RTN). Server Gateway can be used as a server-side gateway for media processing such as speech-to-text, for first- and third-party extensions, or can act as gateway service for Agora media services such as Media Push and Media Pull. - \ No newline at end of file + diff --git a/shared/cloud-gateway/reference/release-notes/cpp.mdx b/shared/cloud-gateway/reference/release-notes/cpp.mdx index 0a6d783c8..b197c2118 100644 --- a/shared/cloud-gateway/reference/release-notes/cpp.mdx +++ b/shared/cloud-gateway/reference/release-notes/cpp.mdx @@ -2,18 +2,76 @@ import * as data from '@site/data/variables'; -## v3.8.200.20 - -This version was released on July 22, 2022, with the following features: - -- Sending and receiving video and audio data in various formats. -- Independent audio/video and sending/receiving processes. -- Starting a single process with multiple SDK instances. -- Specifying remote streams by user ID. -- Using a user ID in string format to join a channel. -- Audio mixing. -- Video mixing -- Media encryption. -- Cloud proxy. -- Network geofencing. - \ No newline at end of file +## Version 4.2.30 + +v4.2.30 was released on January xx, 2024. + +### New Features + +- Multipath network transmission + +This release adds the multipath network transmission feature, which allows simultaneous transmission of audio and video streams over multiple network paths. For example, when you insert two IoT SIM cards in the device, the SDK can transmit audio and video streams through the network of both SIM cards, thereby improving the stability and reliability of audio and video transmission. Contact support@agora.io to enable and use this feature. + +- Hardware encoding acceleration + +This release supports utilizing NVIDIA GPU hardware acceleration for video encoding, which reduces the power consumption of CPU and improves hardware encoding efficiency and performance. Contact support@agora.io to enable and use this feature. + +### Improvements + +- Audio sending timestamp + +To set the timestamp at which you send the audio data, this release adds the `presentation_ms` parameter in the `sendAudioPcmData` method. In scenarios such as video conferences and remote collaboration, this parameter allows you to achieve audio and video synchronization. + +### Bug Fixes + +This release fixed the following issues: + +- App memory growth caused by receiving H.264 video raw data. +- Garbled data stream when using both string-type user IDs and data stream functions simultaneously. + +## Version 4.0.1 + +v4.0.1 was released on January xx, 2023. + +### New features + +- Pushing streams to a CDN directly + +This release supports pushing media streams to a CDN directly. Hosts can convert the protocol of media streams to the RTMP protocol and push media streams to CDN directly. Audience members can subscribe to media streams by clicking the corresponding URL. + +This release provides the `IRtmpConnection` and `IRtmpLocalUser` classes to connect the SDK and CDN, set audio and video encoding configurations, and push media streams to CDN. To get the connection state to CDN and the push state of media streams, you can register `IRtmpConnectionObserver` and `IRtmpLocalUserObserver` objects to listen for the related callbacks. + +- Stream message + +To support sending and receiving messages in digital scenarios such as an avatar, this release adds the stream message function. A sender can call the `createDataStream` and `sendStreamMessage` methods in sequence to create a stream and send a stream message; a receiver can get data in the `onStreamMessage` callback when the reception is successful. + +### Improvements + +- Custom background of custom video renderer + +To make video interactions more fun, users sometimes want to modify the background of a remote user to match their own preferences. To meet such requirements, this release adds the `alphaBuffer` parameter in the `ExternalVideoFrame` class. In a custom video renderer scenario, you can use this parameter to render the video background into various effects, such as transparent, solid color, picture, or video. Multiple users can render different video backgrounds locally for the same remote user without affecting each other. + + +To enable this function, contact support@agora.io. + + +- Audio quality of experience + + +This release adds the `qoe_quality` and `quality_changed_reason` parameters in the `RemoteAudioTrackStats` class to monitor the Quality of Experience (QoE) of the local user when receiving a remote audio stream and to provide the reason for poor QoE. + +- Meeting scenarios + + +To improve the user experience in meeting scenarios, this release adds `AUDIO_SCENARIO_MEETING(8)` in `AUDIO_SCENARIO_TYPE`. + +- Domain restrictions for IoT SIM cards + + +Some scenarios with high security requirements use targeted Internet of Things (IoT) SIM cards and restrict the network domains that IoT SIM cards can access. This release adds the `domainLimit` parameter in the `AgoraServiceConfiguration` class. You can enable domain restrictions and set the SDK to only access networks with the specified domain name, so that you can ensure that devices using a targeted IoT SIM card are interoperable with other devices. + + +To enable this function, contact support@agora.io. + + + diff --git a/shared/cloud-gateway/reference/release-notes/java.mdx b/shared/cloud-gateway/reference/release-notes/java.mdx index 4a2883b3e..9c4543fab 100644 --- a/shared/cloud-gateway/reference/release-notes/java.mdx +++ b/shared/cloud-gateway/reference/release-notes/java.mdx @@ -2,17 +2,14 @@ import * as data from '@site/data/variables'; -## v3.7.200.21 +## Version 4.0.1 -This version was released on July 22, 2022 with the following features: +v4.0.1 was released on January xx, 2023. -- Sending and receiving video and audio data in various formats. -- Independent video/audio and sending/receiving process. -- Starting a single process with multiple SDK instances. -- Using string user ID to join a channel. -- Audio mixing. -- Media encryption. -- Cloud proxy. -- Network geofencing. +### New features - \ No newline at end of file +- Stream message + +To support sending and receiving messages in digital scenarios such as an avatar, this release adds the stream message function. A sender can call the `createDataStream` and `sendStreamMessage` methods in sequence to create a stream and send a stream message; a receiver can get data in the `onStreamMessage` callback when the reception is successful. + + From 4884f1f28c1f3a3e28bf0bca1b843e332564cc5d Mon Sep 17 00:00:00 2001 From: atovpeko Date: Mon, 5 Feb 2024 14:06:14 +0200 Subject: [PATCH 2/5] Overview and release notes review --- server-gateway/overview/product-overview.mdx | 4 +- .../reference/release-notes/cpp.mdx | 51 ++----------------- 2 files changed, 5 insertions(+), 50 deletions(-) diff --git a/server-gateway/overview/product-overview.mdx b/server-gateway/overview/product-overview.mdx index ba24da8a9..19b83eb4a 100644 --- a/server-gateway/overview/product-overview.mdx +++ b/server-gateway/overview/product-overview.mdx @@ -26,7 +26,7 @@ description: > }, { title: "Configurable sending/receiving processes", - content: "Send and receive media streams simultaneously or choose only to send or receive audio or video streams. It also supports pushing media streams to a CDN directly.", + content: "Send and receive media streams simultaneously or choose only to send or receive audio or video streams. Server Gateway also supports pushing media streams to a CDN directly.", link: "" }, { @@ -48,6 +48,6 @@ description: > > -Agora Server Gateway can be deployed on your server to transmit audio and video streams to apps developed with Agora’s Voice and Video SDKs. The Server Gateway SDK enables communication between server and app through Agora’s global network (SD-RTN). Server Gateway can be used as a server-side gateway for media processing such as speech-to-text, for first- and third-party extensions, or can act as gateway service for Agora media services such as Media Push and Media Pull. +Agora Server Gateway can be deployed on your server to transmit audio and video streams to apps developed with Agora’s Voice and Video SDKs. The Server Gateway SDK enables communication between server and app through Agora’s global network (SD-RTN). Server Gateway can be used as a server-side gateway for media processing such as speech-to-text, for first- and third-party extensions, or can act as gateway service for Agora media services such as Media Pull. diff --git a/shared/cloud-gateway/reference/release-notes/cpp.mdx b/shared/cloud-gateway/reference/release-notes/cpp.mdx index b197c2118..47ba91a2a 100644 --- a/shared/cloud-gateway/reference/release-notes/cpp.mdx +++ b/shared/cloud-gateway/reference/release-notes/cpp.mdx @@ -4,9 +4,9 @@ import * as data from '@site/data/variables'; ## Version 4.2.30 -v4.2.30 was released on January xx, 2024. +v4.2.30 was released on February 6, 2024. -### New Features +### New features - Multipath network transmission @@ -22,56 +22,11 @@ This release supports utilizing NVIDIA GPU hardware acceleration for video encod To set the timestamp at which you send the audio data, this release adds the `presentation_ms` parameter in the `sendAudioPcmData` method. In scenarios such as video conferences and remote collaboration, this parameter allows you to achieve audio and video synchronization. -### Bug Fixes +### Bug fixes This release fixed the following issues: - App memory growth caused by receiving H.264 video raw data. - Garbled data stream when using both string-type user IDs and data stream functions simultaneously. -## Version 4.0.1 - -v4.0.1 was released on January xx, 2023. - -### New features - -- Pushing streams to a CDN directly - -This release supports pushing media streams to a CDN directly. Hosts can convert the protocol of media streams to the RTMP protocol and push media streams to CDN directly. Audience members can subscribe to media streams by clicking the corresponding URL. - -This release provides the `IRtmpConnection` and `IRtmpLocalUser` classes to connect the SDK and CDN, set audio and video encoding configurations, and push media streams to CDN. To get the connection state to CDN and the push state of media streams, you can register `IRtmpConnectionObserver` and `IRtmpLocalUserObserver` objects to listen for the related callbacks. - -- Stream message - -To support sending and receiving messages in digital scenarios such as an avatar, this release adds the stream message function. A sender can call the `createDataStream` and `sendStreamMessage` methods in sequence to create a stream and send a stream message; a receiver can get data in the `onStreamMessage` callback when the reception is successful. - -### Improvements - -- Custom background of custom video renderer - -To make video interactions more fun, users sometimes want to modify the background of a remote user to match their own preferences. To meet such requirements, this release adds the `alphaBuffer` parameter in the `ExternalVideoFrame` class. In a custom video renderer scenario, you can use this parameter to render the video background into various effects, such as transparent, solid color, picture, or video. Multiple users can render different video backgrounds locally for the same remote user without affecting each other. - - -To enable this function, contact support@agora.io. - - -- Audio quality of experience - - -This release adds the `qoe_quality` and `quality_changed_reason` parameters in the `RemoteAudioTrackStats` class to monitor the Quality of Experience (QoE) of the local user when receiving a remote audio stream and to provide the reason for poor QoE. - -- Meeting scenarios - - -To improve the user experience in meeting scenarios, this release adds `AUDIO_SCENARIO_MEETING(8)` in `AUDIO_SCENARIO_TYPE`. - -- Domain restrictions for IoT SIM cards - - -Some scenarios with high security requirements use targeted Internet of Things (IoT) SIM cards and restrict the network domains that IoT SIM cards can access. This release adds the `domainLimit` parameter in the `AgoraServiceConfiguration` class. You can enable domain restrictions and set the SDK to only access networks with the specified domain name, so that you can ensure that devices using a targeted IoT SIM card are interoperable with other devices. - - -To enable this function, contact support@agora.io. - - From 9687d34ee8d73db20b77d93e77360ac65527447a Mon Sep 17 00:00:00 2001 From: atovpeko Date: Mon, 5 Feb 2024 15:42:29 +0200 Subject: [PATCH 3/5] removed java since it was a private release --- shared/cloud-gateway/reference/release-notes/java.mdx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/shared/cloud-gateway/reference/release-notes/java.mdx b/shared/cloud-gateway/reference/release-notes/java.mdx index 9c4543fab..b685c536d 100644 --- a/shared/cloud-gateway/reference/release-notes/java.mdx +++ b/shared/cloud-gateway/reference/release-notes/java.mdx @@ -2,14 +2,4 @@ import * as data from '@site/data/variables'; -## Version 4.0.1 - -v4.0.1 was released on January xx, 2023. - -### New features - -- Stream message - -To support sending and receiving messages in digital scenarios such as an avatar, this release adds the stream message function. A sender can call the `createDataStream` and `sendStreamMessage` methods in sequence to create a stream and send a stream message; a receiver can get data in the `onStreamMessage` callback when the reception is successful. - From 3786d8212a69a84eabe3387f893732de3c3e2ca6 Mon Sep 17 00:00:00 2001 From: atovpeko Date: Tue, 6 Feb 2024 12:02:07 +0200 Subject: [PATCH 4/5] release notes formatting and chat update --- .../get-started-sdk/project-setup/android.mdx | 9 +++++++++ shared/cloud-gateway/reference/release-notes/cpp.mdx | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/shared/chat-sdk/get-started/get-started-sdk/project-setup/android.mdx b/shared/chat-sdk/get-started/get-started-sdk/project-setup/android.mdx index 673ec9b5d..ddfc96b94 100644 --- a/shared/chat-sdk/get-started/get-started-sdk/project-setup/android.mdx +++ b/shared/chat-sdk/get-started/get-started-sdk/project-setup/android.mdx @@ -34,4 +34,13 @@ To integrate into your app, do the following: ``` +1. Prevent code obfuscation. + + In `/Gradle Scripts/proguard-rules.pro`, add the following line: + + ```java + -keep class io.agora.** {*;} + -dontwarn io.agora.** + ``` + diff --git a/shared/cloud-gateway/reference/release-notes/cpp.mdx b/shared/cloud-gateway/reference/release-notes/cpp.mdx index 47ba91a2a..4d0285103 100644 --- a/shared/cloud-gateway/reference/release-notes/cpp.mdx +++ b/shared/cloud-gateway/reference/release-notes/cpp.mdx @@ -10,17 +10,17 @@ v4.2.30 was released on February 6, 2024. - Multipath network transmission -This release adds the multipath network transmission feature, which allows simultaneous transmission of audio and video streams over multiple network paths. For example, when you insert two IoT SIM cards in the device, the SDK can transmit audio and video streams through the network of both SIM cards, thereby improving the stability and reliability of audio and video transmission. Contact support@agora.io to enable and use this feature. + This release adds the multipath network transmission feature, which allows simultaneous transmission of audio and video streams over multiple network paths. For example, when you insert two IoT SIM cards in the device, the SDK can transmit audio and video streams through the network of both SIM cards, thereby improving the stability and reliability of audio and video transmission. Contact support@agora.io to enable and use this feature. - Hardware encoding acceleration -This release supports utilizing NVIDIA GPU hardware acceleration for video encoding, which reduces the power consumption of CPU and improves hardware encoding efficiency and performance. Contact support@agora.io to enable and use this feature. + This release supports utilizing NVIDIA GPU hardware acceleration for video encoding, which reduces the power consumption of CPU and improves hardware encoding efficiency and performance. Contact support@agora.io to enable and use this feature. ### Improvements - Audio sending timestamp -To set the timestamp at which you send the audio data, this release adds the `presentation_ms` parameter in the `sendAudioPcmData` method. In scenarios such as video conferences and remote collaboration, this parameter allows you to achieve audio and video synchronization. + To set the timestamp at which you send the audio data, this release adds the `presentation_ms` parameter in the `sendAudioPcmData` method. In scenarios such as video conferences and remote collaboration, this parameter allows you to achieve audio and video synchronization. ### Bug fixes From 0d369c24d9b9ccd440bb9b40abc6949d276dac69 Mon Sep 17 00:00:00 2001 From: atovpeko Date: Tue, 6 Feb 2024 12:09:57 +0200 Subject: [PATCH 5/5] download link --- server-gateway/overview/product-overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-gateway/overview/product-overview.mdx b/server-gateway/overview/product-overview.mdx index 19b83eb4a..bfc6a06c6 100644 --- a/server-gateway/overview/product-overview.mdx +++ b/server-gateway/overview/product-overview.mdx @@ -12,7 +12,7 @@ description: > img="/images/server-gateway/server-gateway-overview.png" quickStartLink="/server-gateway/get-started/integrate-sdk" apiReferenceLink="/api-reference" - samplesLink="https://download.agora.io/sdk/release/Agora-RTC-x86_64-linux-gnu-v3.8.202.20-20220627_152601-214165.tgz" + samplesLink="https://download.agora.io/rtsasdk/release/Agora-RTC-x86_64-linux-gnu-v4.2.30-20240202_172130-292462.tgz" productFeatures={[ { title: "Support for call centers, education, and testing ",