Agora. Voice. iOS
Xamarin bindings to the native iOS Agora.io Voice SDK.
See the version list below for details.
Install-Package Xamarin.Agora.Voice.iOS -Version 2.3.0
dotnet add package Xamarin.Agora.Voice.iOS --version 2.3.0
<PackageReference Include="Xamarin.Agora.Voice.iOS" Version="2.3.0" />
paket add Xamarin.Agora.Voice.iOS --version 2.3.0
v2.3.0 (Released Aug 31st, 2018)
An Accelerate.framework library was added to the SDK in v2.3.0, which is capable of large-scale mathemetical computations and image calculations, optimzed for high performance.
The security keys are improved and updated in v2.1.0. If you are using an Agora SDK version earlier than v2.1.0 and wish to migrate to the latest version, see Token Migration Guide.
1. Notifies the user that the Token will expire in 30 seconds
The SDK returns the tokenPrivilegeWillExpire 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 audioTransportStatsOfUid 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. The callback includes the user ID, audio bitrate at the receiver, packet loss rate, and time delay (ms).
3. Sets the SDK’s Control over an Audio Session
The SDK and app both have control over the audio session. However, the app may restrict the SDK’s control over an audio session and allow another app or a third-party component to control it by using the setAudioSessionOperationRestriction method. You can implement different levels of control by choosing the corresponding restriction. You can call this method before or after joining the channel.
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.
Crashes after publishing streams from some iOS devices.
Occasional crashes on some iOS devices.
Crash when a user frequently mutes and resumes all sound effects on some iOS 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 issue on some iOS devices that a user fails to hear any sound after returnning to the channel from a system phone call.
The audience cannot adjust the channel volume on some special occasions.
Occasional crashes when a user frequently joins and leaves the channel.
Occasional crashes when one of the two broadcasters mutes or disables the local audio while playing the background music.
Occasional crashes on the iOS device when the device interoperates with the web and when a Web user frequently joins and leaves a channel.
Occasional crashes on some devices when preloading the sound effects.
Occasional failure to interoperate between an iOS and a macOS device.
Occasional crashes on some iOS devices when a user leaves the live broadcast channel while playing music using a third-party application.
Occasional crashes on some iOS devices when leaving the channel.
Occasional echoes when using a specific audio card.
Failure to adjust the volume on some iOS devices.
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 APIs are added in v2.3.0:
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.
The following deprecated APIs are deleted and no longer supported from v2.3.0:
Backwards Compatibility Breaking Changes
Known Issues and Limitations
To use the startAudioMixing API, ensure that the iOS device is 8.0 or later.
Encryption does not interoperate with the Web SDK (based on Web RTC).
Bluetooth on iPhone 8 is not supported.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.