Azure SDK for Android (May 2021)
The Azure SDK team is pleased to announce our May 2021 client library releases.
GA
- Azure Communication Services Calling
- Azure Communication Services Common
Installation Instructions
To use the latest GA and beta libraries, refer to the dependency information below, which may be copied into your projects Gradle build.gradle or Maven pom.xml file as appropriate. If you are using a different build tool, refer to its documentation on how to specify dependencies.
Gradle
Java
dependencies {
...
implementation 'com.azure.android:azure-communication-calling:1.0.0'
implementation 'com.azure.android:azure-communication-common:1.0.0'
}
Kotlin
dependencies {
...
implementation("com.azure.android:azure-communication-calling:1.0.0")
implementation("com.azure.android:azure-communication-common:1.0.0")
}
Maven
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-calling</artifactId>
<version>1.0.0</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-common</artifactId>
<version>1.0.0</version>
<type>aar</type>
</dependency>
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Release highlights
Azure Communication Services Calling
1.0.1-beta.1 (Changelog)
New Features:
- Teams meeting interop features post GA release are included in this release and are currently in
Previewmode.
1.0.0 (Changelog)
New Features:
- Gson is now a transitive dependency and is not needed to be pulled in separately.
VideoStreamRenderer.createView()now usesScalingMode.CROPby default.
Bug fixes
CallEndReasonis correctly populated uponCalltermination.
Breaking API changes
- Teams meeting interop features have been removed and will NOT be available from the official drop as this capability is currently in
Previewmode. Please use libraries marked with the-betasuffix for these features.
1.0.0-beta.10 (Changelog)
New Features
DeviceManagerobtention is decoupled fromCallAgentcreation.- Added
OnIsMutedevent to theCallclass. The event will be triggered when the call is locally or remotely muted.
Breaking Changes
- Blocked
CallAgentcreation with same user. - Renamed multiple properties and methods:
Callclass:- Renamed method
getCallDirection()togetDirection() - Renamed method
isMicrophoneMuted()toisMuted()
- Renamed method
- Method
startVideo(LocalVideoStream)now takes an additional context object for permission check and is nowstartVideo(Context, LocalVideoStream). - Method
stopVideo(LocalVideoStream)now takes an additional context object for permission check and is nowstopVideo(Context, LocalVideoStream). - Method
mute()now takes an additional context object for permission check and is nowmute(Context). - Method
unmute()now takes an additional context object for permission check and is nowunmute(Context).
Bug Fixes
- Fixed an issue causing crashes when another guest user joins a Teams meeting with video on.
- Turning the local video off/on no longer quickly shows a blank local video.
- Answering an incoming call with video now properly renders the receiver’s video stream.
- The video stream of remote participants from a web client is now centred/cropped on Android.
OnRemoteParticipantsUpdatedevent no longer updates the participant state toIdlewhen the participant isInLobby.- Speaking Change Listeners are no longer triggered unexpectedly.
Call.AddParticipant(...)no longer fails with aNullPointerException.- Permission checks of SDK APIs have been fixed to respect only the required permission.
Azure Communication Services Common
1.0.0 (Changelog)
Need help
- For reference documentation visit the Azure SDK for Android documentation.
- For tutorials, samples, quick starts and other documentation, visit the Azure SDK for Android repository.
- File an issue via Github Issues.
- Check previous questions or ask new ones on
StackOverflow using the
azure-android-sdktag.
Latest Releases
View all the latest versions of Android packages here.