Xamarin.Agora.Voice.Android 2.3.0

Xamarin bindings to the native Android Agora.io Voice SDK.

There is a newer version of this package available.
See the version list below for details.
Install-Package Xamarin.Agora.Voice.Android -Version 2.3.0
dotnet add package Xamarin.Agora.Voice.Android --version 2.3.0
<PackageReference Include="Xamarin.Agora.Voice.Android" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Agora.Voice.Android --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v2.3.0 (Released Aug 31st, 2018)
Before Reading
From v2.3.0, the LiveTranscoding Class was relocated from the io.agora.live package to the io.agora.rtc.live package.

A spelling mistake was corrected in API constants.java in v2.3.0.

Before:
public static final int SOFEWARE_ENCODER = 1;
After:
public static final int SOFTWARE_ENCODER = 1;
The security keys are improved and updated in v2.1.0. If you are using an Agora SDK version below v2.1.0 and wish to migrate to the latest version, see Token Migration Guide.

New Features
1. Notifies the user that the Token will expire in 30 seconds
The SDK returns the onTokenPrivilegeWillExpire callback 30 seconds before a Token expires to notify the app to renew it. When this callback is received, you need to generate a new Token on your server and call renewToken to pass the newly-generated Token to the SDK.

2. Returns user-specific upstream and downstream statistics, including the bitrate, frame rate, packet loss rate and time delay
The onRemoteAudioTransportStats callback is added to provide user-specific upstream and downstream statistics, including the bitrate, frame rate, and packet loss rate. During a call or a live broadcast, this callback is triggered every two seconds after the user receives audio packets from a remote user. This callback includes the user ID, audio bitrate at the receiver, packet loss rate, and time delay (ms).

Improvements
Improved the quality for one-on-one voice/video scenarios with optimized latency and smoothness, especially for areas like Southeast Asia, South America, Africa and Middle East.
Improved the audio encoder efficiency in a live broadcast to reduce user traffic while ensuring the call quality.
Improved the audio quality during a call or a live broadcast using the deep-learning algorithm.
Issues Fixed
Occassional crashes after interoperating with devices of other platforms from some Android devices.
Excessive increase in memory usage associated with a host when he/she frequently joins and leaves a channel of multiple delegated hosts.
Occasional issue that the remote user cannot hear the host when the host swithces to AUDIENCE and then back to BROADCASTER.
Occasional crashes on the Android devices when the remote users frequently join and leave the channel.
The audience cannot adjust the channel volume on some special occasions.
Occasional issue that applications do not respond on some Android devices.
Occasional crashes when one of the two broadcasters mutes or disables the local audio while playing the background music.
Occasional crashes on some devices when preloading the sound effects.
Occasional issue that an Android client can still interoperate in a communication channel when removed from the dashboard.
Failure to enable the hardware encoder on some Android devices.
Occasional crashes on some Android devices when frequently turning on and off the flashlight during a live broadcast.
Occasional crashes on some Android devices when a user frequently changes the Token.
Occasional issue on some Android devices that the users cannot see each other.
Occasional echoes when using a specific audio card.
API Changes
To improve user experience, Agora has cleaned up and made the following changes to its APIs:

To avoid adding too many users with the same UID into the CDN publishing channel, the following API is deleted in v2.3.0, and the type of the return value of addUser is changed from void to int.

setUser
The following APIs are deleted and no longer supported in v2.3.0. Agora provides the Recording SDK for better recording services. For more information on the Recoding SDK, see Release Notes for Agora Recording SDK.

startRecordingService
stopRecordingService
refreshRecordingServiceStatus
The following deprecated APIs are deleted and no longer supported from v2.3.0:

monitorConnectionEvent
monitorBluetoothHeadsetEvent
monitorHeadsetEvent
setPreferHeadset
setSpeakerphoneVolume
Backwards Compatibility Breaking Changes
None.

Known Issues
None.

origin: https://docs.agora.io/en/2.4/product/Voice/Product%20Overview/release_android_audio

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.1 71 6/2/2020
3.0.1-beta1 64 6/2/2020
3.0.0.2 67 5/20/2020
3.0.0.2-beta1 65 4/29/2020
3.0.0-beta3 103 3/25/2020
3.0.0-beta2 89 3/25/2020
3.0.0-beta1 82 3/5/2020
2.9.2.1-beta1 123 12/12/2019
2.9.2 160 10/25/2019
2.9.2-beta1 111 10/23/2019
2.9.1 119 10/9/2019
2.9.1-beta1 111 10/2/2019
2.9.0.1 144 8/18/2019
2.8.1 122 7/21/2019
2.4.1.1 120 7/20/2019
2.4.1.1-beta1 111 7/4/2019
2.4.0.1 273 4/5/2019
2.3.4-beta1 146 4/4/2019
2.3.3 198 1/31/2019
2.3.3-beta1 151 1/31/2019
2.3.1 213 10/30/2018
2.3.0 237 9/4/2018
2.2.3 386 7/10/2018
2.2.2 434 6/22/2018
2.2.1 325 6/1/2018
2.2.0 332 5/21/2018
2.2.0-beta1 317 5/21/2018
2.1.3 303 4/23/2018
2.1.2 392 4/10/2018
2.1.1 609 3/19/2018
2.1.0 372 3/8/2018
2.0.2 426 12/15/2017
2.0.2-beta1 362 12/15/2017
1.14.0 316 10/24/2017
1.14.0-beta1 294 10/24/2017
1.13.1.1-beta1 284 9/29/2017
1.13.1 312 9/29/2017
1.13.1-beta1 289 9/29/2017
1.13.0 331 9/13/2017
1.13.0-beta1 279 9/12/2017
1.12.0 376 8/18/2017
1.12.0-beta1 294 8/18/2017
1.11.1.1 359 7/12/2017
1.11.1.1-beta1 318 7/12/2017
1.11.0.1 519 6/16/2017
1.11.0.1-beta1 331 6/16/2017
1.10.1.1 399 5/25/2017
1.10.1.1-beta1 359 5/25/2017
1.9.1.2 409 5/22/2017
1.8.0.3 427 1/10/2017
1.8.0.1 380 1/5/2017
1.8.0 480 1/5/2017
Show less