In this quickstart we are going to get started with Azure Communication Services by using the Communication Services calling client library to add 1 on 1 video calling to your app. You'll learn how to start and answer a video call using the Azure Communication Services Calling client library for iOS.
- Obtain an Azure account with an active subscription. Create an account for free.
- A Mac running Xcode, along with a valid developer certificate installed into your Keychain.
- Create an active Communication Services resource. Create a Communication Services resource.
- Create a User Access Token to instantiate the call client. Learn how to create and manage user access tokens.
- Run the ACSNativeLogsCollector application. ACSNativeLogsCollector.
Please use this guide to install CocoaPods on your Mac.
-
To create a Podfile for your application open the terminal and navigate to the project folder and run pod init.
-
Add the following code to the Podfile and save:
platform :ios, '13.0'
use_frameworks!
target 'VideoCallingQuickstart' do
pod 'AzureCommunicationCalling', '~> 2.8.0'
end
- Run pod install.
##Application workflow with log file sharing
- When user press "Report an issue", a new view will appear to add issue descreption.
- When pressing on "Submit" button, a post method will go to "ACSNativeLogsCollector" application sending the issue descreption and all the .blog files to the machine that hosted that application.
Here is a screenshot that shows the files sent to the ACSNativeLogsCollector, txt file for issue descreption and blog file for the logs.
- Before running the sample, you need to replace the following:
- "<USER_ACCESS_TOKEN>" with the User Access Token you created in prerequisites.
- "<YOUR_DEVTUNNEL_ENDPOINT>" with your devtunnel endpoint URL that will recieve the blog files You can build an run your app on iOS simulator by selecting Product > Run or by using the (⌘-R) keyboard shortcut.

