The Azure SDK team is pleased to announce our December 2021 client library releases.

Beta

  • Communication Calling

Release highlights

Communication Calling 2.1.0-beta.1 Changelog

Features Added

  • The call extended features now are accessed but the feature method call instead of the api like previous versions. Also, you can leverage the class Features to obtain the list of available features like Features.RECORDING and Features.TRANSCRIPTION. Classes RecordingFeature and TranscriptionFeature have been renamed to RecordingCallFeature and TranscriptionCallFeature. More information on Record Calls and Show Transcription state

  • New API to initialize CallClient with CallClientOptions with property DiagnosticOptions with properties appName, appVersion and tags for telemetry purposes to identify which Application is using the SDK.

Bugs fixed

  • Fix for crash when user inputs an invalid teams meeting link. GH#198
  • Fix for CallAgent and CallClient dispose methods takes too long to execute. GH#358 and GH#339
  • Fix for when camera preview is rotating even if the app supports only portrait mode. GH#338
  • Fix for the event didUpdateRemoteParticipant event not firing sometimes when call.AddParticipant API is called by the application.
  • Fix when the camera switch button is pressed several times, the preview of the client’s camera can be blocked.
  • Fix for a freeze when mute/unmute is done when inLobby in a Teams call. GH#276
  • Fix for the warning displayed in XCode when importing the SDK, arm64-apple-ios.swiftsourceinfo either malformed or generated by a different Swift version.
  • Fix for crash when signing out and signing in repeatedly.

Breaking Changes

  1. Call.addParticipant API is now a throwable type when trying to add a participant that is already to the call or when a participant is added to an unconnected call.

Communication Calling 2.2.0-beta.1 Changelog

Features Added

  • Added support for specifying emergency country code when creating CallAgent by setting the property emergencyCountryCode in CallAgentOptions.

Need help

Latest Releases

View all the latest versions of iOS packages here.

Installation Instructions

To install the latest GA and beta libraries, we recommend you use the Swift Package Manager. As an alternative, you may also integrate the libraries using CocoaPods.

Xcode

To add the Azure SDK for iOS to your application, follow the instructions in Adding Package Dependencies to Your App:

With your project open in Xcode 11 or later, select File > Swift Packages > Add Package Dependency… Enter the clone URL of the Swift Package Manager mirror repository for the library you wish to include (it will have the form SwiftPM-<NAME>, i.e.: https://github.com/Azure/SwiftPM-AzureCore.git) and click Next. For the version rule, specify the exact version or version range you wish to use with your application and click Next. Finally, place a checkmark next to each client library you wish to use with your application, ensure your application target is selected in the Add to target dropdown, and click Finish.

Swift CLI

To add the Azure SDK for iOS to your application, follow the example in Importing Dependencies:

Open your project’s Package.swift file and add a new package dependency to your project’s dependencies section, specifying the clone URL of the Swift Package Manager mirror repository and the version specifier you wish to use:

// swift-tools-version:5.3
dependencies: [
    ...

]

Next, add each client library you wish to use in a target to the target’s array of dependencies:

targets: [
    ...
    .target(
        name: "MyTarget",
        dependencies: [

            ...
        ]
    )
]

Cocoapods

CocoaPods is a dependency manager for Objective-C and Swift projects. You can install it with the following command:

$ [sudo] gem install cocoapods

CocoaPods 1.5+ is required.

To integrate one or more client libraries into your project using CocoaPods, specify them in your Podfile, providing the version specifier you wish to use. To ensure compatibility when using multiple client libraries in the same project, use the same version specifier for all Azure SDK client libraries within the project:

platform :ios, '12.0'
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
target 'MyTarget' do
    pod 'AzureCommunicationCalling', '2.1.0-beta.1'
    pod 'AzureCommunicationCalling', '2.2.0-beta.1'
    ...
end

Then, run the following command:

$ pod install

Feedback

If you have a bug or feature request for one of the libraries, please post an issue to GitHub.